Cannot run Far from Git Bash

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

Cannot run Far from Git Bash

Postby mr_z » Wed 18 Nov, 2015 08:43

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: 68
Joined: Sat 28 Jun, 2014 23:07
Been thanked: 1 time

Cannot run Far from Git Bash

Postby siberia-man » Wed 18 Nov, 2015 10:01

Do an attempt to launch FAR with WinPTY.
https://github.com/rprichard/winpty

Karagy
Posts: 56
Joined: Tue 02 May, 2006 08:43
Location: Питер
Been thanked: 3 times

Cannot run Far from Git Bash

Postby Karagy » Sat 21 Nov, 2015 20:01

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: 157
Joined: Tue 11 Aug, 2015 16:53
Has thanked: 11 times

Cannot run Far from Git Bash

Postby gene.pavlovsky » Fri 22 Apr, 2016 11:47

PuTTY connecting to Cygwin (ssh)

Code: Select all

# winpty far
Error 0x2 starting far

2useven10
Posts: 2833
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 2 times
Been thanked: 72 times

Cannot run Far from Git Bash

Postby 2useven10 » Fri 22 Apr, 2016 13:00

0x2 -- The system cannot find the file specified.
Может надо указать полный путь?

gene.pavlovsky
Posts: 157
Joined: Tue 11 Aug, 2015 16:53
Has thanked: 11 times

Cannot run Far from Git Bash

Postby gene.pavlovsky » Sun 24 Apr, 2016 20:13

Блин, чувствую себя идиотом. Из фара фар запускается, вот я всегда и думал, что где-то он в 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: 157
Joined: Tue 11 Aug, 2015 16:53
Has thanked: 11 times

Cannot run Far from Git Bash

Postby gene.pavlovsky » Sun 24 Apr, 2016 20:16

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


Return to “Support and Troubleshooting”

Who is online

Users browsing this forum: No registered users and 2 guests