* lib/mc.lib: Add xterm arrows both for application and normal

mode.  Normal mode can be accidentally enabled if one mc is run
from another and Ctrl-O is used to switch between them.
Add F11-F20 definitions for cons25 (FreeBSD console).
This commit is contained in:
Pavel Roskin 2003-03-03 08:05:49 +00:00
parent b9081640b0
commit 6747ef213e
2 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2003-03-03 Pavel Roskin <proski@gnu.org>
* lib/mc.lib: Add xterm arrows both for application and normal
mode. Normal mode can be accidentally enabled if one mc is run
from another and Ctrl-O is used to switch between them.
Add F11-F20 definitions for cons25 (FreeBSD console).
2003-02-27 Juan C. Olivares <juancri@TAGnet.org>
* syntax/cs.syntax: New file.

View File

@ -105,6 +105,16 @@ f18=\e[19;2~
f19=\e[20;2~
f20=\e[21;2~
# Arrows for both keypad modes (application and normal).
up=\e[A
up=\eOA
down=\e[B
down=\eOB
right=\e[C
right=\eOC
left=\e[D
left=\eOD
[terminal:xterm-color]
insert=\e[2~
f11=\e[23~
@ -155,3 +165,15 @@ end=\e[F
kpplus=\e[+
kpminus=\e[-
kpasterix=\e[*
[terminal:cons25]
f11=\e[Y
f12=\e[Z
f13=\e[a
f14=\e[b
f15=\e[c
f16=\e[d
f17=\e[e
f18=\e[f
f19=\e[g
f20=\e[h