xref: /illumos-gate/usr/src/ucbcmd/tset/tset.delays.h (revision 1f5207b7604fb44407eb4342aff613f7c4508508)
1 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
2 /*	  All Rights Reserved  	*/
3 
4 
5 /*
6  * Copyright (c) 1980 Regents of the University of California.
7  * All rights reserved. The Berkeley software License Agreement
8  * specifies the terms and conditions for redistribution.
9  */
10 
11 /*
12  * Copyright (c) 1983, 1984 1985, 1986, 1987, 1988, Sun Microsystems, Inc.
13  * All Rights Reserved.
14  */
15 
16 #ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.1	*/
17 
18 /*
19 **  SYSTEM DEPENDENT TERMINAL DELAY TABLES
20 **
21 **
22 **	This file maintains the correspondence between the delays
23 **	defined in /etc/termcap and the delay algorithms on a
24 **	particular system.  For each type of delay, the bits used
25 **	for that delay must be specified (in XXbits) and a table
26 **	must be defined giving correspondences between delays and
27 **	algorithms.  Algorithms which are not fixed delays (such
28 **	as dependent on current column or line number) must be
29 **	cludged in some way at this time.
30 */
31 
32 
33 
34 /*
35 **  Carriage Return delays
36 */
37 
38 int	CRbits = CRDLY;
39 struct delay	CRdelay[] =
40 {
41 	0,	CR0,
42 	9,	CR3,
43 	80,	CR1,
44 	160,	CR2,
45 	-1
46 };
47 
48 /*
49 **  New Line delays
50 */
51 
52 int	NLbits = NLDLY;
53 struct delay	NLdelay[] =
54 {
55 	0,	NL0,
56 	66,	NL1,		/* special M37 delay */
57 	-1
58 };
59 
60 
61 /*
62 **  Back Space delays
63 */
64 
65 int	BSbits = BSDLY;
66 struct delay	BSdelay[] =
67 {
68 	0,	BS0,
69 	-1
70 };
71 
72 
73 /*
74 **  TaB delays
75 */
76 
77 int	TBbits = TABDLY;
78 struct delay	TBdelay[] =
79 {
80 	0,	TAB0,
81 	11,	TAB1,		/* special M37 delay */
82 	-1
83 };
84 
85 
86 /*
87 **  Form Feed delays
88 */
89 
90 int	FFbits = FFDLY;
91 struct delay	FFdelay[] =
92 {
93 	0,	FF0,
94 	2000,	FF1,
95 	-1
96 };
97 
98 
99 /*
100 **  Vertical Tab delays
101 */
102 
103 int 	VTbits = VTDLY;
104 struct delay	VTdelay[] =
105 {
106 	0, 	VT0,
107 	2000,	VT1,
108 	-1
109 };
110 
111