28 lines
453 B
Text
28 lines
453 B
Text
|
typeset -g -A key
|
||
|
|
||
|
key[F1]='^[OP'
|
||
|
key[F2]='^[OQ'
|
||
|
key[F3]='^[OR'
|
||
|
key[F4]='^[OS'
|
||
|
key[F5]='^[[15~'
|
||
|
key[F6]='^[[17~'
|
||
|
key[F7]='^[[18~'
|
||
|
key[F8]='^[[19~'
|
||
|
key[F9]='^[[20~'
|
||
|
key[F10]='^[[21~'
|
||
|
key[F11]='^[[23~'
|
||
|
key[F12]='^[[24~'
|
||
|
key[Backspace]='^?'
|
||
|
key[Insert]='^[[2~'
|
||
|
key[Home]='^[[H'
|
||
|
key[End]='^[[F'
|
||
|
key[PageUp]='^[[5~'
|
||
|
key[Delete]='^[[3~'
|
||
|
key[End]=''''
|
||
|
key[PageDown]='^[[6~'
|
||
|
key[Up]='^[[A'
|
||
|
key[Left]='^[[D'
|
||
|
key[Down]='^[[B'
|
||
|
key[Right]='^[[C'
|
||
|
key[Menu]='^[[29~'
|