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.1 (Berkeley) 6/4/86
   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: 
  34: /* default special characters */
  35: #define CERASE  0177
  36: #define CKILL   CTRL(u)
  37: #define CINTR   CTRL(c)
  38: #define CQUIT   034     /* FS, ^\ */
  39: #define CSTART  CTRL(q)
  40: #define CSTOP   CTRL(s)
  41: #define CEOF    CTRL(d)
  42: #define CEOT    CEOF
  43: #define CBRK    0377
  44: #define CSUSP   CTRL(z)
  45: #define CDSUSP  CTRL(y)
  46: #define CRPRNT  CTRL(r)
  47: #define CFLUSH  CTRL(o)
  48: #define CWERASE CTRL(w)
  49: #define CLNEXT  CTRL(v)
  50: #endif

Defined struct's

ttychars defined in line 15; used 4 times

Defined macros

CBRK defined in line 43; never used
CDSUSP defined in line 45; never used
CEOF defined in line 41; used 1 times
  • in line 42
CEOT defined in line 42; never used
CERASE defined in line 35; never used
CFLUSH defined in line 47; never used
CINTR defined in line 37; never used
CKILL defined in line 36; never used
CLNEXT defined in line 49; never used
CQUIT defined in line 38; never used
CRPRNT defined in line 46; never used
CSTART defined in line 39; never used
CSTOP defined in line 40; never used
CSUSP defined in line 44; never used
CTRL defined in line 32; used 11 times
CWERASE defined in line 48; never used
_TTYCHARS_ defined in line 14; used 1 times
  • in line 13
Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 651
Valid CSS Valid XHTML 1.0 Strict