* Copyright (c) 1982, 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
* @(#)ttydefaults.h 7.1 (Berkeley) %G%
* System wide defaults of terminal state.
* Control Character Defaults
#define CEOL _POSIX_VDISABLE
#define CERASE2 _POSIX_VDISABLE
#define CQUIT 034 /* FS, ^\ */
#define CFLUSHO CTRL('o')
#define CWERASE CTRL('w')
#define CREPRINT CTRL('r')
* Settings on first open of a tty.
#define TTYDEF_IFLAG (BRKINT | ISTRIP | IMAXBEL | IXON)
#define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN)
#define TTYDEF_CFLAG (CREAD | CS7 | PARENB | HUPCL)
#define TTYDEF_SPEED (B9600)
* define TTYDEFCHARS to include an array of default control characters.
u_char ttydefchars
[NCC
] = {
CEOF
, CEOL
, CEOL
, CERASE
, CWERASE
, CKILL
, CREPRINT
, CQUOTE
,
CINTR
, CQUIT
, CSUSP
, CDSUSP
, CSTART
, CSTOP
, CLNEXT
,
CFLUSHO
, CMIN
, CTIME
, CERASE2
, _POSIX_VDISABLE