-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation failed under Debian 9.8 (X11 needed??) #583
Comments
Configure with -DUSEWX=no if dont want GUI mode. |
Thank you very match for the answer, it was successfully compiled and works as described above: many of keyboard shortcuts are unavailable.
Is it possible to link in a such manner Windows Far and Linux Far? |
Nope, but it theoretically possible to run far2l under Windows/wsl/x11: https://www.scivision.dev/x11-gui-windows-subsystem-for-linux/ |
Is it theoretically possible to write Far for Windows plugin that will intercept keypresses and translate them to far2l-compatible escape sequences for openssh command line client running under Far for Windows? :) |
Well, its possible by adding terminal emulator (with far2l extensions) into NetBox plugin. If someone really need it - he may try to do this :) |
About pervertions. I've just managed to compile&run under cygwin far2l with Blackjack and NetRocks. And connected to Linux and ran remote far2l inside. |
not to click by hands:
If you have problems with keyboard layout switching, add something like
to .XWinrc file in your cygwin home folder (you may need to create that file if not exists). |
Can wx be tuned to use native GDI instead of x11 on windows? |
Original FAR's folks not happy about far2l, so patching cygwin to use GDI directly looks more feasible:) |
As I can see in NetBox issue, I've got a problem with explanation, that do we really need from NetBox:
Patching cygwin, not cygwin's wx? o_O Anyway, windows far2l port is the thing that I predicted months ago))) Cross platform Far is more tasty thing than windows-only features like ntfs streams :) And all of those can be backported from upstream if needed by anyone. As for console emulation with wx instead of native console, it's actually not a problem on modern machines. In addition, another backend, "windows console" can also be added, like wx and tty. Btw, how does far2l --tty behave under cygwin? Does it work inside console as needed? What about hot keys? |
Badly, in overall not better that in Linux/bash, but (i didnt tested throughouly) it also looks that cygwin terminal has own special bugs :) |
Maybe this one serves better?
Btw, maybe we can rename this issue to "cygwin port" or place this comment in a wiki howto page? Using remote far2l from windows via cygwin is nice option nobody actually knows about :) |
People are already doing that actually :) |
Look... Linux servers, where terminal client access from Windows is appreciated using FAR, don't need Xs. Setup X11 (seems that cygwin much lighter, but still...), setup X11 only for FAR results in loosing resources and getting a bunch of dependencies, not worthing the goal. So... question is as is. Posts with X11 screenshots aren`t helping to solve the issue anyway. So... Netbox and SSH stay the only option for now. Not functional enough, but... the only one. Cause linux terminal isn't catching all keyboard shortcuts. That is. The question may be closed, other discussions are far away from the main point: FAR (far2l) is not a terminal app for Linux. Here goes a big and sad smiley. |
My usual usecase of far2l via SSH is
Since unxed made patched putty version same experience now also possible from Windows on client-side too. Also me didn't test it well |
I'm using this method literally every day :)
According to habr, some people are already using it (github clone stats says the same), still no issues on github currently. I'm surprised that so rough code can do the job well enough. |
It is interesting, of course, how the TTY|Xi backend would behave in cygwin. Would you get a normal input, or not? |
If start X server under cygwin - then may be it will work.. |
What is the difference between starting X server under cygwin and using windows native X server like XMing in this case?
Very strange. Maybe DISPLAY variable should be set or something like this? |
Btw, since ModifyOtherKeys is supported in cygwin's mintty, we can seriously improve UX in cygwin by supporting this keyboard protocol extension also. Try out in xterm:
UPD: Implemented in #2629 UPD2: Can even be used in ancient far2l using kitty seqs parser. mintty supports "format other keys" option also. |
The following packages have unmet dependencies:
libgl1-mesa-dev : Depends: x11proto-dri2-dev (>= 2.6)
Depends: x11proto-gl-dev (>= 1.4.14)
E: Unable to correct problems, you have held broken packages.
Does it need X11?
Far was (!) and is (!) a console program under Windows, not desktop one. So I supposed to run it as MC, with no X installed. Far is often used in administration purposes, so running in console is essentially important. Most servers don`t need X installed: it is a bad practice, causing unwanted troubles.
Such a change in the whole paradigm of the application... makes it a Total Commander or so, isn't it?
The text was updated successfully, but these errors were encountered: