Cannot run Far from Git Bash

You have encountered a problem using Far Manager? Here you can get help.
Post Reply
mr_z
Posts: 1
Joined: Wed 18 Nov, 2015 08:36

Cannot run Far from Git Bash

Post by mr_z »

Hi,

I upgraded to latest version of Git Bash 64-bit. Now I can't start Far from Git Bash. Far starts but the UI is not displayd on the screen, it hangs. I can see that the process has started in the Task Manager.

Git version: 2.6.3.windows.1
Far: v3.0 4455 x64

It used to work before, when running a 32-bit setup. I don't know if that matters though.

Does anyone have an idea?

Regards
siberia-man
Posts: 131
Joined: Sat 28 Jun, 2014 23:07
Has thanked: 2 times
Been thanked: 9 times

Cannot run Far from Git Bash

Post by siberia-man »

Do an attempt to launch FAR with WinPTY.
https://github.com/rprichard/winpty
Karagy
Posts: 57
Joined: Tue 02 May, 2006 08:43
Location: Питер
Been thanked: 3 times

Cannot run Far from Git Bash

Post by Karagy »

See https://github.com/git-for-windows/git/wiki/FAQ , section "Some native console programs don't work when run from Git Bash. How to fix it?" .
gene.pavlovsky
Posts: 173
Joined: Tue 16 Feb, 2010 17:55
Location: Luxembourg
Has thanked: 13 times
Been thanked: 9 times
Contact:

Cannot run Far from Git Bash

Post by gene.pavlovsky »

PuTTY connecting to Cygwin (ssh)

Code: Select all

# winpty far
Error 0x2 starting far
2useven10
Posts: 5204
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 18 times
Been thanked: 310 times

Cannot run Far from Git Bash

Post by 2useven10 »

0x2 -- The system cannot find the file specified.
Может надо указать полный путь?
gene.pavlovsky
Posts: 173
Joined: Tue 16 Feb, 2010 17:55
Location: Luxembourg
Has thanked: 13 times
Been thanked: 9 times
Contact:

Cannot run Far from Git Bash

Post by gene.pavlovsky »

Блин, чувствую себя идиотом. Из фара фар запускается, вот я всегда и думал, что где-то он в PATH прописан, а ведь нет же.
Указал полный путь, фар запустился. На первый взгляд вроде всё работает, особо правда не тестировал.

Bottom line: install winpty, run far like this: winpty '/cygdrive/c/Program Files/Far3/far.exe'
Works for me. If far.exe is in your PATH, no need for full path, just run: winpty far
gene.pavlovsky
Posts: 173
Joined: Tue 16 Feb, 2010 17:55
Location: Luxembourg
Has thanked: 13 times
Been thanked: 9 times
Contact:

Cannot run Far from Git Bash

Post by gene.pavlovsky »

2useven10 wrote:0x2 -- The system cannot find the file specified.
Может надо указать полный путь?
Спасибо за наводку. Я чего-то не подумал, где искать код ошибки, в фаре или в winpty. Вообще блин, сложно им что ли сразу выдать error message, уже не в тот век живём вроде бы, чтоб кормить пользователей неинформативными кодами, которые потом где-то искать надо, как расшифровываются.
Post Reply

Return to “Support and Troubleshooting”