-
Notifications
You must be signed in to change notification settings - Fork 173
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
Bring tty version to functional parity with wx version as close as possible #1101
Comments
It will never be just like, and these small lacks there and here will kill all taste of FAR:) FAR is good not cuz to its FAR, but cuz has many little things that makes life easier - spirit of (old good) Windows apps that was lost sometime/sometime :( Just few examples: BTW far2l is TUI application regardless if it uses GUI(WX) or TTY backend. |
Of course, it's best to keep maximum of the UX of Windows Far, and it makes sense to offer wx version by default in all cases then X is available. At the same time, we already offer a tty mode, and if this mode spoils the impression of far2l, it will hardly spoil it more with xclip support for example :) |
I'm used FAR in drop-down, quake-style terminals - both on Windows and on Linux. The WX version cannot be integrated into such terminals in any way. Therefore, I fully support the author of the topic - it would be very good if the headlights for the terminal were as close as possible to the supported functions with the WX version. |
X interactions in TTY mode (clipboard, keyboard modifiers probing) are complete! |
…rotocol improvements; classic TTY - shape of cursor (touch #1101)
window management (maximization, etc): |
Ctrl[+Shift]+digits now working in terminals in new ttyxi mode, great! NB, for slow/unstalbe connections it's better to run remote far2l inside local far2l to use far2l terminal extensions for smoother input. |
Now possible at least for: Details here: #1575 |
Implemented in #2528 |
GNOME developers are open to add some advanced keyboard protocol in GNOME Terminal: |
First post updated. Actual Usage Stats (Multi-Choice Poll) |
Ubuntu 24.04 LTS has two more terminal emulators with kitty keyboard protocol support: |
Some users do not want to leave their preferred terminal apps. Making tty version better will bring greater experience for such users, spreading far2l usage wider. Most of this work is already done, but there are still some minor issues left.
✓ Complex hotkeys, like Ctrl+Shift+arrows. Already supported in terminal. Single ESC press — also supported.
More complex hotkeys: needs terminals support
❗GNOME — GNOME Terminal, uses GNOME VTE, https://gitlab.gnome.org/GNOME/vte/-/issues/2601
❗KDE — Konsole, https://bugs.kde.org/show_bug.cgi?id=484044
❗XFCE — xfce4-terminal, uses GNOME VTE
❗LXDE — LXTerminal, uses GNOME VTE
❗LXQT — qterminal, ?
keydown/keyup events — Isn't this functionality used in far2l for F* key suggestions only?
Needs terminal support, see links above.
✓ Can be solved by capturing X input, see better keyboard support in ttyx mode #1126
✓ Possible in some terminals, see support "rich keyboard" protocols by iTerm2/kovidgoyal's kitty/Windows Terminal #1575
❗kitty users need some help on freeing some hotkeys:
on first start of far2l in kitty display help on freeing some hotkeys #2551
Allow kitty users to enable handling of Ctrl + navigation keys by far2l in a single key press #2562
❗Help on kitty config should be in locale-specific language
Detect language automatically on 1st run #2561
✓problems with putty4far2l under Wine, fixed in recent putty4far2l by unxed
https://bugs.winehq.org/show_bug.cgi?id=57513
✓ Mouse. Also already works in terminal.
✓ Some terminal apps and DEs intercept some hotkeys used by far2l. It may be disabled in their settings (instructions on doing this may be added to far2l help optionally).
See https://github.com/elfmz/far2l/pull/2291
✓ https://github.com/unxed/far2ltricks/tree/main/unbindkeys
✓ X clipboard access
fallback to xclip as clipboard access method in TTY backend if far2l extensions are not available #810
Fallback clipboard set method is
OSC 52
support OSC 52 clipboard access escape sequences #641
❗ttyx module replacement for Wayland API
ttyx module replacement for Wayland API #2040
✓ Desktop notifications
✓ Fall back to
notify-send
if far2l extensions are not available✓ Via ssh: connect by ssh inside locally started far2l
❗Also possible via ESC sequences in some terminals:
use ESC sequences to send notifications in tty if notify-send is not available #2537
❗putty4far2l and KiTTY also need notifications support:
Implement system tray notifications ivanshatsky/putty4far2l#8
Implement system tray notifications unxed/putty4far2l#6
Fixed cross-compilation on Linux; tray notifications support for far2l; fix far2l under Wine cyd01/KiTTY#536
✓ Cursor shape. There are escape seqs for modifying it:
https://unix.stackexchange.com/questions/49485/escape-code-to-change-cursor-shape
https://iterm2.com/documentation/2.1/documentation-escape-codes.html
❗Setting cursor type in Linux kernel console (and probably in iTerm2):
better cursor shaping support #2572
❗Setting cursor type in FreeBSD kernel console:
Support cursor shaping in FreeBSD kernel console #2571
Maybe we should make default cursor size 2px or 3px as in wx version, not 1px. Possible in kernel consoles only
❌ BeginConsoleAdhocQuickEdit, GetLargestWindowSize, SetConsoleWindowMaximized
❌ BeginConsoleAdhocQuickEdit — can be done by terminal emulators theirselves
❌ GetLargestWindowSize, SetConsoleWindowMaximized —
Possible in xterm:
https://invisible-island.net/xterm/ctlseqs/ctlseqs.html (look for "Window manipulation" string)
❌ kitty issue: Support Window manipulation ESC sequences kovidgoyal/kitty#8107
SetFKeyTitles
❗implement "Set Touch Bar Key Labels" for iTerm2 #2549
The text was updated successfully, but these errors were encountered: