8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / vi / misc / del.h.cb
blob1f9c44a8368b33c3eccefc410b0997ad6eacbdc7
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
22 #ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.5 */
24 ** SYSTEM DEPENDENT TERMINAL DELAY TABLES
26 ** CB/Unix 2.3
28 ** This looks like V7, and it even works, but the kernel really
29 ** only has one bit for each kind of delay so it's somewhat
30 ** inaccurate. But it tries to simulate v7.
32 ** This file maintains the correspondence between the delays
33 ** defined in /etc/termcap and the delay algorithms on a
34 ** particular system. For each type of delay, the bits used
35 ** for that delay must be specified (in XXbits) and a table
36 ** must be defined giving correspondences between delays and
37 ** algorithms. Algorithms which are not fixed delays (such
38 ** as dependent on current column or line number) must be
39 ** kludged in some way at this time.
45 ** Carriage Return delays
48 int CRbits = CRDELAY;
49 struct delay CRdelay[] =
51 0, CR0,
52 9, CR3,
53 80, CR1,
54 160, CR2,
59 ** New Line delays
62 int NLbits = NLDELAY;
63 struct delay NLdelay[] =
65 0, NL0,
66 66, NL1, /* special M37 delay */
67 100, NL2,
73 ** Back Space delays
76 int BSbits = BSDELAY;
77 struct delay BSdelay[] =
79 0, BS0,
85 ** TaB delays
88 int TBbits = TBDELAY;
89 struct delay TBdelay[] =
91 0, TAB0,
92 11, TAB1, /* special M37 delay */
98 ** Form Feed delays
101 int FFbits = VTDELAY;
102 struct delay FFdelay[] =
104 0, FF0,
105 2000, FF1,
109 #ifdef CBVIRTTERM
111 * Map from the universal tables in termcap to the particular numbers
112 * this system uses. The lack of standardization of terminal numbers
113 * is a botch but such is life.
115 struct vt_map {
116 char stdnum;
117 char localnum;
118 } vt_map[] = {
119 #ifdef TERM_TEC
120 1, TERM_TEC,
121 #endif
122 #ifdef TERM_V61
123 2, TERM_V61,
124 #endif
125 #ifdef TERM_V10
126 3, TERM_V10,
127 #endif
128 #ifdef TERM_TEX
129 4, TERM_TEX,
130 #endif
131 #ifdef TERM_D40
132 5, TERM_D40,
133 #endif
134 #ifdef TERM_H45
135 6, TERM_H45,
136 #endif
137 #ifdef TERM_D42
138 7, TERM_D42,
139 #endif
140 #ifdef TERM_C100
141 8, TERM_C100,
142 #endif
143 #ifdef TERM_MIME
144 9, TERM_MIME,
145 #endif
148 #endif