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
|
/*
* 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
*/
#ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.5 */
/*
** SYSTEM DEPENDENT TERMINAL DELAY TABLES
**
** CB/Unix 2.3
**
** This looks like V7, and it even works, but the kernel really
** only has one bit for each kind of delay so it's somewhat
** inaccurate. But it tries to simulate v7.
**
** This file maintains the correspondence between the delays
** defined in /etc/termcap and the delay algorithms on a
** particular system. For each type of delay, the bits used
** for that delay must be specified (in XXbits) and a table
** must be defined giving correspondences between delays and
** algorithms. Algorithms which are not fixed delays (such
** as dependent on current column or line number) must be
** kludged in some way at this time.
*/
/*
** Carriage Return delays
*/
int CRbits = CRDELAY;
struct delay CRdelay[] =
{
0, CR0,
9, CR3,
80, CR1,
160, CR2,
-1
};
/*
** New Line delays
*/
int NLbits = NLDELAY;
struct delay NLdelay[] =
{
0, NL0,
66, NL1, /* special M37 delay */
100, NL2,
-1
};
/*
** Back Space delays
*/
int BSbits = BSDELAY;
struct delay BSdelay[] =
{
0, BS0,
-1
};
/*
** TaB delays
*/
int TBbits = TBDELAY;
struct delay TBdelay[] =
{
0, TAB0,
11, TAB1, /* special M37 delay */
-1
};
/*
** Form Feed delays
*/
int FFbits = VTDELAY;
struct delay FFdelay[] =
{
0, FF0,
2000, FF1,
-1
};
#ifdef CBVIRTTERM
/*
* Map from the universal tables in termcap to the particular numbers
* this system uses. The lack of standardization of terminal numbers
* is a botch but such is life.
*/
struct vt_map {
char stdnum;
char localnum;
} vt_map[] = {
#ifdef TERM_TEC
1, TERM_TEC,
#endif
#ifdef TERM_V61
2, TERM_V61,
#endif
#ifdef TERM_V10
3, TERM_V10,
#endif
#ifdef TERM_TEX
4, TERM_TEX,
#endif
#ifdef TERM_D40
5, TERM_D40,
#endif
#ifdef TERM_H45
6, TERM_H45,
#endif
#ifdef TERM_D42
7, TERM_D42,
#endif
#ifdef TERM_C100
8, TERM_C100,
#endif
#ifdef TERM_MIME
9, TERM_MIME,
#endif
0,0
};
#endif
|