1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
|
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 1996 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
# All Rights Reserved
#ident "%Z%%M% %I% %E% SMI"
# # --------------------------------
#
# misc: MISCELLANEOUS TERMINALS
#
# Manufacturer: MISCELLANEOUS TERMINALS
# Class: III
#
# Info:
# This file is for manufacturers with only a few terminals.
# They are included alphabetically by manufacturer. Hard copy
# terminals, personal computers, special "made up" terminals
# and homemade terminals go in separate files.
#
aed512|aed|AED 512,
cr=^M, cud1=^J, bel=^G,
cols#64, lines#40, clear=^L,
cub1=^H, cuf1=\Ei0800\001,
cnorm=\E\072004=000200??\001,
flash=\EK0001??0000K0001202080\001,
smso=\E\07200>8000140[80C00\001, rmso=\E[00C80\001,
smul=\E\07200>8000140\001, rmul=\E\07200>8000100\001,
uc=\Ei???>l0800i0102\001,
smcup=\E\07200>8000140{<04<0??00001010L<0\072004=0002??00\001,
rmcup=\E\07200>8000100{804<0??00001000L80\072004=000200??\001,
ind=\E;1100\072004=000200??;1300\047\200\001\n\E\072004=0002??00;1200\001\n,
cuu1=^K, .cup=\E;1300%p1%c%p2%c\001,
ampex|d80|dialogue|dialogue80|ampex dialogue 80,
tbc=\E3, hts=\E1, cr=^M, cud1=^J, ind=^J, bel=^G,
is2=\EA, ul, smul=\El, rmul=\Em,
am, bw, cub1=^H, ht=^I, clear=\E*$<75>, cup=\E=%p1%' '%+%c%p2%' '%+%c,
il1=\EE$<5*>, cbt=\EI, ich1=\EQ, dl1=\ER$<5*>, dch1=\EW,
el=\Et, ed=\Ey, smso=\Ej, rmso=\Ek, lines#24, cols#80, cuf1=^L, cuu1=^K,
# Info:
# Tue Aug 9 20:11:37 1983
# No backspace key in the main QWERTY cluster. Fortunately,
# it has a NEWLINE/PAGE key just above RETURN that sends a strange
# single-character code. Given a suitable Unix (one that lets you
# set an echo-erase-as-BS-SP-BS mode), this key can be used as
# the erase key; I find I like this. Because some people and
# some systems may not, there is another termcap ("ax175e") that
# suppresses this little eccentricity by omitting the relevant
# capability.
#
# Problems:
# - I haven't done tab-setting yet.
# - The initialization sequence doesn't use the terminal's
# reset-everything code because it would require a delay
# in the middle of the is sequence.
#
ampex175|ampex d175,
cr=^M, cud1=^J, ind=^J, bel=^G, il1=\EE, am, cub1=^H,
ed=\Ey, el=\Et, clear=\E+, cup=\E=%p1%' '%+%c%p2%' '%+%c,
cols#80, dch1=\EW, dl1=\ER,
home=\036, ich1=\EQ, is2=\EX\EA\EF,
kcud1=^J, khome=\036, kcub1=^H, kcuf1=^L,
kcuu1=^K, kil1=\EE, kdl1=\ER, kich1=\EQ, kdch1=\EW,
lines#24, ll=\036^K, cuf1=^L,
rmso=\Ek, smso=\Ej, rmcup=\EF, smcup=\EN, rmul=\Em, cuu1=^K,
smul=\El,
ampex175-b|ampex d175 using left arrow for erase,
kbs=^_, use=ampex175,
# Info:
# Below are the termcap entries I've been using. The problem
# with scrolling in vi can only be fixed by getting BBN to put
# smarter scroll logic in the terminal or changing vi or padding
# scrolls with about 500 ms delay.
#
# I always thought the problem was related to the terminal
# counting newlines in its input buffer before scrolling and
# then moving the screen that much. Then vi comes along and
# paints lines in on the bottom line of the screen, so you get
# this big white gap.
#
# We have not had sufficient demand for vi (most use emacs or
# rand) here to fix this problem.
#
# [Sounds like the BitGraph should stop looking ahead when it
# sees escape - ]
#
bitgraph|bbn bitgraph,
use=bg3.10rv,
bg3.10rv|bgrv|bbn bitgraph (reverse video),
use=bg2.0rv,
bg3.10nv|bgnv|bbn bitgraph (normal video),
use=bg2.0nv,
bg3.10|bgn|bbn bitgraph (no init),
use=bg2.0,
bg2.0rv|bbn bitgraph (reverse video),
is2=\E>\E[?5h\E[?7h, flash=\E[?5l\E[?5h, use=bg2.0,
bg2.0nv|bbn bitgraph (normal video),
is2=\E>\E[?5l\E[?7h, flash=\E[?5h\E[?5l, use=bg2.0,
bg2.0|bbn bitgraph (no init),
cr=^M, cud1=^J, bel=^G,
il1=\E[L$<2*>, cub1=^H, ed=\E[J$<150>, el=\E[K$<2>,
clear=\E[H\E[J$<150>, cup=%i\E[%p1%d;%p2%dH, cols#85, csr=\E[%i%p1%d;%p2%dr,
dl1=\E[M$<2*>, cud1=\E[B, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
kcud1=\E[B, rmkx=\E>, kcub1=\E[D, kcuf1=\E[C, smkx=\E=,
kcuu1=\E[A, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, lines#64,
cuf1=\E[C, ht=^I, rc=\E8, sc=\E7, rmso=\E[0m, ind=\n$<280>,
smso=\E[7m, cuu1=\E[A, xenl,
bg1.25rv|bbn bitgraph (reverse video),
flash=\E[?5l\E[?5h, is2=\E>\E[?5h\E[?7h, use=bg1.25,
bg1.25nv|bbn bitgraph (normal video),
is2=\E>\E[?5l\E[?7h, flash=\E[?5h\E[?5l, use=bg1.25,
bg1.25|bbn bitgraph,
cr=^M, cud1=^J, bel=^G, il1=\E[L$<2*>, cub1=^H,
ed=\E[J$<150>, el=\E[K$<2>, clear=\E[H\E[J$<150>, cup=%i\E[%p1%d;%p2%dH,
cols#85, dl1=\E[M$<2*>, cud1=\E[B, kf1=\EP, kf2=\EQ, kf3=\ER,
kf4=\ES, kcud1=\EB, rmkx=\E>, kcub1=\ED, kcuf1=\EC, smkx=\E=,
kcuu1=\EA, lines#64, ll=\E[64;1H, lf1=PF1, lf2=PF2, lf3=PF3,
lf4=PF4, cuf1=\E[C, ht=^I, rmso=\E[0m, ind=\n$<280>,
smso=\E[7m, cuu1=\E[A,
ca22851|computer automation 22851,
cr=^M, cud1=^J, ind=^J, bel=^G, cup=\02%i%p1%c%p2%c, cols#80,
lines#24, clear=^L$<8>, am, cub1=\025, cuu1=\026, home=\036,
el=\035, ed=\034, cuf1=\011, kcub1=\025, kcuu1=\026,
kcud1=\027, khome=\036,
# Info:
# CHROMATICS
# Following is revised version. As I mentioned, I recompiled
# curses in order to accomadate the large amount of definition.
# I have put the long strings in ti/te. Ti sets up a window
# that is smaller than the screen, and puts up a warning message
# outside the window. Te erases the warning message, puts the
# window back to be the whole screen, and puts the cursor at just
# below the small window. A defined vs and ve to really turn
# the cursor on and off, but I have taken this out since I don't
# like the cursor being turned off when vi exits.
#
cg7900|chromatics|chromatics 7900,
cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#40, am,
clear=^L, cub1=^H, cup=^AM%p2%d\,%p1%d\,, cuf1=\035, cuu1=^K,
home=\034, ll=^A|, el=^A`, ed=^Al, il1=^A>2, dl1=^A<2,
ich1=^A>1, dch1=^A<1,
smso=^AC4\,^Ac7\,, rmso=^AC1\,^Ac2\,, uc=^A^A_^A\0,
smcup=^AP0^AO1^AR1^AC4\,^Ac0\,^L^AM0\,42\,WARNING DOUBLE ENTER ESCAPE and ^U^AC1\,^Ac2\,^AW0\,0\,79\,39\,,
rmcup=^AW0\,40\,85\,48\,^L^AW0\,0\,85\,48\,^AM0\,40\,,
cops10|cops|cops-10|,
cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H, bw, ed=^w, el=^v,
clear=30^x, cup=^p%p1%' '%+%c%p2%' '%+%c, cols#80, cud1=\n, kbs=^h, kcud1=\n,
khome=^y, kcub1=^h, kcuf1=^l, kcuu1=^k, lines#24, cuf1=^l,
cuu1=^k,
# Info:
# CYBERNEX
# We recently discovered (it wasn't clearly documented) that the
# Cybernex XL-83 terminal has a reverse-scroll capability; I
# enclose a revised termcap entry with "sr" added.
#
xl83|cybernex XL-83,
cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H, ed=^P$<62>, el=^O$<3>,
clear=^L$<62>, cup=^W%p1%' '%+%c%p2%' '%+%c, cols#80, home=^K,
kcud1=^J, kcub1=^H, kcuf1=^I, kcuu1=^N,
lines#24, cuu1=^N, cuf1=^I, ri=^N,
mdl110|cybernex mdl-110,
cup=^P%p1%' '%+%c%p2%' '%+%c, cols#80, lines#24, am, clear=^X$<70>,
cub1=^H, cr=^M, cud1=^J, ind=^J, bel=^G, cuf1=^U, cuu1=^Z, home=^Y,
el=^N@^V$<145>, ed=^NA^W$<145>, il1=^NA^N^]$<65>, dl1=^NA^N^^$<40>,
ich1=^NA^]$<3.5>, dch1=^NA^^$<3.5>, smso=^NF, rmso=^NG,
ht=\t$<43>, ed=^N@^V$<6>,
# Info:
# DATA GENERAL
#
# It has one or two quirks, though; in vi you have to use <cr> to
# advance to the next line instead of just hitting the big NEWLINE
# key (which is cursor down to vi).
#
# One pain with using the dasher on unix though is the fact
# that they use # ^H for home cursor. This causes problems with
# reading news and help files on the system that assume ^H is
# backspace.
#
# The trouble with this terminal is that you can't give it a
# linefeed without having it add a carriage return. And there
# isn't any switch that will turn off auto carriage return
# on receipt of linefeed.
#
# Is there any way around this? [I used cud1=^Z to try to
# describe this -]
#
d200|d100|data general dasher 200,
am, bel=^G, bw, clear=^L, cols#80, cr=^M,
cub1=^Y, cud1=^Z, cuf1=^X, cup=^P%p2%c%p1%c, cuu1=^W,
el=^K, home=^H, ind=^J, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W,
kf0=^^z, kf1=^^q, kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w,
kf8=^^x, kf9=^^y, khome=^H, lf0=f10,
lines#24, nel=^J, rmso=^^E, rmul=^U, smso=^^D, smul=^T,
dg|dg6053|data general 6053,
cr=^M, cud1=^J, ind=^J, bel=^G,
am, cub1=^H, cup=^P%p2%c%p1%c, clear=^L, home=^H, cuf1=^S,
cuu1=^W, el=^K, cols#80, lines#24,
d132|datagraphix|datagraphix 132a,
cr=^M, cud1=^J, ind=^J, bel=^G,
cols#80, lines#30, clear=^l, home=\Et, da, db, ind=\Ev, ri=\Ew,
cuu1=\Ek, cuf1=\El, cvvis=\Ex, cnorm=\Em\En,
il1=\E3, ich1=\E5, dch1=\E6, in, ich1=\E5,
# Info:
# DATAPOINT (see also pc)
#
datapoint|dp3|dp3360|datapoint 3360,
cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H,
ed=^_, el=^^, clear=^]^_, cols#82, home=^], lines#25, cuf1=^x, cuu1=^z,
# Info:
# DELTA DATA
# This is untested. The cup sequence is hairy enough that it
# probably needs work. The idea is ctrl(O), dd(row), dd(col),
# where dd(x) is x - 2*(x%16) + '9'
#
delta|dd5000|delta data 5000,
cud1=^J, ind=^J, bel=^G, am, cub1=^H, clear=^NR,
cup=^O%p1%p1%{16}%m%{2}%*%-%'9'%+%c%p2%p2%{16}%m%{2}%*%-%'9'%+%c,
cols#80, lines#27, home=^NQ, cuf1=^Y, cuu1=^Z, el=^NU, dch1=^NV,
digilog|333|digilog 333,
cub1=^H, cols#80, el=\030, home=^n, lines#16, cuf1=^i, cuu1=^o,
cr=^M, cud1=^J, ind=^J, bel=^G,
# Info:
# DIRECT
# I think the direct is supposed to be vt100 compatible, so all
# this should probably be replaced by a use=vt100, but I can't
# test it.
#
d800|direct|direct800|direct 800/a,
cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#24, am,
clear=\E[1;1H\E[2J, cub1=^H, cup=\E[%i%p1%d;%p2%dH,
cuf1=\E[C, cuu1=\E[A, el=\E[K, ed=\E[J, smso=\E[7m, rmso=\E[0m,
smul=\E[4m, rmul=\E[0m, xhp, cvvis=\E[>12l, cnorm=\E[>12h,
ind=\ED, ri=\EM, da, db, smacs=\E[1m, rmacs=\E[0m, msgr, ht=^I,
kcub1=\E[D, kcuf1=\E[C, kcuu1=\E[A, kcud1=\E[B,
kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
env230|envision230|envision 230 graphics terminal,
am, mir, msgr, xon,
cols#80, it#8, lines#24, vt#3,
acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
clear=\E[H\E[J$<50>, cr=\r, csr=\E[%i%p1%d;%p2%dr,
cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
cuf=\E[%p1%dC, cuf1=\E[C$<2>,
cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>,
el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=\t,
hts=\EH, ind=\n, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=\b,
kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB,
kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP,
kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, mc0=\E[0i,
mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m$<2>,
ri=\EM$<5>, rmacs=^O, rmkx=\E[?1l\E>, rmso=\E[0m<2>,
rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
sc=\E7,
sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
sgr0=\E[m^O$<2>, smacs=^N, smkx=\E[?1h\E=, smso=\E[1m<2>,
smul=\E[4m$<2>, tbc=\E[3g,
falco|ts1|ts-1|falco ts-1,
cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#24, ht=^I,
is2=\Eu\E3, il1=\EE, am, el=\ET\EG0^H, cup=\E=%p1%' '%+%c%p2%' '%+%c,
clear=\E*, ed=\EY, dch1=\EW, cub1=^H, dl1=\ER, rmir=\Er, smir=\Eq,
home=^^, kf0=^A0\r, kcud1=^J, kcub1=^H, kcuf1=^L, kcuu1=^K, cuf1=^L,
rmso=\Eg0, smso=\Eg1, cuu1=^K, smul=\Eg1, rmul=\Eg0,
# Info:
# For falcos with the paging option (very nice it turns out -
# they can store several hundred lines of text, as well as have
# a separate screen for vi and other such programs usage)...
#
falco-p|falco-tsl-1sp|falco with paging option,
cr=^M, cud1=^J, ind=^J, bel=^G, is2=\EZ\E3\E_c, il1=\EE, am,
cub1=^H, el=\ET\EG0^H\Eg0, clear=\E*, ed=\EY, cols#80,
dch1=\EW, dl1=\ER, kcud1=\E[B, kcub1=\E[D, rmir=\Er, smir=\Eq,
ht=^I, db, kcuf1=\E[C, kcuu1=\E[A, lines#24, cuf1=\E[C,
rmso=\Eg0, smso=\Eg4, cuu1=\E[A, smul=\Eg1, smcup=\E_d,
rmcup=\E_b, rmul=\Eg0, cud1=\E[B, cup=\E=%p1%' '%+%c%p2%' '%+%c,
msgr, ul, khome=\E[H, da, mir, cbt=\EI,
ts100|ts100-sp|falco ts100-sp,
am, mir, msgr, xenl, xon,
cols#80, it#8, lines#24, vt#3,
acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
clear=\E[H\E[J$<50>, cr=\r, csr=\E[%i%p1%d;%p2%dr,
cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
cuf=\E[%p1%dC, cuf1=\E[C$<2>,
cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>,
el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H,
ht=\t, hts=\EH, ich1=\E~Q, il1=\E~E, ind=\n,
is1=\E~)\E~ea, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=\b,
kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB,
kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP,
kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmkx=\E[?1l\E>,
rmso=\E[m$<2>, rmul=\E[m$<2>,
rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;,
sgr0=\E[m^O$<2>, smacs=^N, smkx=\E[?1h\E=,
smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
ts100-ctxt|falco ts-100 saving context,
smcup=\E~_d\E[2J, rmcup=\E~_b, use=ts100,
# Info:
# FLUKE
# The 1720a differences from ANSI: no auto margin, destructive
# tabs, # of lines, funny highlighting and underlining
#
f1720|f1720a|fluke 1720A,
cr=^M, ind=^J, cud1=^J, bel=^G,
is2=\E[;H\E[2J, cols#80, lines#16,
cuu1=\E[A, cud1=\E[B, cuf1=\E[C, cub1=^H, cup=\E[%i%p1%d;%p2%dH,
ind=\ED, ri=\EM,
kcuu1=\034, kcud1=\035, kcuf1=\036, kcub1=\037,
smso=\E[7m, rmso=\E[m, xmc#1,
smul=\E[4m, rmul=\E[m,
el=\E[K, ed=\E[J,
xt, clear=\E[;H\E[2J,
# Info:
# INTERTEC
# Intertec: I can't tell if these are the same terminal or not.
# the cup entries are different. The it2 looks suspiciously
# like an an Adds Regent 100, complete with the bug [mrh].
#
it|intertube|intertec|Intertec InterTube,
cr=^M, ind=^J, cud1=^J, bel=^G, cub1=^H, am,
clear=^L, home=^A, cuu1=^Z, cuf1=^F,
cup=\EY%p1%' '%+%c%p2%' '%+%c$<50>,
smso=\E0P, rmso=\E0@, cols#80, lines#25,
# Info:
# The intertube 2 has the "full duplex" problem like the tek
# 4025: if you are typing and a command comes in, the keystrokes
# you type get interspersed with the command and it messes up.
#
it2|intertube2|intertec data systems intertube 2,
cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H,
clear=^L, cols#80, home=^A, lines#25, cuu1=^Z, el=\EK,
hpa=^P%p1%{10}%/%{16}%*%p1%{10}%m%+%c, vpa=^K%p1%c,
cup=^N%p1%c^P%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
cuf1=^F, cud1=\n, ll=^K^X\r, smso=\E0P, rmso=\E0@,
superbrain|intertec superbrain,
cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H, ed=\E~k<10*>,
el=\E~K$<15>, bw, clear=\f$<5*>,
cup=\EY%p1%' '%+%c%p2%' '%+%c$<20>, cols#80,
kcud1=^J, kcub1=^U, kcuf1=^F, kcuu1=^K, lines#24,
cuf1=^F, ht=^I, rmcup=\f, smcup=\f, cuu1=^k,
# FREEDOM 100 by Liberty Electronics USA, SF.
f100|freedom|freedom100|freedom model 100,
am, bw, hs, mir, msgr, xon,
cols#80, lines#24,
acsc=+.'\,.-jHkGlFmEqKxJ, bel=^G, cbt=\EI, clear=^Z,
cr=\r, cub1=\b, cud1=\n, cuf1=\f,
cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^K, dch1=\EW,
dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
flash=\Eb$<50>\Ed, fsl=\r, home=^^,
hpa=\E]%p1%'\s'%+%c, ht=\t, hts=\E1, il1=\EE$<8.5*>,
ind=\n, ip=$<6>, is2=\Eg\Ef\r\Ed, kbs=\b, kcub1=\b,
kcud1=^V, kcuf1=\f, kcuu1=^K, kf0=^AI\r, kf1=^A@\r,
kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej,
rmacs=\E%, rmir=\Er, rmso=\EG0, rmul=\EG0, smacs=\E$,
smir=\Eq, smso=\EG4, smul=\EG8, tbc=\E3, tsl=\Eg\Ef,
vpa=\E[%p1%'\s'%+%c,
f100-rv|freedom-rv|freedom 100 in reverse video,
is2=\Eg\Ef\r\Eb, flash=\Ed$<50>\Eb, use=f100,
#
# Problem with vi(1). Liberty terminals use the ^V
# code for the down cursor key. When kcud1 is defined in terminfo
# as ^V, the Control Character Quoting capability (^V in insert mode)
# is lost! It cannot be remapped in vi because it is necessary to enter
# a ^V to to quote the ^V that is being remapped!!!
#
# f110 users will have to decide whether
# to lose the down cursor key or the quoting capability. We will opt
# initially for leaving the quoting capability out, since use of VI
# is not generally applicable to most interactive applications
#
# The same applies to f200 users, except that another option exists.
# This option has been chosen locally. It will not be distributed unless
# a user runs into this problem and requests assistance. Very few users,
# if any, should run into this problem. The local solution is in
# vifix.local.ti. The f200 has the ability to reprogram the down cursor
# key. The key is reprogrammed to ^J (linefeed). This value is remembered
# in non-volatile RAM, so powering the terminal off and on will not cause
# the change to be lost. The terminfo definition for the f200 is changed
# to identify kcud1 as ^J instead of ^V.
#
#
f110|freedom110|Liberty Freedom 110,
am, bel=^G, cols#80, lines#24, cr=^M, hs, mir, msgr,
eslok, xon, it#8, wsl#80, cbt=\EI,
tbc=\e3, clear=^Z,
el=\ET, ed=\EY, hpa=\E]%p1%' '%+%c, vpa=\E[%p1%' '%+%c,
cup=\e=%p1%' '%+%c%p2%' '%+%c, cud1=^V, home=^^,
cub1=\b, cuf1=^L, cuu1=^K, dch1=\eW,
dl1=\eR, dsl=\ef\r, smacs=\e$, rmacs=\e%%, blink=\eG2,
bold=\eG0, dim=\EG@, rev=\EG4, rmul=\eG0,
invis=\eG1, smso=\eG<, smul=\eG8, rmso=\eG0, sgr0=\eG0,
flash=\Eb\0\0\0\0\Ed, fsl=\r,
il1=\eE, kbs=\b, kclr=^^, kdch1=\eW, kdl1=\eR,
kel=\eT, ked=\eY, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
kf0=^AI\r, kich1=\eQ, kil1=\eE, kcub1=\b, kcuf1=^L, kcuu1=^K,
mc4=\ea, mc5=\e`, hts=\e1, tsl=\ef, ind=\n, ri=\eJ
smir=\eO\eq, rmir=\er\eO, kcud1=^V,
cnorm=\e.2, cvvis=\e.2, civis=\e.1,
f110-14|Liberty Freedom 110 14inch,
dch1@,use=f110,
f110-w|Liberty Freedom 110 - 132 cols,
cols#132, use=f110,
f110-14w|Liberty Freedom 110 14in/132 cols,
cols#132, dch1@, use=f110,
f200|freedom200|Liberty Freedom 200,
am, bel=^G, cols#80, lines#24, cr=^M, hs, mir, msgr,
eslok, xon, it#8, wsl#80, cbt=\EI,
csr=\em0%p1%' '%+%c%p2%' '%+%c, tbc=\e3, clear=^Z,
el=\ET, ed=\EY, hpa=\E]%p1%' '%+%c, vpa=\E[%p1%' '%+%c,
cup=\e=%p1%' '%+%c%p2%' '%+%c, cud1=^V, home=^^, civis=\e.0,
cub1=\b, cnorm=\e.1, cuf1=^L, cuu1=^K, cvvis=\e.1, dch1=\eW,
dl1=\eR, dsl=\ef\r, smacs=\e$, rmacs=\e%%, blink=\eG2,
bold=\eG0, dim=\EG@, smir=\eq, rmir=\er, rev=\EG4, rmul=\eG0,
invis=\eG1, smso=\eG<, smul=\eG8, rmso=\eG0, sgr0=\eG0,
flash=\Eo\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\en, fsl=\r,
il1=\eE, kbs=\b, kclr=^^, kdch1=\eW, kdl1=\eR, kcud1=^V,
kel=\eT, ked=\eY, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
kf0=^AI\r, kich1=\eQ, kil1=\eE, kcub1=\b, kcuf1=^L, kcuu1=^K,
mc4=\ea, mc5=\e`, hts=\e1, tsl=\ef, ind=\n, ri=\eJ,
f200-w|Liberty Freedom 200 - 132 cols,
cols#132, use=f200,
f200vi|Liberty Freedom 200 for vi,
am, bel=^G, cols#80, lines#24, cr=^M, hs, mir, msgr,
eslok, xon, it#8, wsl#80, cbt=\EI,
csr=\em0%p1%' '%+%c%p2%' '%+%c, tbc=\e3, clear=^Z,
el=\ET, ed=\EY, hpa=\E]%p1%' '%+%c, vpa=\E[%p1%' '%+%c,
cup=\e=%p1%' '%+%c%p2%' '%+%c, cud1=^V, home=^^, civis=\e.0,
cub1=\b, cnorm=\e.1, cuf1=^L, cuu1=^K, cvvis=\e.1, dch1=\eW,
dl1=\eR, dsl=\ef\r, smacs=\e$, rmacs=\e%%, blink=\eG2,
bold=\eG0, dim=\EG@, smir=\eq, rmir=\er, rev=\EG4, rmul=\eG0,
invis=\eG1, smso=\eG<, smul=\eG8, rmso=\eG0, sgr0=\eG0,
flash=\Eb\0\0\0\0\Ed, fsl=\r,
il1=\eE, kbs=\b, kclr=^^, kdch1=\eW, kdl1=\eR, kcud1=^J,
kel=\eT, ked=\eY, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
kf0=^AI\r, kich1=\eQ, kil1=\eE, kcub1=\b, kcuf1=^L, kcuu1=^K,
mc4=\ea, mc5=\e`, hts=\e1, tsl=\ef, ind=\n, ri=\eJ,
f200vi-w|Liberty Freedom 200 - 132 cols for vi,
cols#132, use=f200vi,
omron|omron 8025AG,
cr=^M, cud1=^J, ind=^J, bel=^G, il1=\EL, am, cub1=^H, ed=\ER,
cols#80, el=\EK, clear=\EJ, da, db, dch1=\EP, dl1=\EM, home=\EH,
lines#24, cuf1=\EC, rmso=\E4, ind=\ES, smso=\Ef, ri=\ET,
cuu1=\EA, cvvis=\EN,
plasma|plasma panel,
am, cub1=^H, clear=^L, cols#85, home=^^, lines#45, cuf1=\030,
cuu1=\026, cr=^M, cud1=^J, ind=^J, bel=^G,
ramtek|ramtek 6000,
cr=^M, cud1=^J, ind=^J, bel=^G, lines#24, cols#78, am,
clear=[alpha]\n[erase]\n, cub1=^H,
soroc|iq120|soroc 120,
am,
cols#80, lines#24,
bel=^G, clear=\E*$<2>, cr=\r, cub1=\b, cud1=\n,
cuf1=\f, cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^K,
ed=\EY, el=\ET, home=^^, ind=\n, kcub1=\b, kcud1=\n,
kcuf1=\f, kcuu1=^K,
# Info:
# Note standout and underline are really sg#1, but when you
# backspace up the whole screen does standout or underline!
# The solution is to not specify sg#1 and live with it.
#
# iq140 standout and underline are confused. What we have
# included here are reasonable possiblities for these two.
# Neither are really correct.
#
iq140|soroc 140,
cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#24, am,
clear=\E+, cub1=^H, cup=\E=%p1%' '%+%c%p2%' '%+%c, cuf1=^L, cuu1=^K,
home=^^, ll=^^^K, el=\Et, ed=\Ey, il1=\Ee$<1*>, dl1=\Er$<.7*>,
smir=\E9, cbt=\EI, rmir=\E8, mir, dch1=\Ew, smso=\E\177, rmso=\E\177,
kbs=^H, kcuf1=^L, khome=^^, kcuu1=^K, kf0=^A0\r,
kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, smul=\E^A,
rmul=\E^A,
swtp|ct82|southwest technical products ct82,
cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H, il1=^\^y,
ed=^v, el=^F, clear=^L, cup=^k%p2%c%p1%c, cols#82, lines#20, dl1=^z,
cuf1=^s, cuu1=^a, smso=^^^v, rmso=^^^F, dch1=^\^h, ich1=^\^x, home=^p,
ind=^n, ri=^o, ll=^c,
is2=^\^r^^^s^^^d^]^w^i^s^^^]^^^o^]^w^r^i,
# Info:
# Another new terminal, tested, seems to work fine with vi.
#
synertek|ktm|380|Synertek KTM 3/80 tubeless terminal,
am, cub1=^H, cols#80, lines#24, ed=\EJ, el=\EK, clear=^Z,
cup=\E=%p1%' '%+%c%p2%' '%+%c, cuu1=^K, cuf1=^L,
# Info:
# TAB
# The tab 132 uses xon/xoff, so no padding needed.
# smkx/rmkx have nothing to do with arrow keys.
# is2 sets 80 col mode, normal video, autowrap on (for am).
# Seems to be no way to get rid of status line.
#
tab132|tab|tab 132/15,
am, da, db, mir, msgr, xenl, xon,
cols#80, it#8, lines#24, lm#96, vt#3,
acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
clear=\E[H\E[J$<50>, cr=\r, csr=\E[%i%p1%d;%p2%dr,
cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
cuf=\E[%p1%dC, cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH,
cuu=\E[%p1%dA, cuu1=\E[A$<2>, dch1=\E[P, dl1=\E[M,
ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
enacs=\E(B\E)0, home=\E[H, ht=\t, hts=\EH, il1=\E[L,
ind=\n, is2=\E[?7h\E[?3l\E[?5l, ka1=\EOq, ka3=\EOs,
kb2=\EOr, kbs=\b, kc1=\EOp, kc3=\EOn, kcub1=\E[D,
kcud1=\E[B, kcuf1=\EOC, kcuu1=\E[A, kent=\EOM,
kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR,
kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl,
kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O,
rmir=\E[4l, rmso=\E[m$<2>, rmul=\E[m$<2>,
rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;,
sgr0=\E[m^O$<2>, smacs=^N, smir=\E[4h,
smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
tab132-w,
cols#132, is2=\E[?7h\E[?3h\E[?5l, use=tab132,
tab132-rv,
is2=\E[?7h\E[?3l\E[?5h, use=tab132,
tab132-w-rv,
is2=\E[?7h\E[?3h\E[?5h, use=tab132-w,
# Info:
# TEC (various terminals labelled "tec" - manufacturers unknown)
# tec is untested, and taken from CB/Unix virtual terminal driver.
# Upper case terminal, uses lower case for control sequences!!!
# The driver shows the C ~ operator used on CM coordinates.
#
tec400|tec scope,
cr=^M, cud1=^J, ind=^J, bel=^G, cup=l%p2%~%c%p1%~%c,
cuu1=x, cud1=h, cuf1=g, cub1=w, home=i, smso={, rmso=|,
xmc#1, clear=f, il1=e, dl1=u, ich1=d, dch1=t, el=c, ed=s,
tec500|tec 500,
cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H,
cup=\E=%p1%' '%+%c%p2%' '%+%c, clear=^Z$<20>,
cols#80, home=^^, lines#24, cuf1=^L, cuu1=^K, smso=^], rmso=^\,
tec,
lines#24, cols#80, clear=^l, cuu1=^k, cuf1=\037, am,
cub1=^H, home=\036, cr=^M, cud1=^J, ind=^J, bel=^G,
teletec|teletec datascreen,
cr=^M, cud1=^J, ind=^J, bel=^G,
am, cub1=^H, cols#80, clear=^l, home=^^, lines#24, cuf1=^_, cuu1=^k,
vc404|volker-craig 404,
cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H, ed=^W$<40>, el=^V$<20>,
clear=^X$<40>, cup=^P%p1%' '%+%c%p2%' '%+%c, cols#80, home=^Y$<40>,
kcud1=^J, kcub1=^H, kcuf1=^U, kcuu1=^Z, lines#24, cuf1=^U, cuu1=^Z,
vc404-s|volker-craig 404 w/standout mode,
rmso=^O, smso=^N, use=vc404,
vc404-na|volker-craig 404 w/no arrow keys,
kcuf1@, kcuu1@, use=vc404,
vc404-s-na|volker-craig 404 w/standout mode and no arrow keys,
rmso=^O, smso=^N, use=vc404-na,
vc415|volker-craig 415,
clear=^L, use=vc404,
# Info:
# Missing in vc303a and vc303 descriptions: they scroll 2 lines
# at a time every other linefeed.
#
vc303-a|vc403a|volker-craig 303a,
cr=^M, cud1=^J, bel=^G, am, cub1=^H, el=^V$<20>, clear=^X$<40>,
cols#80, home=^Y$<40>, kcud1=^J, kcub1=^H, kcuf1=^U,
kcuu1=^Z, lines#24, ll=^P^@W, cuf1=^U, cuu1=^Z,
vc303|vc103|vc203|volker-craig 303,
cr=^M, cud1=^J, bel=^G, am, cub1=^H, clear=^L$<40>, cols#80,
home=^K$<40>, kcud1=^J, kcub1=^H, kcuf1=^I, kcuu1=^N, lines#24,
ll=^O$<1>W, cuf1=^I, cuu1=^N,
zen30|z30|zentec 30,
cr=^M, cud1=^J, ind=^J, bel=^G, mir, cols#80, lines#24,
ul, il1=\EE$<1.5*>, cub1=^H, el=\ET$<1.0*>,
cup=\E=%p1%' '%+%c%p2%' '%+%c, clear=\E*, home=^^, cuf1=^L,
rmso=\EG0, smso=\EG6, cuu1=^K, smir=\Eq, rmir=\Er,
am, dch1=\EW, dl1=\ER$<1.5*>, ed=\EY,
# Info:
# COMPUCOLOR, ISC, INTECOLOR (?)
# These compucolors appear similar, but they at least have
# different sized screens. I don't know what's going on here.
#
# There is further confusion since intecolor seems to call
# themselves isc too.
#
# The following termcap for the Intelligent Systems Corporation
# 8001 color terminal with lower-case and 48-line options
# disallows global motion to get around the 2-lines-at-a-time
# scrolling problem. It has been tested and works fine except
# when indented lines are scrolled in from the bottom of the
# screen. The latter problem originates with firmware which
# interprets NL as NL-CR when the cursor is on the bottom line
# of the screen.
#
8001|isc|isc8001|compucolor 8001,
cr=^M$<1>, cud1=^J$<1>, ind=^J$<1>, bel=^G, am, cols#80, lines#47,
il1=\EU$<5*>, dl1=\EV^\$<5*>, clear=^L$<31>, smir=^S\EQ$<1>,
rmir=^R\EK$<1>, kcub1=^Z, kcuf1=^Y, kcuu1=^\, kcud1=^J, khome=^H,
cub1=^Z$<1>, cuf1=^Y$<1>, cuu1=^\$<1>, smul=^Q$<1>, rmul=^R$<1>,
# cup=^C%p2%c%p1%c,
compucolor2|compucolorii|compucolor 2,
cr=^M, cud1=^J, ind=^J, bel=^G,
ht=^I, am, cup=^C%p2%c%p1%c, cub1=^Z, lines#32, cols#64,
clear=^L, home=^H, cuf1=^Y, cuu1=^\,
# Info:
# INTERACTIVE SYSTEMS
# smkx/rmkx from dgc, to make insert mode key work in Rand Editor.
# probably needs more keys defined.
#
intext|Interactive Systems Corporation modified owl 1200,
cr=^M, cud1=^J, ind=^J, bel=^G, il1=\020$<5.5*>, am, cub1=^_,
cub1=^H, cbt=^Y, ed=\026J$<5.5*>, el=^K\160^R,
clear=\014$<132>, cup=\017%p1%' '%+%c%p2%' '%+%c, cols#80,
dch1=\022$<5.5*>, dl1=\021$<5.5*>, rmir=\026\074,
smir=\026\073, ip=$<5.5*>, lines#24, cuf1=\036, ht=^I,
cuu1=\034, rmso=^V# , xmc#1, smso=^V$\054,
smkx=\036\072\264\026%, rmkx=\269,
kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=\034, kbs=^H, khome=^Z,
kf1=^VA\r, kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r,
kf6=^VF\r, kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, kf0=^VJ\r,
intext2|intextii|INTERACTIVE modified owl 1251,
am, bw, ul, cols#80, lines#24,
bel=^G, blink=\E[10\sD, bold=\E[22\sD, cbt=\E[Z,
clear=\E[H\E[2J, cr=\r, cub=\E[%p1%dD, cub1=\E[D,
cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
cup=\E[%?%p1%t%p1%{1}%+%d%;%?%p2%t%p2%{1}%+;%d%;H,
cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
dim=\E[0\sD, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
flash=\E[;;;;;;;;;2;;u\E[;;;;;;;;;1;;u, home=\E[H,
hpa=\E[%?%p1%t%p1%{1}%+%d%;G, ht=\t, ich=\E[%p1%d@,
ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
indn=\E[%p1%dS, kbs=\b, kcub1=\ED\r, kcud1=\EB\r,
kcuf1=\EC\r, kcuu1=\EA\r, kf0=\E@\r, kf1=\EP\r,
kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r, kf5=\EU\r, kf6=\EV\r,
kf7=\EW\r, kf8=\EX\r, kf9=\EY\r, khome=\ER\r,
lf0=REFRSH, lf1=DEL\sCH, lf2=TABSET, lf3=GOTO,
lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT,
lf9=RIGHT, rev=\E[6\sD, ri=\E[T, rin=\E[%p1%dT,
rmso=\E[2\sD, rmul=\E[2\sD,
sgr=\E[%?%p5%t%{0}%e%{2}%;%?%p1%p3%|%p6%|%t%{4}%e%{0}%;%|%?%p4%t%{8}%e%{0}%;%|%?%p2%p6%|%t%{16}%e%{0}%;%|%d\sD,
sgr0=\E[2\sD, smso=\E[6\sD, smul=\E[18\sD,
# ncr: NCR
#
# The 7900 model 1 is the default 7900 type terminal, so ``7900'' refers to it.
# 7900 is not used by other terminals, so there is no name clash.
ncr7900i|7900i|ncr7900|7900|ncr 7900 model 1,
am, bel=^G, bw, clear=^L, cols#80, cr=^M,
cub1=^H, cud1=^J, cuf1=^F, cuu1=^Z,
ind=^J, ll=^A,
cup=\E1%p2%c%p1%c,
ed=\Ek, el=\EK,
kcud1=^J, kcub1=^U, kcuf1=^F, kcuu1=^Z, khome=^A,
is2=\E0@\E3\E4, lines#24,
rmso=\E0@, xmc#1, smso=\E0Q,
blink=\E0B, dim=\E0A, rev=\E0P,
smul=\E0`, rmul=\E0@, ul, sgr0=\E0@,
# Since each attribute paramter is 0 or 1, we shift each attribute (standout,
# reverse, blink, dim, and underline) the appropriate number of bits (by
# multiplying the 0 or 1 by a coorect factor to shift) so the bias character,
# '@' is (effectively) "or"ed with each attribute to generate the proper third
# character in the <ESC>0 sequence. The "sgr" string implements the following
# equation:
#
# ((((('@' + P5) | (P4 << 1)) | (P3 << 3)) | (P2 << 4)) | (p1 * 17)) =>
# ((((('@' + P5) + (P4 << 1)) + (P3 << 3)) + (P2 << 4)) + (p1 * 17))
#
# Where: P1 <==> Standout attribute parameter
# P2 <==> Underline attribute parameter
# P3 <==> Reverse attribute parameter
# P4 <==> Blink attribute parameter
# P5 <==> Dim attribute parameter
sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c,
mc4=^T, mc5=^R,
# It seem users have a couple odd problems with ``vi'' when we define arrows,
# since the arrow character has an otherwise special meaning to ``vi''.
7900i-na|ncr7900i-na|ncr7900-na|7900-na|ncr 7900 model 1 with no arrows,
kcud1@, kcub1@, kcuf1@, kcuu1@, use=ncr7900i,
# The entry for the model 4 is mostly untested. People seem to prefer
# other models. This is a pretty outdated model.
7900iv|ncr7900iv|ncr 7900 model 4,
am, bw, hs, eslok,
cols#80, lines#24,
bel=^G, cr=\r, clear=\f,
cup=^K%p1%'@'%+%c\E^E%p2%02d, cud1=\n, home=^K@\E^E00,
cub1=\b, dl1=\E^O, dsl=\Ey1,
fsl=\Ek\Ey5, il1=\E^N, kbs=\b,
kcud1=\EB, kf1=\ES, kf2=\ET,
kf3=\EU, kf4=\EV, kf5=\EW,
kf6=\EP, kf7=\EQ, kf8=\ER,
khome=\EH, kcub1=\ED, kcuf1=\EC,
kcuu1=\EA, lf6=blue, lf7=red,
lf8=white, nel=\r\n, ind=\n,
tsl=\Ej\Ex5\Ex1\EY8%p1%' '%+%c\Eo,
ind=^J,
# Warning: This terminal will lock out the keyboard when it receives a CTRL-D.
# The user can enter a CTRL-B to get out of this locked state.
ncr7901|7901|ncr 7901 model,
cols#80, lines#24,
am, bel=^G, bw, clear=^L, cr=^M,
cub1=^H, cud1=^J, cuf1=^F, cuu1=^Z,
ind=^J, ll=^A,
ed=\Ek, el=\EK,
civis=^W, cnorm=^X,
mc4=^T, mc5=^R,
kcud1=^J, kcub1=^U, kcuf1=^F, kcuu1=^Z, kclr=^L, khome=^A,
is2=^X,
.is2=\E4^O^X,
cup=\EY%p1%' '%+%c%p2%' '%+%c,
vpa=^K%p1%'@'%+%c,
# We want to output the character given by the formula:
# ((col / 10) * 16) + (col % 10) where "col" is "p1"
hpa=^P%p1%{10}%/%{16}%*%p1%{10}%m%+%c,
sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c^N,
blink=\E0B, dim=\E0A, rev=\E0P,
smso=\E0Q^N, rmso=^O, .msgr,
smul=\E0`^N, rmul=^O, sgr0=^O, ul,
#
#
#
t88|Synco T88 terminal,
am, xon,
cols#80, lines#24, xmc#0,
bel=^G, clear=^Z, cr=\r, cub1=\b, cud1=\n, cuf1=\f,
cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^K, dch1=\EW,
dl1=\ER$<1*>, el=\ET, home=^^, ht=\t, ich1=\EQ,
if=/usr/share/lib/tabset/stdcrt, il1=\EE$<1*>, ind=\n,
kbs=\b, kcub1=\b, kcud1=\n, kcuf1=\f, kcuu1=^K,
kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r,
kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r,
rmso=\E(, rmul=\Em, smso=\E), smul=\El,
#
#
t88-nr|Synco T88 terminal without rev video,
am, xon,
cols#80, lines#24,
bel=^G, clear=^Z, cr=\r, cub1=\b, cud1=\n, cuf1=\f,
cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^K, dch1=\EW,
dl1=\ER$<1*>, el=\ET, home=^^, ht=\t, ich1=\EQ,
if=/usr/share/lib/tabset/stdcrt, il1=\EE$<1*>, ind=\n,
kbs=\b, kcub1=\b, kcud1=\n, kcuf1=\f, kcuu1=^K,
kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r,
kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r,
rmul=\Em, smul=\El,
i279|Intel SBX279,
cols#80, lines#25,
#### acsc=''aaffggj\343k\341l\340m\342n\352q\350t\346u\345v\347w\344x\351,
bel=^G, clear=\E+, cr=\r, cub1=\b, cud1=\n, cuf1=\f,
cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^K, dl1=\ER,
ed=\EY, el=\ET, home=^^, il1=\EE, ind=\n, is2=\Er\E+,
kcub1=\b, kcud1=\n, kcuf1=\f, kcuu1=^K, kdl1=\ER,
khome=^^, kil1=\EE,
smso=\Ej, rmso=\Ek,
sgr0=\Ek$<2>,
|