Comment 64 for bug 96676

NevemTeve (lzsiga) wrote :

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