[Bug 96676] Re: function keys don't work in gnome-terminal

2010-11-05 Thread NevemTeve
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 ma

[Bug 96676] Re: function keys don't work in gnome-terminal

2010-02-01 Thread NevemTeve
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-termi

[Bug 96676] Re: function keys don't work in gnome-terminal

2010-01-29 Thread NevemTeve
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=xte

[Bug 96676] Re: function keys don't work in gnome-terminal

2010-01-29 Thread NevemTeve
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" = x"xterm" ]; then export TERM="xterm-vte"; fi --

[Bug 96676] Re: function keys don't work in gnome-terminal

2010-01-29 Thread NevemTeve
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 =