Files
Arquivotheca.Solaris-2.5/ucbhead/sys/ttychars.h
seta75D 7c4988eac0 Init
2021-10-11 19:38:01 -03:00

87 lines
2.3 KiB
C
Executable File

/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
/* The copyright notice above does not evidence any */
/* actual or intended publication of such source code. */
#ident "@(#)ttychars.h 1.1 90/04/27 SMI" /* SVr4.0 1.1 */
/*******************************************************************
PROPRIETARY NOTICE (Combined)
This source code is unpublished proprietary information
constituting, or derived under license from AT&T's UNIX(r) System V.
In addition, portions of such source code were derived from Berkeley
4.3 BSD under license from the Regents of the University of
California.
Copyright Notice
Notice of copyright on this source code product does not indicate
publication.
(c) 1986,1987,1988,1989 Sun Microsystems, Inc
(c) 1983,1984,1985,1986,1987,1988,1989 AT&T.
All rights reserved.
********************************************************************/
/*
* 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.
*
*/
/*
* User visible structures and constants
* related to terminal handling.
*/
#ifndef _SYS_TTYCHARS_H
#define _SYS_TTYCHARS_H
struct ttychars {
char tc_erase; /* erase last character */
char tc_kill; /* erase entire line */
char tc_intrc; /* interrupt */
char tc_quitc; /* quit */
char tc_startc; /* start output */
char tc_stopc; /* stop output */
char tc_eofc; /* end-of-file */
char tc_brkc; /* input delimiter (like nl) */
char tc_suspc; /* stop process signal */
char tc_dsuspc; /* delayed stop process signal */
char tc_rprntc; /* reprint line */
char tc_flushc; /* flush output (toggles) */
char tc_werasc; /* word erase */
char tc_lnextc; /* literal next character */
};
#ifndef _SYS_TERMIOS_H
#ifndef CTRL
#define CTRL(c) ('c'&037)
#endif
/* default special characters */
#define CERASE 0177
#define CKILL CTRL(u)
#define CINTR CTRL(c)
#define CQUIT 034 /* FS, ^\ */
#define CSTART CTRL(q)
#define CSTOP CTRL(s)
#define CEOF CTRL(d)
#define CEOT CEOF
#define CBRK 0377
#define CSUSP CTRL(z)
#define CDSUSP CTRL(y)
#define CRPRNT CTRL(r)
#define CFLUSH CTRL(o)
#define CWERASE CTRL(w)
#define CLNEXT CTRL(v)
#endif /* _SYS_TERMIOS_H */
#endif