Commit | Line | Data |
---|---|---|
a38e6c4a BJ |
1 | /* |
2 | ** SYSTEM DEPENDENT TERMINAL DELAY TABLES | |
3 | ** | |
4 | ** Evans Hall VAX | |
5 | ** | |
6 | ** This file maintains the correspondence between the delays | |
7 | ** defined in /etc/termcap and the delay algorithms on a | |
8 | ** particular system. For each type of delay, the bits used | |
9 | ** for that delay must be specified (in XXbits) and a table | |
10 | ** must be defined giving correspondences between delays and | |
11 | ** algorithms. Algorithms which are not fixed delays (such | |
12 | ** as dependent on current column or line number) must be | |
13 | ** cludged in some way at this time. | |
14 | */ | |
15 | ||
16 | ||
17 | ||
18 | /* | |
19 | ** Carriage Return delays | |
20 | */ | |
21 | ||
22 | int CRbits = CRDELAY; | |
23 | struct delay CRdelay[] = | |
24 | { | |
25 | 0, CR0, | |
26 | 9, CR3, | |
27 | 80, CR1, | |
28 | 160, CR2, | |
29 | -1 | |
30 | }; | |
31 | ||
32 | /* | |
33 | ** New Line delays | |
34 | */ | |
35 | ||
36 | int NLbits = NLDELAY; | |
37 | struct delay NLdelay[] = | |
38 | { | |
39 | 0, NL0, | |
40 | 66, NL1, /* special M37 delay */ | |
41 | 100, NL2, | |
42 | -1 | |
43 | }; | |
44 | ||
45 | ||
46 | /* | |
47 | ** Back Space delays | |
48 | */ | |
49 | ||
50 | int BSbits = BSDELAY; | |
51 | struct delay BSdelay[] = | |
52 | { | |
53 | 0, BS0, | |
54 | -1 | |
55 | }; | |
56 | ||
57 | ||
58 | /* | |
59 | ** TaB delays | |
60 | */ | |
61 | ||
62 | int TBbits = TBDELAY; | |
63 | struct delay TBdelay[] = | |
64 | { | |
65 | 0, TAB0, | |
66 | 11, TAB1, /* special M37 delay */ | |
67 | -1 | |
68 | }; | |
69 | ||
70 | ||
71 | /* | |
72 | ** Form Feed delays | |
73 | */ | |
74 | ||
75 | int FFbits = VTDELAY; | |
76 | struct delay FFdelay[] = | |
77 | { | |
78 | 0, FF0, | |
79 | 2000, FF1, | |
80 | -1 | |
81 | }; | |
9d872611 BJ |
82 | |
83 | #ifdef CBVIRTTERM | |
84 | /* | |
85 | * Map from the universal tables in termcap to the particular numbers | |
86 | * this system uses. The lack of standardization of terminal numbers | |
87 | * is a botch but such is life. | |
88 | */ | |
89 | struct vt_map { | |
90 | char stdnum; | |
91 | char localnum; | |
92 | } vt_map[] = { | |
93 | #ifdef TERM_TEC | |
94 | 1, TERM_TEC, | |
95 | #endif | |
96 | #ifdef TERM_V61 | |
97 | 2, TERM_V61, | |
98 | #endif | |
99 | #ifdef TERM_V10 | |
100 | 3, TERM_V10, | |
101 | #endif | |
102 | #ifdef TERM_TEX | |
103 | 4, TERM_TEX, | |
104 | #endif | |
105 | #ifdef TERM_D40 | |
106 | 5, TERM_D40, | |
107 | #endif | |
108 | #ifdef TERM_H45 | |
109 | 6, TERM_H45, | |
110 | #endif | |
111 | #ifdef TERM_D42 | |
112 | 7, TERM_D42, | |
113 | #endif | |
114 | #ifdef TERM_C100 | |
115 | 8, TERM_C100, | |
116 | #endif | |
117 | #ifdef TERM_MIME | |
118 | 9, TERM_MIME, | |
119 | #endif | |
120 | 0,0 | |
121 | }; | |
122 | #endif |