# 2.11BSD#431 - /usr/src/sys/h/ttydev.h

##### Macros

    B0                X
    B110              X
    B1200             X
    B134              X
    B150              X
    B1800             X
    B200              X
    B2400             X
    B300              X
    B4800             X
    B50               X
    B600              X
    B75               X
    B9600             X
    DMBIC             X
    DMBIS             X
    DMGET             X
    DMSET             X
    DONE              X
    EXTA              X
    EXTB              X
    IENABLE           X
    _TTYDEV_          X

       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

- in /usr/src/bin/stty/stty.c line 30
- in /usr/src/bin/tcsh/ed.screen.c line 84-85(2)
- in /usr/src/new/kermit5.188/ckutio.c line 1721-1722(2), 1941, 3124, 3251
- in /usr/src/ucb/tset/tset.c line 309
- in /usr/src/usr.bin/uucp/aculib/att2224.c line 140-143(3)
- in /usr/src/usr.bin/uucp/aculib/df12.c line 141-142(2)
- in /usr/src/usr.bin/uucp/aculib/hys.c line 164-165(2)
- in /usr/src/usr.bin/uucp/aculib/hysq.c line 133-134(2)
- in /usr/src/usr.bin/uucp/aculib/nov.c line 96-97(2)
- in /usr/src/usr.bin/uucp/cico.c line 689-690(2)

B110 defined in line 21; used 19 times

- in /usr/src/bin/stty/stty.c line 33
- in /usr/src/bin/tcsh/ed.screen.c line 93-94(2)
- in /usr/src/libexec/getty/subr.c line 232
- in /usr/src/local/zmodem/rbsb.c line 80
- in /usr/src/new/kermit5.188/ckutio.c line 3128, 3268, 4177
- in /usr/src/old/cu/cu.c line 176
- in /usr/src/sbin/slattach/slattach.c line 75-76(2)
- in /usr/src/sys/pdpuba/dh.c line 424
- in /usr/src/sys/pdpuba/dhu.c line 462
- in /usr/src/sys/pdpuba/dhv.c line 489
- in /usr/src/sys/pdpuba/dz.c line 381
- in /usr/src/ucb/tset/tset.c line 312
- in /usr/src/usr.bin/uucp/conn.c line 462-463(2)
- in /usr/src/usr.sbin/lpr/printjob.c line 1199

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

- in /usr/src/bin/stty/stty.c line 34-35(2)
- in /usr/src/bin/tcsh/ed.screen.c line 96-97(2)
- in /usr/src/libexec/getty/subr.c line 233
- in /usr/src/new/kermit5.188/ckutio.c line 3273
- in /usr/src/sys/pdpuba/dh.c line 416
- in /usr/src/sys/pdpuba/dhu.c line 454
- in /usr/src/sys/pdpuba/dhv.c line 474
- in /usr/src/ucb/tset/tset.c line 313-314(2)
- in /usr/src/usr.sbin/lpr/printjob.c line 1200

B150 defined in line 23; used 16 times

- in /usr/src/bin/stty/stty.c line 36
- in /usr/src/bin/tcsh/ed.screen.c line 99-100(2)
- in /usr/src/libexec/getty/subr.c line 234
- in /usr/src/new/kermit5.188/ckutio.c line 3130, 3276, 4179
- in /usr/src/old/cu/cu.c line 178
- in /usr/src/sbin/slattach/slattach.c line 78-79(2)
- in /usr/src/ucb/tset/tset.c line 315
- in /usr/src/usr.bin/tabs.c line 99
- in /usr/src/usr.bin/uucp/condevs.c line 426
- in /usr/src/usr.bin/uucp/conn.c line 465-466(2)
- in /usr/src/usr.sbin/lpr/printjob.c line 1201

B1800 defined in line 28; used 12 times

- in /usr/src/bin/stty/stty.c line 41
- in /usr/src/bin/tcsh/ed.screen.c line 117-118(2)
- in /usr/src/libexec/getty/subr.c line 239
- in /usr/src/new/kermit5.188/ckutio.c line 3139, 3294
- in /usr/src/sbin/slattach/slattach.c line 93-94(2)
- in /usr/src/ucb/tset/tset.c line 320
- in /usr/src/usr.bin/uucp/conn.c line 480-481(2)
- in /usr/src/usr.sbin/lpr/printjob.c line 1206

B200 defined in line 24; used 12 times

- in /usr/src/bin/stty/stty.c line 37
- in /usr/src/bin/tcsh/ed.screen.c line 102-103(2)
- in /usr/src/libexec/getty/subr.c line 235
- in /usr/src/new/kermit5.188/ckutio.c line 3131, 3281
- in /usr/src/sbin/slattach/slattach.c line 81-82(2)
- in /usr/src/ucb/tset/tset.c line 316
- in /usr/src/usr.bin/uucp/conn.c line 468-469(2)
- in /usr/src/usr.sbin/lpr/printjob.c line 1202

B2400 defined in line 29; used 20 times

- in /usr/src/bin/stty/stty.c line 42
- in /usr/src/bin/tcsh/ed.screen.c line 120-121(2)
- in /usr/src/games/warp/term.c line 275, 282-285(2)
- in /usr/src/libexec/getty/subr.c line 240
- in /usr/src/local/zmodem/rbsb.c line 84
- in /usr/src/new/kermit5.188/ckutio.c line 3141, 3297
- in /usr/src/old/cu/cu.c line 185
- in /usr/src/sbin/slattach/slattach.c line 99-100(2)
- in /usr/src/ucb/ex/ex_set.c line 64-68(2)
- in /usr/src/ucb/ex/ex_tty.c line 169
- in /usr/src/ucb/tset/tset.c line 321
- in /usr/src/usr.bin/uucp/conn.c line 486-487(2)
- in /usr/src/usr.sbin/lpr/printjob.c line 1207

B300 defined in line 25; used 19 times

- in /usr/src/bin/stty/stty.c line 38, 444
- in /usr/src/bin/tcsh/ed.screen.c line 105-106(2)
- in /usr/src/libexec/getty/subr.c line 236, 263
- in /usr/src/local/zmodem/rbsb.c line 81
- in /usr/src/new/kermit5.188/ckutio.c line 3133, 3285
- in /usr/src/old/cu/cu.c line 181
- in /usr/src/sbin/slattach/slattach.c line 84-85(2)
- in /usr/src/ucb/ex/ex_voper.c line 266, 587
- in /usr/src/ucb/tset/tset.c line 317
- in /usr/src/usr.bin/tabs.c line 96
- in /usr/src/usr.bin/uucp/conn.c line 471-472(2)
- in /usr/src/usr.sbin/lpr/printjob.c line 1203

B4800 defined in line 30; used 17 times

- in /usr/src/bin/stty/stty.c line 43
- in /usr/src/bin/tcsh/ed.screen.c line 126-127(2)
- in /usr/src/games/warp/term.c line 274, 281
- in /usr/src/libexec/getty/subr.c line 241
- in /usr/src/local/zmodem/rbsb.c line 85
- in /usr/src/new/kermit5.188/ckutio.c line 3142, 3300
- in /usr/src/new/rn/term.c line 224
- in /usr/src/sbin/slattach/slattach.c line 105-106(2)
- in /usr/src/sys/pdpuba/dz.c line 76
- in /usr/src/ucb/tset/tset.c line 322
- in /usr/src/usr.bin/uucp/conn.c line 492-493(2)
- in /usr/src/usr.sbin/lpr/printjob.c line 1208

B50 defined in line 19; used 13 times

- in /usr/src/bin/stty/stty.c line 31
- in /usr/src/bin/tcsh/ed.screen.c line 87-88(2)
- in /usr/src/libexec/getty/subr.c line 230
- in /usr/src/new/kermit5.188/ckutio.c line 3125, 3260, 4756
- in /usr/src/sbin/slattach/slattach.c line 69-70(2)
- in /usr/src/ucb/tset/tset.c line 310
- in /usr/src/usr.bin/uucp/conn.c line 456-457(2)
- in /usr/src/usr.sbin/lpr/printjob.c line 1197

B600 defined in line 26; used 15 times

- in /usr/src/bin/stty/stty.c line 39
- in /usr/src/bin/tcsh/ed.screen.c line 108-109(2)
- in /usr/src/games/warp/term.c line 277
- in /usr/src/libexec/getty/subr.c line 237
- in /usr/src/local/zmodem/rbsb.c line 82
- in /usr/src/new/PORT/B/src/bed/unix.c line 282
- in /usr/src/new/kermit5.188/ckutio.c line 3135, 3288
- in /usr/src/sbin/slattach/slattach.c line 87-88(2)
- in /usr/src/ucb/tset/tset.c line 318
- in /usr/src/usr.bin/uucp/conn.c line 474-475(2)
- in /usr/src/usr.sbin/lpr/printjob.c line 1204

B75 defined in line 20; used 13 times

- in /usr/src/bin/stty/stty.c line 32
- in /usr/src/bin/tcsh/ed.screen.c line 90-91(2)
- in /usr/src/libexec/getty/subr.c line 231
- in /usr/src/new/kermit5.188/ckutio.c line 3126, 3144, 3263
- in /usr/src/sbin/slattach/slattach.c line 72-73(2)
- in /usr/src/ucb/tset/tset.c line 311
- in /usr/src/usr.bin/uucp/conn.c line 459-460(2)
- in /usr/src/usr.sbin/lpr/printjob.c line 1198

B9600 defined in line 31; used 31 times

- in /usr/src/bin/stty/stty.c line 44
- in /usr/src/bin/tcsh/ed.screen.c line 132-133(2)
- in /usr/src/games/snake/snake.c line 163
- in /usr/src/games/warp/term.c line 273, 280
- in /usr/src/libexec/getty/subr.c line 242
- in /usr/src/local/zmodem/rbsb.c line 86
- in /usr/src/new/kermit5.188/ckutio.c line 3146, 3303, 5307
- in /usr/src/new/rn/term.c line 222
- in /usr/src/sbin/slattach/slattach.c line 111-112(2)
- in /usr/src/sys/autoconfig/dhauto.c line 23(2)
- in /usr/src/sys/pdpuba/dh.c line 157-158(2)
- in /usr/src/sys/pdpuba/dhu.c line 48
- in /usr/src/sys/pdpuba/dhv.c line 159-160(2)
- in /usr/src/sys/pdpuba/dz.c line 73
- in /usr/src/ucb/Mail/main.c line 277
- in /usr/src/ucb/tn3270/datastream.c line 89
- in /usr/src/ucb/tset/tset.c line 323
- in /usr/src/usr.bin/uucp/conn.c line 498-499(2)
- in /usr/src/usr.sbin/lpr/printjob.c line 1209
- in /usr/src/usr.sbin/ntp/read_psti.c line 114(2), 124

DMBIC defined in line 48; used 12 times

- in /usr/src/sys/pdpuba/dh.c line 342, 351
- in /usr/src/sys/pdpuba/dhu.c line 203, 373, 379, 388
- in /usr/src/sys/pdpuba/dhv.c line 208, 393, 399, 408
- in /usr/src/sys/pdpuba/dz.c line 303, 315

DMBIS defined in line 47; used 10 times

- in /usr/src/sys/pdpuba/dh.c line 339, 348
- in /usr/src/sys/pdpuba/dhu.c line 370, 376, 385
- in /usr/src/sys/pdpuba/dhv.c line 390, 396, 405
- in /usr/src/sys/pdpuba/dz.c line 299, 311

DMGET defined in line 49; used 5 times

- in /usr/src/sys/pdpuba/dh.c line 175, 354
- in /usr/src/sys/pdpuba/dhu.c line 391
- in /usr/src/sys/pdpuba/dhv.c line 411
- in /usr/src/sys/pdpuba/dz.c line 319

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

- in /usr/src/bin/stty/stty.c line 45-46(2)
- in /usr/src/bin/tcsh/ed.screen.c line 135-136(2)
- in /usr/src/libexec/getty/subr.c line 243-244(2)
- in /usr/src/local/zmodem/rbsb.c line 87
- in /usr/src/new/kermit5.188/ckutio.c line 3150-3151(2), 3309
- in /usr/src/sbin/slattach/slattach.c line 114-115(2)
- in /usr/src/ucb/tset/tset.c line 324-325(2)
- in /usr/src/usr.bin/uucp/conn.c line 504-505(2)
- in /usr/src/usr.sbin/lpr/printjob.c line 1210

EXTB defined in line 33; used 16 times

- in /usr/src/bin/stty/stty.c line 47-48(2)
- in /usr/src/bin/tcsh/ed.screen.c line 141-142(2)
- in /usr/src/libexec/getty/subr.c line 245-247(3)
- in /usr/src/local/zmodem/rbsb.c line 88
- in /usr/src/new/kermit5.188/ckutio.c line 3157-3158(2), 3318
- in /usr/src/sbin/slattach/slattach.c line 117-118(2)
- in /usr/src/sys/sys/tty_pty.c line 73
- in /usr/src/ucb/tset/tset.c line 326
- in /usr/src/usr.sbin/lpr/printjob.c line 1211

IENABLE defined in line 41; never used
_TTYDEV_ defined in line 13; used 1 times

- in line 12

#### Usage of this include

ttydev.h used 4 times

- in /usr/src/sys/h/ioctl.h line 16-19(2)
- in /usr/src/sys/h/tty.h line 11-14(2)

Last modified: 1987-05-16 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 756 |