[Bug 96676] Re: function keys don't work in gnome-terminal
The problem doesn't seem to solve itself; I'd suggest using xterm, rxvt or konsole. -- function keys don't work in gnome-terminal https://bugs.launchpad.net/bugs/96676 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 96676] Re: function keys don't work in gnome-terminal
My last suggestion (unconditionally change environment TERM from 'xterm' to 'xterm-vte') is a bit rude. How could I do it more nicely? If it were rxvt or xterm, it would be the simplest: cat ~/.Xdefaults: XTerm.termName=xterm-vte Rxvt.termName=xterm-vte xrdb ~/.Xdefaults But alas, gnome-terminal seems to not use resources, it has an own XML- based configuration system. -- function keys don't work in gnome-terminal https://bugs.launchpad.net/bugs/96676 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 96676] Re: function keys don't work in gnome-terminal
Once upon a time I back-tracked the problem, and it was somewhere really deep in gnome/widgets/vte/src/keymap.c:_vte_keymap_key_add_key_modifiers -- it has an algorithm to hack function-key-codes, when SHIFT pressed, eg: F1 = ESC O P Shift+F1 = ESC [ O 1 ; 2 P should be= ESC O 2 P (Shift + F11 = F13 -- (why not F11? dunno.)) It should be completely rewritten (nobody volunteered yet?), or a new terminal-type should be defined which is compatible with these sequences. -- function keys don't work in gnome-terminal https://bugs.launchpad.net/bugs/96676 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 96676] Re: function keys don't work in gnome-terminal
It could be something like this: http://web.axelero.hu/lzsiga/xterm- vte.sh then in /usr/share/mc/mc.lib: [terminal:xterm-vte] copy=xterm f11=\eO1;2P f12=\eO1;2Q f13=\eO1;2R f14=\eO1;2S and finally: somewhere in .bashrc or else: if [ x$TERM = xxterm ]; then export TERM=xterm-vte; fi -- function keys don't work in gnome-terminal https://bugs.launchpad.net/bugs/96676 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 96676] Re: function keys don't work in gnome-terminal
A little addition: in my debian lenny Shift+F1 produces: on tty: terminal=linux SF1=ESC[23~ infocmp=kf11 (my own setting) on rxvt: terminal=rxvt SF1=ESC[23~ infocmp=kf11 (very good (for mc, at least)) on xterm: terminal=xterm SF1=ESC[1;2P infocmp=no such sequence!!! on gnome-terminal: terminal=xterm SF1=ESC01;2P infocmp=no such sequence!!! on gnome-terminal: terminal=xterm-vte SF1=ESC01;2P infocmp=kf13 (acceptable, if not intuitive) -- function keys don't work in gnome-terminal https://bugs.launchpad.net/bugs/96676 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs