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
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
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
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
--
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 =