*** empty log message ***
[dana/urxvt.git] / doc / etc / XTerm.ad
1 ! Put this into ~/.Xdefaults, or to app-defaults/XTerm or wherever
2 ! xrm will loaded it.
3 !
4 ! This will match the key sequences for a regular xterm to those used
5 ! by rxvt and the enclosed termcap and terminfo files.
6 !
7 ! As usual, the most annoying xterm keys are Home/End and the ubiquitous
8 ! BackSpace/Delete confusion.
9
10 XTerm*vt100.translations: #override \
11         <Key>BackSpace: string("\010") \n\
12         Shift<Key>Tab:  string("\033[Z") \n\
13         Ctrl<Key>minus: string("\037") \n\
14         <Key>Home:      string("\033[1~") \n\
15         <Key>End:       string("\033[4~") \n\
16         <Key>Delete:    string("\033[3~") \n\
17         Shift<Key>Delete:       string("\177") \n\
18         Ctrl<Key>Delete:        string("\010") \n\
19         Alt<Key>Return: string("\033\015") \n\
20         Alt<Key>space:  string("\033\040") \n\
21         Alt<Key>a:      string("\033a") \n\
22         Alt<Key>b:      string("\033b") \n\
23         Alt<Key>c:      string("\033c") \n\
24         Alt<Key>d:      string("\033d") \n\
25         Alt<Key>e:      string("\033e") \n\
26         Alt<Key>f:      string("\033f") \n\
27         Alt<Key>g:      string("\033g") \n\
28         Alt<Key>h:      string("\033h") \n\
29         Alt<Key>i:      string("\033i") \n\
30         Alt<Key>j:      string("\033j") \n\
31         Alt<Key>k:      string("\033k") \n\
32         Alt<Key>l:      string("\033l") \n\
33         Alt<Key>m:      string("\033m") \n\
34         Alt<Key>n:      string("\033n") \n\
35         Alt<Key>o:      string("\033o") \n\
36         Alt<Key>p:      string("\033p") \n\
37         Alt<Key>q:      string("\033q") \n\
38         Alt<Key>r:      string("\033r") \n\
39         Alt<Key>s:      string("\033s") \n\
40         Alt<Key>t:      string("\033t") \n\
41         Alt<Key>u:      string("\033u") \n\
42         Alt<Key>v:      string("\033v") \n\
43         Alt<Key>w:      string("\033w") \n\
44         Alt<Key>x:      string("\033x") \n\
45         Alt<Key>y:      string("\033y") \n\
46         Alt<Key>z:      string("\033z") \n\
47         Ctrl<Key>Up:            string("\033Oa") \n\
48         Ctrl<Key>Down:          string("\033Ob") \n\
49         Ctrl<Key>Right:         string("\033Oc") \n\
50         Ctrl<Key>Left:          string("\033Od") \n\
51         Shift<Key>Up:           string("\033[a") \n\
52         Shift<Key>Down:         string("\033[b") \n\
53         Shift<Key>Right:        string("\033[c") \n\
54         Shift<Key>Left:         string("\033[d") \n
55
56 !EOF