source: trunk/mindi/rootfs/etc/termcap @ 1

Last change on this file since 1 was 1, checked in by bcornec, 14 years ago

Initial import from latest mondo-2.04_cvs_20050503/mindi-1.04_cvs_20050503 on http://www.mondorescue.org

File size: 7.7 KB
Line 
1# [Slackware note:  If you're looking for a big, full-featured termcap
2#  you can find one on any Slackware FTP site or CD-ROM, as the file
3#  source/a/etc/termcap-huge ]
4#
5# From: miquels@drinkel.ow.org (Miquel van Smoorenburg)
6#
7# Okay guys, here is a shorter termcap that does have most
8# capabilities and is ncurses compatible. If it works for you
9# I'd like to hear about it.
10#
11# Some entries in termcap 2.0.7 are too long and your programs
12# may complain "tgetent: warning: termcap entry too long". Here is
13a smaller termcap. But it may not cover as many terminals as the one
14# in termcap 2.0.7. You can install it as /etc/termcap.
15#
16# termcap   Termcap entries for the VT family.
17#       All termcap entries have been freed of the 'ks' and
18#       'ke' entries, that put the keypad into applications
19#       mode. This is a generally misused entry, not ment
20#       for the vt100 "applications" mode. Now cursor and
21#       function keys will work in all programs.
22#
23#       Also, there is a "generic" vt entry with common
24#       entries for all terminals, on which all other entries
25#       are built.
26#
27# Version:  @(#) vt-termcap 1.37 12-Mar-1996 MvS
28#
29
30# Generic VT entry.
31vg|vt-generic|Generic VT entries:\
32    :bs:mi:ms:pt:xn:xo:it#8:\
33    :RA=\E[?7l:SA=\E?7h:\
34    :bl=^G:cr=^M:ta=^I:\
35    :cm=\E[%i%d;%dH:\
36    :le=^H:up=\E[A:do=\E[B:nd=\E[C:\
37    :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:DO=\E[%dB:\
38    :ho=\E[H:cl=\E[H\E[2J:ce=\E[K:cb=\E[1K:cd=\E[J:sf=\ED:sr=\EM:\
39    :ct=\E[3g:st=\EH:\
40    :cs=\E[%i%d;%dr:sc=\E7:rc=\E8:\
41    :ei=\E[4l:ic=\E[@:IC=\E[%d@:al=\E[L:AL=\E[%dL:\
42    :dc=\E[P:DC=\E[%dP:dl=\E[M:DL=\E[%dM:\
43    :so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
44    :mb=\E[5m:mh=\E[2m:md=\E[1m:mr=\E[7m:me=\E[m:\
45    :sc=\E7:rc=\E8:kb=\177:\
46    :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:
47
48## Linux console. One should really set TERM=linux instead of TERM=console.
49#lx|linux|console|con80x25|LINUX System Console:\
50#   :co#80:li#25:am:\
51#   :is=\E[m\E[?1l\E>\E[10m:\
52#   :rs=\E[m\E[?1l\E>\E[10m:\
53#   :ch=\E[%i%dG:cv=\E[%i%dd:\
54#   :eA=\E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:\
55#   :ve=\E[?25h:vi=\E[?25l:\
56#   :se=\E[27m:ue=\E[24m:mh=\E[2m:\
57#   :ks=:ke=:\
58#   :kh=\E[1~:kH=\E[4~:kI=\E[2~:kD=\E[3~:kP=\E[5~:kN=\E[6~:\
59#   :k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:\
60#   :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:\
61#   :F1=\E[23~:F2=\E[24~:\
62#   :tc=vt-generic:
63
64# Slackware 3.1 linux termcap entry (Sat Apr 27 23:03:58 CDT 1996):
65lx|linux|console|con80x25|LINUX System Console:\
66        :do=^J:co#80:li#25:cl=\E[H\E[J:sf=\ED:sb=\EM:\
67        :le=^H:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
68        :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[27m:us=\E[36m:ue=\E[m:\
69        :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:is=\E[1;25r\E[25;1H:\
70        :ll=\E[1;25r\E[25;1H:al=\E[L:dc=\E[P:dl=\E[M:\
71        :it#8:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:ti=\E[r\E[H:\
72        :ho=\E[H:kP=\E[5~:kN=\E[6~:kH=\E[4~:kh=\E[1~:kD=\E[3~:kI=\E[2~:\
73        :k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
74        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:K1=\E[1~:K2=\E[5~:\
75        :K4=\E[4~:K5=\E[6~:\
76        :pt:sr=\EM:vt#3:xn:km:bl=^G:vi=\E[?25l:ve=\E[?25h:vs=\E[?25h:\
77        :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:\
78        :r1=\Ec:r2=\Ec:r3=\Ec:
79
80# Some other, commonly used linux console entries.
81lx|con80x28:co#80:li#28:tc=linux:
82lx|con80x43:co#80:li#43:tc=linux:
83lx|con80x50:co#80:li#50:tc=linux:
84lx|con100x37:co#100:li#37:tc=linux:
85lx|con100x40:co#100:li#40:tc=linux:
86lx|con132x43:co#132:li#43:tc=linux:
87
88# vt102 - vt100 + insert line etc. VT102 does not have insert character.
89v2|vt102|DEC vt102 compatible:\
90    :co#80:li#24:\
91    :ic@:IC@:\
92    :is=\E[m\E[?1l\E>:\
93    :rs=\E[m\E[?1l\E>:\
94    :eA=\E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:\
95    :ks=:ke=:\
96    :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
97    :tc=vt-generic:
98
99# vt100 - really vt102 without insert line, insert char etc.
100vt|vt100|DEC vt100 compatible:\
101    :im@:mi@:al@:dl@:ic@:dc@:AL@:DL@:IC@:DC@:\
102    :tc=vt102:
103
104# Standard vt320 (based on my own digital vt320)
105v3|vt320|DEC vt320:\
106    :co#80:li#24:hs:es:\
107    :is=\E[m\E[2$~\E[?1l\E>:\
108    :rs=\E[m\E[?1l\E>:\
109    :ve=\E[?25h:vi=\E[?25l:\
110    :se=\E[27m:ue=\E[24m:mh=\E[2m:\
111    :eA=\E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:\
112    :ts=\E[1$}\E[1;%i%dH:fs=\E[0$}:ds=\E[1$}\r\E[m\E[K\E[0$}:\
113    :ks=:ke=:\
114    :kI=\E[2~:kD=\E[3~:kP=\E[5~:kN=\E[6~:\
115    :@4=\E[29~:@0=\E[1~:*6=\E[4~:\
116    :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[16~\
117    :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:\
118    :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
119    :F6=\E[29~:F7=\E[31~:F8=\E[32~:\
120    :tc=vt-generic:
121
122v8|vt320-8|DEC vt320 in 8-bit mode:\
123    :kI=\2332~:kD=\2333~:kP=\2335~:kN=\2336~:\
124    :@4=\23329~:@0=\2331~:*6=\2334~:\
125    :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\23316~\
126    :k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:k0=\23321~:\
127    :F1=\23323~:F2=\23324~:F3=\23325~:F4=\23326~:F5=\23328~:\
128    :F6=\23329~:F7=\23331~:F8=\23332~:\
129    :ku=\233A:kd=\233B:kr=\233C:kl=\233D:\
130    :tc=vt320:
131
132# Entry for minicom so it uses the PC (IBM) character set.
133# If this doesn't work for kernels between 1.1.18 and 1.1.80,
134# change \E(U -> \E[11m  (enter ANSI mode)
135# and    \E(B -> \E[10m  (leave ANSI mode)
136mc|minicom|ansi-mc|termcap entry for minicom on the console:\
137    :is=\E[m\E>\E(U:\
138    :rs=\E[m\E>\E(B:\
139    :as@:ae@:eA@:ac@:\
140    :bl=\E(B\007\E(U:\
141    :vb=\E(B\007\E(U:\
142    :tc=linux:
143
144# Entry for an xterm. Insert mode has been disabled.
145vs|xterm|vs100|xterm terminal emulator (X Window System):\
146    :am:bs:mi@:km:co#80:li#55:\
147    :im@:ei@:\
148    :ct=\E[3k:ue=\E[m:\
149    :is=\E[m\E[?1l\E>:\
150    :rs=\E[m\E[?1l\E>:\
151    :eA=\E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:\
152    :kI=\E[2~:kD=\177:kP=\E[5~:kN=\E[6~:\
153    :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
154    :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:\
155    :F1=\E[23~:F2=\E[24~:\
156    :kh=\E[H:kH=\EOw:\
157    :ks=:ke=:\
158    :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
159    :tc=vt-generic:
160
161# Some other entries for the same xterm.
162v2|xterms|vs100s|xterm small window:\
163    :co#80:li#24:tc=xterm:
164vb|xterm-bold|xterm with bold instead of underline:\
165    :us=\E[1m:tc=xterm:
166vi|xterm-ins|xterm with insert mode:\
167    :mi:im=\E[4h:ei=\E[4l:tc=xterm:
168
169# DOS terminal emulator such as Telix or TeleMate.
170# This probably also works for the SCO console, though it's incomplete.
171an|ansi|ansi-bbs|ANSI terminals (emulators):\
172    :co#80:li#24:am:\
173    :is=:rs=\Ec:kb=^H:\
174    :as=\E[m:ae=:eA=:\
175    :ac=0\333+\257,\256.\031-\030a\261f\370g\361j\331k\277l\332m\300n\305q\304t\264u\303v\301w\302x\263~\025:\
176    :kD=\177:kH=\E[Y:kN=\E[U:kP=\E[V:kh=\E[H:\
177    :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
178    :k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k0=\EOY:\
179    :tc=vt-generic:
180
181# This seems to be an entry for other x86 based unices.
182at|at386-m|386AT-M|386at-m|at/386 console:\
183    :am:bw:eo:xt:co#80:li#25:\
184    :ae=\E[10m:as=\E[12m:\
185    :is=\E[0;10;38m:\
186    :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
187    :k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
188    :kh=\E[H:us=\E[4m:vb=^G:nl=\E[B:kb=^H:\
189    :tc=vt-generic:
190
191# Yeah - Minix still lives :)
192ma|minix|minix-am|minix-vcam|MINIX 1.5 Virtual Console:\
193    :am:bs:co#80:li#25:km:ms:\
194    :is=\E[0m\EPlinewrap.on\E\\:\
195    :rs=\Ec\EPlinewrap.on\E\\:\
196    :as=:ae=:eA=:\
197    :ac=0\333+\257,\256.\031-\030a\261f\370g\361j\331k\277l\332m\300n\305q\304t\264u\303v\301w\302x\263~\025:\
198    :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
199    :k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k0=\EOY:\
200    :kD=\177:kH=\E[Y:kN=\E[U:kP=\E[V:kh=\E[H:kb=^H:\
201    :ve=\EPcursor.on\E\\:vi=\EPcursor.off\E\\:\
202    :tc=vt-generic:
203
204# Some obligatory historic entries.
205sa|network|ethernet|arpanet:co#80:os:am:
206su|dumb|un|unknown:co#80:os:am:
207sd|du|dialup:co#80:os:am:
208t7|37|tty37|model 37 teletype:\
209    :cr=^M:do=^J:nl=^J:bl=^G:le=^H:bs:hc:hu=\E8:hd=\E9:up=\E7:os:
210
211# Yes, there really are people that login from a Sun Console.
212mu|sun|Sun Microsystems Workstation console:\
213    :am:bs:km:mi:ms:pt:\
214    :li#34:co#80:cl=^L:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
215    :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:\
216    :kd=\E[B:kl=\E[D:ku=\E[A:kr=\E[C:kh=\E[H:\
217    :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
218    :al=\E[L:dl=\E[M:im=:ei=:ic=\E[@:dc=\E[P:\
219    :rs=\E[s:
Note: See TracBrowser for help on using the repository browser.