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