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

##### Macros

    CBRK              X
    CCEQ              X
    CDSUSP            X
    CEOF              X
    CEOT              X
    CERASE            X
    CFLUSH            X
    CINTR             X
    CKILL             X
    CLNEXT            X
    CQUIT             X
    CRPRNT            X
    CSTART            X
    CSTOP             X
    CSUSP             X
    CTRL              X
    CWERASE           X
    _POSIX_VDISABLE   X
    _TTYCHARS_        X

##### struct's

    ttychars          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:  *	@(#)ttychars.h	7.2 (2.11BSD) 1997/4/15
       7:  */
       8:
       9: /*
      10:  * User visible structures and constants
      11:  * related to terminal handling.
      12:  */
      13: #ifndef _TTYCHARS_
      14: #define _TTYCHARS_
      15: struct ttychars {
      16:     char    tc_erase;   /* erase last character */
      17:     char    tc_kill;    /* erase entire line */
      18:     char    tc_intrc;   /* interrupt */
      19:     char    tc_quitc;   /* quit */
      20:     char    tc_startc;  /* start output */
      21:     char    tc_stopc;   /* stop output */
      22:     char    tc_eofc;    /* end-of-file */
      23:     char    tc_brkc;    /* input delimiter (like nl) */
      24:     char    tc_suspc;   /* stop process signal */
      25:     char    tc_dsuspc;  /* delayed stop process signal */
      26:     char    tc_rprntc;  /* reprint line */
      27:     char    tc_flushc;  /* flush output (toggles) */
      28:     char    tc_werasc;  /* word erase */
      29:     char    tc_lnextc;  /* literal next character */
      30: };
      31:
      32: #define CTRL(c) ('c'&037)
      33: #define _POSIX_VDISABLE ((unsigned char)'\377')
      34: #define CCEQ(val,c) (c == val ? val != _POSIX_VDISABLE : 0)
      35:
      36: /* default special characters */
      37: #define CERASE  0177
      38: #define CKILL   CTRL(u)
      39: #define CINTR   CTRL(c)
      40: #define CQUIT   034     /* FS, ^\ */
      41: #define CSTART  CTRL(q)
      42: #define CSTOP   CTRL(s)
      43: #define CEOF    CTRL(d)
      44: #define CEOT    CEOF
      45: #define CBRK    _POSIX_VDISABLE
      46: #define CSUSP   CTRL(z)
      47: #define CDSUSP  CTRL(y)
      48: #define CRPRNT  CTRL(r)
      49: #define CFLUSH  CTRL(o)
      50: #define CWERASE CTRL(w)
      51: #define CLNEXT  CTRL(v)
      52: #endif /* _TTYCHARS_ */

#### Defined struct's

ttychars defined in line 15; used 6 times

- in /usr/src/sys/h/tty.h line 70(2), 101(2)
- in /usr/src/sys/sys/tty.c line 98(2)

#### Defined macros

CBRK defined in line 45; used 4 times

- in /usr/src/bin/login/login.c line 76
- in /usr/src/bin/stty/stty.c line 152
- in /usr/src/libexec/getty/main.c line 36
- in /usr/src/sys/sys/tty.c line 100

CCEQ defined in line 34; used 18 times

- in /usr/src/sys/sys/tty.c line 865, 871, 883, 895, 901-905(2), 911-915(3), 939-944(2), 965, 985, 1017, 1237, 1248, 1666(2)

CDSUSP defined in line 47; used 6 times

- in /usr/src/bin/login/login.c line 79
- in /usr/src/bin/stty/stty.c line 154
- in /usr/src/libexec/getty/main.c line 39
- in /usr/src/sys/sys/tty.c line 100
- in /usr/src/ucb/tset/tset.c line 256, 421

CEOF defined in line 43; used 8 times

- in line 44
- in /usr/src/bin/ed.c line 11, 1236
- in /usr/src/bin/stty/stty.c line 151
- in /usr/src/libexec/getty/main.c line 36
- in /usr/src/sys/sys/tty.c line 99
- in /usr/src/ucb/tset/tset.c line 261, 432

CEOT defined in line 44; used 2 times

- in /usr/src/bin/login/login.c line 76
- in /usr/src/sys/sys/tty.c line 1071

CERASE defined in line 37; used 7 times

- in /usr/src/bin/login/login.c line 162
- in /usr/src/bin/stty/stty.c line 145
- in /usr/src/libexec/getty/main.c line 32
- in /usr/src/sys/sys/tty.c line 99
- in /usr/src/ucb/tset/tset.c line 247, 437, 712

CFLUSH defined in line 49; used 5 times

- in /usr/src/bin/login/login.c line 79
- in /usr/src/bin/stty/stty.c line 156
- in /usr/src/libexec/getty/main.c line 40
- in /usr/src/sys/sys/tty.c line 100
- in /usr/src/ucb/tset/tset.c line 423

CINTR defined in line 39; used 8 times

- in /usr/src/bin/login/login.c line 76
- in /usr/src/bin/stty/stty.c line 147
- in /usr/src/libexec/getty/main.c line 35
- in /usr/src/sys/sys/tty.c line 99
- in /usr/src/ucb/tset/tset.c line 253, 428, 439, 717

CKILL defined in line 38; used 7 times

- in /usr/src/bin/login/login.c line 163
- in /usr/src/bin/stty/stty.c line 146
- in /usr/src/libexec/getty/main.c line 32
- in /usr/src/sys/sys/tty.c line 99
- in /usr/src/ucb/tset/tset.c line 250, 438, 722

CLNEXT defined in line 51; used 5 times

- in /usr/src/bin/login/login.c line 79
- in /usr/src/bin/stty/stty.c line 158
- in /usr/src/libexec/getty/main.c line 40
- in /usr/src/sys/sys/tty.c line 100
- in /usr/src/ucb/tset/tset.c line 425

CQUIT defined in line 40; used 5 times

- in /usr/src/bin/login/login.c line 76
- in /usr/src/bin/stty/stty.c line 148
- in /usr/src/libexec/getty/main.c line 35
- in /usr/src/sys/sys/tty.c line 99
- in /usr/src/ucb/tset/tset.c line 429

CRPRNT defined in line 48; used 5 times

- in /usr/src/bin/login/login.c line 79
- in /usr/src/bin/stty/stty.c line 155
- in /usr/src/libexec/getty/main.c line 39
- in /usr/src/sys/sys/tty.c line 100
- in /usr/src/ucb/tset/tset.c line 422

CSTART defined in line 41; used 7 times

- in /usr/src/bin/login/login.c line 76
- in /usr/src/bin/stty/stty.c line 149
- in /usr/src/libexec/getty/main.c line 35
- in /usr/src/sys/pdpuba/dhv.c line 353, 495
- in /usr/src/sys/sys/tty.c line 99
- in /usr/src/ucb/tset/tset.c line 430

CSTOP defined in line 42; used 7 times

- in /usr/src/bin/login/login.c line 76
- in /usr/src/bin/stty/stty.c line 150
- in /usr/src/libexec/getty/main.c line 36
- in /usr/src/sys/pdpuba/dhv.c line 353, 495
- in /usr/src/sys/sys/tty.c line 99
- in /usr/src/ucb/tset/tset.c line 431

CSUSP defined in line 46; used 6 times

- in /usr/src/bin/login/login.c line 79
- in /usr/src/bin/stty/stty.c line 153
- in /usr/src/bin/tcsh/ed.init.c line 328
- in /usr/src/libexec/getty/main.c line 39
- in /usr/src/sys/sys/tty.c line 100
- in /usr/src/ucb/tset/tset.c line 420

CTRL defined in line 32; used 110 times

- in line 38-51(11)
- in /usr/src/bin/stty/stty.c line 260-261(2)
- in /usr/src/bin/tcsh/ed.init.c line 203
- in /usr/src/games/cribbage/io.c line 20-21(2), 499, 549
- in /usr/src/games/hangman/getguess.c line 26, 63
- in /usr/src/games/hunt/execute.c line 13, 28, 52, 64
- in /usr/src/games/hunt/hunt.h line 142
- in /usr/src/games/mille/move.c line 15, 352
- in /usr/src/games/robots/move.c line 145, 151, 216
- in /usr/src/games/robots/robots.h line 45
- in /usr/src/games/sail/pl_7.c line 208
- in /usr/src/games/snake/move.c line 406-407(2)
- in /usr/src/games/snake/snake.c line 235-236(2), 266, 341, 354
- in /usr/src/sys/sys/tty.c line 927, 996
- in /usr/src/sys/sys/tty_pty.c line 552(2)
- in /usr/src/ucb/PORT/systat/keyboard.c line 37, 43, 60
- in /usr/src/ucb/ex/ex.h line 159-162(3)
- in /usr/src/ucb/ex/ex_cmds.c line 134, 774, 788, 851
- in /usr/src/ucb/ex/ex_cmds2.c line 514(2)
- in /usr/src/ucb/ex/ex_cmdsub.c line 1111, 1134
- in /usr/src/ucb/ex/ex_get.c line 33, 47, 103, 151, 164
- in /usr/src/ucb/ex/ex_put.c line 963-965(2), 986-988(2)
- in /usr/src/ucb/ex/ex_tty.c line 113-116(2)
- in /usr/src/ucb/ex/ex_vget.c line 133, 168-169(2), 227, 233, 357
- in /usr/src/ucb/ex/ex_vmain.c line 195-197(4), 303, 319, 348, 363, 412, 427, 836, 851, 871, 885
- in /usr/src/ucb/ex/ex_voper.c line 393, 487, 534
- in /usr/src/ucb/ex/ex_vops2.c line 491-496(2), 524, 545, 607-608(2), 746-747(2), 755-759(2)
- in /usr/src/ucb/telnet.c line 111-112(2)
- in /usr/src/ucb/tn3270/tn3270.c line 100
- in /usr/src/usr.bin/tip/cmds.c line 770
- in /usr/src/usr.bin/tip/cmdtab.c line 30-32(3)
- in /usr/src/usr.bin/tip/vars.c line 34, 48

CWERASE defined in line 50; used 5 times

- in /usr/src/bin/login/login.c line 79
- in /usr/src/bin/stty/stty.c line 157
- in /usr/src/libexec/getty/main.c line 40
- in /usr/src/sys/sys/tty.c line 100
- in /usr/src/ucb/tset/tset.c line 424

_POSIX_VDISABLE defined in line 33; used 22 times

- in line 34, 45
- in /usr/src/bin/tcsh/ed.init.c line 103-107(2), 311-316(3), 363-366(4), 467-470(2), 479-488(4), 494
- in /usr/src/bin/tcsh/sh.file.c line 115
- in /usr/src/sys/sys/tty.c line 235, 258, 1596

_TTYCHARS_ defined in line 14; used 1 times

- in line 13

#### Usage of this include

ttychars.h used 6 times

- in /usr/src/sys/h/ioctl.h line 15-18(2)
- in /usr/src/sys/h/tty.h line 10-13(2)
- in /usr/src/sys/pdpuba/dhv.c line 38
- in /usr/src/ucb/ftp/domacro.c line 28

Last modified: 1997-04-22 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 793 |