1 hurd|The GNU Hurd console server,
3 # We use 8-bit characters
5 # Although we don't do XON/XOFF, we don't want padding characters.
10 # Note about compatibility to vt100: We don't specify <xenl>, as we
11 # don't have the eat_newline_glitch. We don't support setting or
12 # removing tab stops (hts/tbc).
14 # Cursor related capabilities.
17 # We have automatic margins.
19 # We wrap around the left edge.
21 # Carriage return and newline.
23 # Move cursor to home position (to position P1, P2).
24 home=\E[H, cup=\E[%i%p1%d;%p2%dH,
25 # Move cursor one character (P1 characters) backwards.
26 # We use ^H instead \E[D for cub1, as only ^H implements <bw> and it
27 # is one byte instead three.
28 cub1=^H, cub=\E[%p1%dD,
29 # Move cursor one line (P1 lines) downwards.
30 cud1=\E[B, cud=\E[%p1%dB,
31 # Move cursor one character (P1 characters) forwards.
32 cuf1=\E[C, cuf=\E[%p1%dC,
33 # Move cursor one line (P1 lines) upwards.
34 cuu1=\E[A, cuu=\E[%p1%dA,
35 # Set horizontal (vertical) cursor position to P1.
36 hpa=\E[%i%p1%dG, vpa=\E[%i%p1%dd,
37 # Save (restore) cursor position.
39 # Set the scrolling region to lines P1 to P2.
40 csr=\E[%i%p1%d;%p2%dr,
42 # Modifying cursor attributes.
43 # Make cursor invisible, very visible or normal.
44 civis=\E[?25l, cvvis=\E[34l, cnorm=\E[?25h,
47 # We have tabulator stops every eight rows.
49 # Move cursor to next tabulator stop.
51 # Move cursor to previous tabulator stop.
53 # XXX When we implement this.
54 # Set tab stop in the current column of every row.
56 # Delete all tab stops.
60 # Screen editing capabilities.
63 # Clear to end of screen.
65 # Clear to end (beginning) of line.
68 # Insert one character (P1 characters).
69 # <ich1> not included because we have insert mode.
72 # Enter (leave) insert mode.
73 smir=\E[4h, rmir=\E[4l,
74 # It is save to move when in insert mode.
76 # Delete one character (P1 characters).
77 dch1=\E[P, dch=\E[%p1%dP,
78 # Erase the next N characters.
80 # Insert one line (P1 lines).
81 il1=\E[L, il=\E[%p1%dL,
82 # Delete one line (P1 lines).
83 dl1=\E[M, dl=\E[%p1%dM,
84 # Scroll the whole screen one line (P1 lines) upwards. We don't use
85 # ^J, because this could put things into the scrollback buffer.
86 ind=\E[S, indn=\E[%p1%dS,
87 # Scroll the whole screen one line (P1 lines) downwards.
88 rin=\E[%p1%dT, ri=\E[T,
94 # Flash the screen (visible bell).
98 # Keycodes for special keys.
101 # Keycode for left, down, right and up arrow key.
102 kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
103 # Keycodes for function keys.
104 kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[15~,
105 kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
106 kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
107 kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
108 kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,
109 # Keycode for backtab key.
111 # Keycode for suspend key.
113 # Keycode for home (insert, delete, end) key.
114 khome=\E[1~, kich1=\E[2~, kdch1=\E[3~, kend=\E[4~,
115 # Keycode for previous (next) page key.
116 kpp=\E[5~, knp=\E[6~,
117 # Keycode for center of keypad area.
119 # Mouse event has occured.
122 # Text attribute capabilities.
123 acsc=++\,\,--..00ii``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
126 # We erase the screen with the current background color.
128 # Number of colors and color pairs at the same time.
131 # Video attributes colliding with color.
132 # ORed: A_STANDOUT 1, A_UNDERLINE 2, A_REVERSE 4, A_BLINK 8, A_DIM 16,
133 # A_BOLD 32, A_INVIS 64
134 # We don't define this as we do our own display optimization,
135 # depending on the display driver. Alternatively, we could provide
136 # different terminfo entries.
138 # Set background (foreground) color.
139 setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
140 # Set default color pair to its original value.
144 # Overstrikes are erasable with a blank.
146 # It is save to move when in standout mode.
148 # Enable dim (blinking, bold, invisible, reverse) attribute.
149 dim=\E[2m, blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m,
150 # Enable (disable) standout mode.
151 smso=\E[7m, rmso=\E[27m,
152 # Enable (disable) underline mode.
153 smul=\E[4m, rmul=\E[24m,
154 # Enable (disable) italic mode.
155 sitm=\E[3m, ritm=\E[23m,
156 # Enable (disable) real bold (not intensity bright) mode. This is a
158 gsbom=\E[>1h, grbom=\E[>1l,
159 # Enable (disable) alternative character set.
160 smacs=\E[11m, rmacs=\E[10m,
161 # Set all attributes.
162 sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
163 # Reset all attributes.