Subject: Escape Sequence KeyCode Translation

Description :

. Motif에서

# vi $HOME/.Xdefaults

*Xterm.Translations: #override \
   ShiftF3:        string(0x1b) string("[25~") \n\
   ShiftF4:        string(0x1b) string("[26~") \n\
   ShiftF5:        string(0x1b) string("[28~") \n\
   ShiftF6:        string(0x1b) string("[29~") \n\
   ShiftF7:        string(0x1b) string("[31~") \n\
   ShiftF8:        string(0x1b) string("[32~") \n\
   ShiftF9:        string(0x1b) string("[33~") \n\
   ShiftF10:       string(0x1b) string("[34~") \n\
    F1:            string(0x1b) string("OP") \n\
    F2:            string(0x1b) string("[225z") \n\
    F3:            string(0x1b) string("[226z") \n\
    F4:            string(0x1b) string("[227z") \n\
    F5:            string(0x1b) string("[228z") \n\
    F6:            string(0x1b) string("[229z") \n\
    F7:            string(0x1b) string("[230z") \n\
    F8:            string(0x1b) string("[19~") \n\
    F9:            string(0x1b) string("[20~") \n\
    F10:           string(0x1b) string("[21~") \n\
    F11:           string(0x1b) string("[23~") \n\
    F12:           string(0x1b) string("[24~") \n\
    F35:           string(0x1b) string("[50~") \n\
    F31:           string(0x1b) string("[51~") \n\
    F29:           string(0x1b) string("[9b~") \n\

. Openwin에서

# vi $HOME/.ttyswrc

mapi F1		\EOP
mapi F2		\EOQ
mapi F3		\EOR
mapi F4		\EOS
mapi F5		\EOT
mapi F6		\EOU
mapi F7		\EOV
mapi F8		\EOW
mapi F9		\EOX
mapi F10	\EOY
mapi F11	\EOZ
mapi F12	\EOA

mapi R1		\E[208z
mapi R2		\E[209z
mapi R3		\E[210z
mapi R4		\E[211z
mapi R5		\E[212z
mapi R6		\E[213z
mapi R7		\E[214z
mapi R9		\E[216z
mapi R11	\E[218z
mapi R13	\E[220z
mapi R15	\E[222z

mapi L2		\E[193z
mapi L3		\E[194z
mapi L4		\E[195z

Revision History

작성일자 : 97.2.14
작성자 : 이민호

~