ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/etc/XTerm.ad
Revision: 1.1
Committed: Mon Nov 24 17:28:08 2003 UTC (20 years, 7 months ago) by pcg
Branch: MAIN
CVS Tags: rel-2_1_0, rel-4_8, rel-5_0, rel-4_4, rel-4_6, rel-4_7, rel-4_0, rel-4_1, rel-4_2, rel-4_3, rel-3_7, rel-3_6, rel-3_5, rel-3_4, rel-3_3, rel-3_2, rel-2_8, rel-3_0, rel-2_7, rel-2_4, rel-2_5, rel-2_2, rel-2_3, rel-2_0, rel-3_8, rel-1-9, stable, rel-1-3, rel-1-2, rxvt-2-0, rel-1_9, rel-4_9
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 pcg 1.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