- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fix for Home, End, Shift+Fn problems under screen/tmux #2978
Comments
|
It turned out that on 4.8.7 (at least) - 4.8.9 even Home and End keys don't work under tmux (tmux-1.8). |
It looks like this fix doesn't break anything, but helps for some terminals:
TERM=linux (linux console): Fixes shift+Fn for tmux.
TERM=rxvt-unicode (urxvt): Fixes shift+Fn for tmux.
TERM=xterm (xfce4-terminal, gnome-terminal, guake): Fixes shift+Fn for screen and tmux.
TERM=xterm (xterm): Fixes Home, End, Shift+Fn for tmux. |
Branch: 2978_tmux_keys |
|
|
sknaumov, awesome, thanks! your hack works for me. |
Would be good to also add
[terminal:screen-256color]
It will fix shift+Fn for 256-color mode of tmux (tested) and likely 256-color mode of screen (not tested). |
Important
This issue was migrated from Trac:
sknaumov
(sknaumov@….com)tmux
,screen
,Shift+Fn
Many people write about problems with Shift+Fn keys in mc under screen/tmux. I think, that the easiest way to prevent further hassles is to include following strings into /usr/share/mc/mc.lib:
[terminal:screen]
copy=xterm
I've tested it on mc-4.8.7 under screen and tmux.
Maybe similar thing has to be done for screen-256color, but I haven't tested it.
The text was updated successfully, but these errors were encountered: