File:  [MW Coherent from dump] / coherent / f / usr / include / sys / deftty.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:40 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/* (-lgl
 * 	COHERENT Version 4.0
 * 	Copyright (c) 1982, 1992 by Mark Williams Company.
 * 	All rights reserved. May not be copied without permission.
 -lgl) */
/*
 * Coherent - default tty settings.
 *	used by sys/drv/tty.c, src/cmd0/getty.c, and src/cmd0/login.c
 *	to initialize terminal characteristics.
 */

#ifndef __SYS_DEFTTY_H__
#define __SYS_DEFTTY_H__

#if	'A' != 65 || '@' != 64
# error	Your native character set should be ASCII
#else
# define	__CTRL(c)	((c) - '@')
#endif

#define DEF_SG_ISPEED	B9600
#define DEF_SG_OSPEED	B9600
#define	DEF_SG_ERASE	'\b'
#define	DEF_SG_KILL	__CTRL ('U')
#define	DEF_SG_FLAGS	(CRMOD | ECHO | XTABS | CRT)
#define	DEF_T_INTRC	__CTRL ('C')
#define	DEF_T_QUITC	__CTRL ('\\')
#define	DEF_T_STARTC	__CTRL ('Q')
#define	DEF_T_STOPC	__CTRL ('S')
#define	DEF_T_EOFC	__CTRL ('D')
#define	DEF_T_BRKC	-1

#endif	/* ! defined (__SYS_DEFTTY_H__) */


unix.superglobalmegacorp.com

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