xterm-color and keyboard sequences
Brought to you by:
demichel
Changes:
1) mgt normally is a color terminal one so I suggest
xterm-color TERM setting
2) Mod1 + key generates ESC + key but not for keypad
and editing keys so patch changes it to generate ESC
and appropriate sequence i.e. ESC ESC [ A for ALT UP for
example
3) I suggest BS generate \177 and DEL \e[3~
to difference ^H from keyboard
4) F1..F4 to \e[11~...\e[14
Suggestions:
ad. 1), 3) and 4) it should be options (if someone wants
VT100 backward compatibility)
ad. 2) maybe it should be an option too, but I like if
all keys
can be ESC'ed using Mod1 modifier like in rxvt too get
more combinations in editor and bash command line
- word skip, delete, etc...
Regards
Adam Tla&#322;ka <atlka@pg.gda.pl>
small diff to gnometerm