1: /*
2: * Copyright (c) 1982, 1986 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)ttydev.h 7.1 (Berkeley) 6/4/86
7: */
8:
9: /*
10: * Terminal definitions related to underlying hardware.
11: */
12: #ifndef _TTYDEV_
13: #define _TTYDEV_
14:
15: /*
16: * Speeds
17: */
18: #define B0 0
19: #define B50 1
20: #define B75 2
21: #define B110 3
22: #define B134 4
23: #define B150 5
24: #define B200 6
25: #define B300 7
26: #define B600 8
27: #define B1200 9
28: #define B1800 10
29: #define B2400 11
30: #define B4800 12
31: #define B9600 13
32: #define EXTA 14
33: #define EXTB 15
34:
35: #ifdef KERNEL
36: /*
37: * Hardware bits.
38: * SHOULD NOT BE HERE.
39: */
40: #define DONE 0200
41: #define IENABLE 0100
42:
43: /*
44: * Modem control commands.
45: */
46: #define DMSET 0
47: #define DMBIS 1
48: #define DMBIC 2
49: #define DMGET 3
50: #endif
51: #endif
Defined macros
B0
defined in line
18; used 22 times
B110
defined in line
21; used 19 times
B1200
defined in line
27; used 38 times
- in /usr/src/bin/stty/stty.c line
40,
239,
248,
265
- in /usr/src/bin/tcsh/ed.screen.c line
114-115(2)
- in /usr/src/games/trek/main.c line
144
- in /usr/src/games/warp/term.c line
276,
283
- in /usr/src/games/worm.c line
75
- in /usr/src/libexec/getty/main.c line
292,
301
- in /usr/src/libexec/getty/subr.c line
238
- in /usr/src/local/zmodem/rbsb.c line
83
- in /usr/src/new/kermit5.188/ckutio.c line
3137,
3144,
3291
- in /usr/src/old/cu/cu.c line
183
- in /usr/src/sbin/slattach/slattach.c line
90-91(2)
- in /usr/src/ucb/Mail/main.c line
278-280(2)
- in /usr/src/ucb/ex/ex_put.c line
1117
- in /usr/src/ucb/ex/ex_set.c line
56,
64
- in /usr/src/ucb/ex/ex_tty.c line
28,
37,
141,
167
- in /usr/src/ucb/ex/ex_vwind.c line
436
- in /usr/src/ucb/more/more.c line
1530
- in /usr/src/ucb/tset/tset.c line
319,
761
- in /usr/src/usr.bin/uucp/aculib/rvmacs.c line
98
- in /usr/src/usr.bin/uucp/aculib/va820.c line
64
- in /usr/src/usr.bin/uucp/conn.c line
477-478(2)
- in /usr/src/usr.sbin/lpr/printjob.c line
1205
B134
defined in line
22; used 12 times
B150
defined in line
23; used 16 times
B1800
defined in line
28; used 12 times
B200
defined in line
24; used 12 times
B2400
defined in line
29; used 20 times
B300
defined in line
25; used 19 times
B4800
defined in line
30; used 17 times
B50
defined in line
19; used 13 times
B600
defined in line
26; used 15 times
B75
defined in line
20; used 13 times
B9600
defined in line
31; used 31 times
DMBIC
defined in line
48; used 12 times
DMBIS
defined in line
47; used 10 times
DMGET
defined in line
49; used 5 times
DMSET
defined in line
46; used 16 times
- in /usr/src/sys/pdpuba/dh.c line
204,
345,
412,
660
- in /usr/src/sys/pdpuba/dhu.c line
166,
204,
382,
450
- in /usr/src/sys/pdpuba/dhv.c line
176,
209,
402,
470
- in /usr/src/sys/pdpuba/dz.c line
147,
182,
307,
371
DONE
defined in line
40;
never used
EXTA
defined in line
32; used 17 times
EXTB
defined in line
33; used 16 times
Usage of this include