File:  [Research Unix] / researchv9 / jerq / include / CC / tty.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 3 months ago) by root
Branches: belllabs, MAIN
CVS tags: researchv9-SUN3_old, researchv9-SUN3, HEAD
researchv9-SUN3(old)

/*
 * List of special characters, used by tty emulation
 */
#ifndef	TTY_H
#define	TTY_H
struct Ttychars {
	char	flags0;		/* mode flags (low bits) */
	char	flags1;		/* mode flags (high bits) */
	char	erase;		/* erase character */
	char	kill;		/* kill character */
	char	intrc;		/* interrupt */
	char	quitc;		/* quit */
	char	startc;		/* start output */
	char	stopc;		/* stop output */
	char	eofc;		/* end-of-file */
	char	brkc;		/* input delimiter (like nl) */
};

#define	JTTYC	128		/* higher than all jioctl's */

struct ttycmesg {
	char		cmd;		/* always JTTYC */
	char		chan;		/* channel to be set; 0 ==> global */
	struct Ttychars	ttychars;
};

#define	TRAW	0040
#define	TCRMOD	0020	
#define	TECHO	0010
#define	TCBREAK	0002

#endif	TTY_H

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.