Add a tcgetsid() function that returns session id.
[dragonfly.git] / etc / termcap.small
blob138ae097f3713fe8e155f7749ca755a1d6221398
1 # Copyright (c) 1980, 1985, 1989 The Regents of the University of California.
2 # All rights reserved.
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions
6 # are met:
7 # 1. Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer.
9 # 2. Redistributions in binary form must reproduce the above copyright
10 # notice, this list of conditions and the following disclaimer in the
11 # documentation and/or other materials provided with the distribution.
12 # 3. All advertising materials mentioning features or use of this software
13 # must display the following acknowledgement:
14 # This product includes software developed by the University of
15 # California, Berkeley and its contributors.
16 # 4. Neither the name of the University nor the names of its contributors
17 # may be used to endorse or promote products derived from this software
18 # without specific prior written permission.
20 # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 # SUCH DAMAGE.
32 # @(#)termcap.src 5.88 (Berkeley) 4/30/91
33 # $FreeBSD: src/etc/termcap.small,v 1.16.2.7 2002/04/15 17:52:13 ache Exp $
34 # $DragonFly: src/etc/termcap.small,v 1.2 2003/06/17 04:24:45 dillon Exp $
36 # for syscons
37 # common entry without semigraphics
38 cons25w|ansiw|ansi80x25-raw:\
39 :am:bs:NP:ms:pt:AX:eo:bw:ut:km:\
40 :co#80:li#25:pa#64:Co#8:it#8:\
41 :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
42 :dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ho=\E[H:ic=\E[@:cb=\E[1K:\
43 :nd=\E[C:rs=\Ec:so=\E[7m:se=\E[27m:up=\E[A:cr=^M:ta=^I:\
44 :AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:sc=\E7:rc=\E8:\
45 :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
46 :k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:nw=\E[E:ec=\E[%dX:\
47 :kb=^H:kh=\E[H:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:le=^H:sf=\E[S:sr=\E[T:\
48 :kN=\E[G:kP=\E[I:@7=\E[F:kI=\E[L:kD=\177:kB=\E[Z:\
49 :IC=\E[%d@:DC=\E[%dP:SF=\E[%dS:SR=\E[%dT:AL=\E[%dL:DL=\E[%dM:\
50 :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:cv=\E[%i%dd:ch=\E[%i%d`:\
51 :mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:bl=^G:
52 # CP437 FreeBSD console with ACS support
53 cons25|ansis|ansi80x25:\
54 :ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261i^U0\333y\363z\362:\
55 :tc=cons25w:
56 cons25-m|ansis-mono|ansi80x25-mono:\
57 :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25:
58 cons30|ansi80x30:\
59 :li#30:tc=cons25:
60 cons30-m|ansi80x30-mono:\
61 :li#30:tc=cons25-m:
62 cons43|ansi80x43:\
63 :li#43:tc=cons25:
64 cons43-m|ansi80x43-mono:\
65 :li#43:tc=cons25-m:
66 cons50|ansil|ansi80x50:\
67 :li#50:tc=cons25:
68 cons50-m|ansil-mono|ansi80x50-mono:\
69 :li#50:tc=cons25-m:
70 cons60|ansi80x60:\
71 :li#60:tc=cons25:
72 cons60-m|ansi80x60-mono:\
73 :li#60:tc=cons25-m:
74 # KOI8-R/KOI8-U FreeBSD console with ACS support
75 cons25r|cons25u|pc3r|ibmpc3r|cons25-koi8:\
76 :ac=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\220h\2210\215:\
77 :tc=cons25w:
78 cons25r-m|cons25u-m|pc3r-m|ibmpc3r-mono|cons25-koi8-mono:\
79 :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25r:
80 cons30r|cons30u|cons30-koi8:\
81 :li#30:tc=cons25r:
82 cons30r-m|cons30u-m|cons30-koi8-mono:\
83 :li#30:tc=cons25r-m:
84 cons43r|cons43u|cons43-koi8:\
85 :li#43:tc=cons25r:
86 cons43r-m|cons43u-m|cons43-koi8-mono:\
87 :li#43:tc=cons25r-m:
88 cons50r|cons50u|cons50-koi8:\
89 :li#50:tc=cons25r:
90 cons50r-m|cons50u-m|cons50-koi8-mono:\
91 :li#50:tc=cons25r-m:
92 cons60r|cons60u|cons60-koi8:\
93 :li#60:tc=cons25r:
94 cons60r-m|cons60u-m|cons60-koi8-mono:\
95 :li#60:tc=cons25r-m:
96 # ISO 8859-2 FreeBSD console with ACS support
97 cons25l2|cons25-iso8859-2:\
98 :ac=f\260i\247:\
99 :tc=cons25w:
100 cons25l2-m|cons25-iso8859-2-mono:\
101 :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l2:
102 cons30l2|cons30-iso8859-2:\
103 :li#30:tc=cons25l2:
104 cons30l2-m|cons30-iso8859-2-mono:\
105 :li#30:tc=cons25l2-m:
106 cons43l2|cons43-iso8859-2:\
107 :li#43:tc=cons25l2:
108 cons43l2-m|cons43-iso8859-2-mono:\
109 :li#43:tc=cons25l2-m:
110 cons50l2|cons50-iso8859-2:\
111 :li#50:tc=cons25l2:
112 cons50l2-m|cons50-iso8859-2-mono:\
113 :li#50:tc=cons25l2-m:
114 cons60l2|cons60-iso8859-2:\
115 :li#60:tc=cons25l2:
116 cons60l2-m|cons60-iso8859-2-mono:\
117 :li#60:tc=cons25l2-m:
118 # ISO 8859-1 FreeBSD console with ACS support
119 cons25l1|cons25-iso8859-1:\
120 :ac=f\260g\261}\243+\253,\273i\247:\
121 :tc=cons25w:
122 cons25l1-m|cons25-iso8859-1-mono:\
123 :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l1:
124 cons30l1|cons30-iso8859-1:\
125 :li#30:tc=cons25l1:
126 cons30l1-m|cons30-iso8859-1-mono:\
127 :li#30:tc=cons25l1-m:
128 cons43l1|cons43-iso8859-1:\
129 :li#43:tc=cons25l1:
130 cons43l1-m|cons43-iso8859-1-mono:\
131 :li#43:tc=cons25l1-m:
132 cons50l1|cons50-iso8859-1:\
133 :li#50:tc=cons25l1:
134 cons50l1-m|cons50-iso8859-1-mono:\
135 :li#50:tc=cons25l1-m:
136 cons60l1|cons60-iso8859-1:\
137 :li#60:tc=cons25l1:
138 cons60l1-m|cons60-iso8859-1-mono:\
139 :li#60:tc=cons25l1-m:
140 # ISO 8859-7 FreeBSD console with ACS support
141 cons25l7:cons25-iso8859-7:\
142 :ac=f\260g\261{\360}\243+\253,\273i\247:\
143 :tc=cons25w:
144 cons25l7-m|cons25-iso8859-7-mono:\
145 :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l7:
146 cons30l7|cons30-iso8859-7:\
147 :li#30:tc=cons25l7:
148 cons30l7-m|cons30-iso8859-7-mono:\
149 :li#30:tc=cons25l7-m:
150 cons43l7|cons43-iso8859-7:\
151 :li#43:tc=cons25l7:
152 cons43l7-m|cons43-iso8859-7-mono:\
153 :li#43:tc=cons25l7-m:
154 cons50l7|cons50-iso8859-7:\
155 :li#50:tc=cons25l7:
156 cons50l7-m|cons50-iso8859-7-mono:\
157 :li#50:tc=cons25l7-m:
158 cons60l7|cons60-iso8859-7:\
159 :li#60:tc=cons25l7:
160 cons60l7-m|cons60-iso8859-7-mono:\
161 :li#60:tc=cons25l7-m:
163 dosansi|ANSI.SYS standard crt:\
164 :am:bs:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:co#80:\
165 :do=\E[B:li#25:mi:nd=\E[C:\
166 :se=\E[m:so=\E[7m:up=\E[A:us=\E[4m:ue=\E[m:\
167 :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
168 :kh=\EG:kb=^h:ku=\EH:kd=\EP:kl=\EK:kr=\EM:\
169 :k1=\E;:k2=\E<:k3=\E=:k4=\E>:k5=\E?:\
170 :k6=\E@:k7=\EA:k8=\EB:k9=\EC:k0=\ED:
172 # The following is a version of the ibm-pc entry distributed with PC/IX,
173 # (Interactive Systems' System 3 for the Big Blue), modified by Richard
174 # McIntosh at UCB/CSM. The :pt: and :uc: have been removed from the original,
175 # (the former is untrue, and the latter failed under UCB/man); standout and
176 # underline modes have been added. Note: this entry describes the "native"
177 # capabilities of the PC monochrome display, without ANY emulation; most
178 # communications packages (but NOT PC/IX connect) do some kind of emulation.
179 pc|ibmpc|ibm pc PC/IX:\
180 :li#24:co#80:am:bs:bw:eo:\
181 :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[;H:\
182 :nd=\E[C:up=\E[A:so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:
183 pc3mono|IBM PC 386BSD Console with monochrome monitor:\
184 :so=\E[0;1r\E[m:tc=pc3:
185 pc3|ibmpc3|IBM PC 386BSD Console:\
186 :Co#8:\
187 :DO=\E[%dB:\
188 :F1=\E[W:\
189 :F2=\E[X:\
190 :K1=\E[H:\
191 :K2=\E[I:\
192 :K3=\E[E:\
193 :K4=\E[F:\
194 :K5=\E[G:\
195 :LE=\E[%dD:\
196 :RI=\E[%dC:\
197 :Sb=\E[1;%dx:\
198 :Sf=\E[2;%dx:\
199 :UP=\E[%dA:\
200 :ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261I^U0\333y\363z\362:\
201 :am:\
202 :bl=^G:\
203 :bs:\
204 :cb=\E[1K:\
205 :cd=\E[J:\
206 :ce=\E[K:\
207 :cl=\E[H\E[J:\
208 :cm=\E[%i%d;%dH:\
209 :co#80:\
210 :cr=^M:\
211 :do=\E[B:\
212 :ho=\E[H:\
213 :is=\E[m:\
214 :it#8:\
215 :k;=\E[V:\
216 :k1=\E[M:\
217 :k2=\E[N:\
218 :k3=\E[O:\
219 :k4=\E[P:\
220 :k5=\E[Q:\
221 :k6=\E[R:\
222 :k7=\E[S:\
223 :k8=\E[T:\
224 :k9=\E[U:\
225 :kD=\177:\
226 :@7=\E[F:\
227 :kN=\E[G:\
228 :kP=\E[I:\
229 :kb=\177:\
230 :kd=\E[B:\
231 :kh=\E[H:\
232 :kl=\E[D:\
233 :kr=\E[C:\
234 :ku=\E[A:\
235 :le=^H:\
236 :li#25:\
237 :ms:\
238 :nd=\E[C:\
239 :op=\E[x:\
240 :pa#64:\
241 :rs=\E[m:\
242 :se=\E[m:\
243 :sf=\E[S:\
244 :so=\E[7;1r\E[7m:\
245 :sr=\E[T:\
246 :ta=^I:\
247 :te=\E[m:\
248 :ti=\E[m:\
249 :up=\E[A:\
250 :ut: