* 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.7 (Berkeley) %G%
* System wide defaults for terminal state.
* Defaults on "first" open.
#define TTYDEF_IFLAG (BRKINT | ISTRIP | ICRNL | IMAXBEL | IXON | IXANY)
#define TTYDEF_OFLAG (OPOST | ONLCR | OXTABS)
#define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL)
#define TTYDEF_CFLAG (CREAD | CS7 | PARENB | HUPCL)
#define TTYDEF_SPEED (B9600)
* Control Character Defaults
#define CEOL ((unsigned)'\377') /* XXX avoid _POSIX_VDISABLE */
#define CSTATUS ((unsigned)'\377') /* XXX avoid _POSIX_VDISABLE */
#define CQUIT 034 /* FS, ^\ */
#define CDISCARD CTRL('o')
#define CWERASE CTRL('w')
#define CREPRINT CTRL('r')
/* PROTECTED INCLUSION ENDS HERE */
#endif /* _TTYDEFAULTS_ */
* #define TTYDEFCHARS to include an array of default control characters.
cc_t ttydefchars
[NCCS
] = {
CEOF
, CEOL
, CEOL
, CERASE
, CWERASE
, CKILL
, CREPRINT
,
_POSIX_VDISABLE
, CINTR
, CQUIT
, CSUSP
, CDSUSP
, CSTART
, CSTOP
, CLNEXT
,
CDISCARD
, CMIN
, CTIME
, CSTATUS
, _POSIX_VDISABLE