DataMuseum.dk

Presents historical artifacts from the history of:

Commodore CBM-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Commodore CBM-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦1ee468183⟧ TextFile

    Length: 1084 (0x43c)
    Types: TextFile
    Notes: UNIX file
    Names: »tty.h«

Derivation

└─⟦eafc30061⟧ Bits:30001199 Commodore 900 hard disk image
    └─⟦8281d0872⟧ UNIX V7 Filesystem
        └─ ⟦294235107⟧ »vol3.fd« UNIX V7 Filesystem
            └─ ⟦this⟧ »usr/include/sys/tty.h« 
            └─ ⟦this⟧ »usr/include/tty.h« 
└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
    └─⟦2d53db1df⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »include/sys/tty.h« 
        └─ ⟦this⟧ »include/tty.h« 
└─⟦eafc30061⟧ Bits:30001199 Commodore 900 hard disk image
    └─⟦5ec4c54f2⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »usr/include/sys/tty.h« 
        └─ ⟦this⟧ »usr/include/tty.h« 

TextFile


/*
 * TTY structure, public portion.
 */
#ifndef TTY_H
#define TTY_H

#define	T_HILIM	01		/* Hi water mark wait */
#define	T_DRAIN	02		/* Drain wait */
#define	T_INPUT	04		/* Input wait */
#define T_IFULL 010		/* Input buffer full */
#define	T_INL	020		/* Insert newline */
#define	T_STOP	040		/* Stopped */
#define	T_HPCL	0100		/* Hang up dataset on last close */
#define	T_EXCL	0200		/* Exclusive use */
#define	T_TSTOP	0400		/* Tandem input stop */
#define	T_ISTOP	01000		/* Input overflow stop */
#define T_MODC  02000		/* Modem control */
#define T_CARR	04000		/* Carrier detect status */
#define	T_BRD	010000		/* Blocking read in CBREAK/RAW mode */
#define	T_HOPEN	020000		/* Hanging in open (for modem control) */
#define	T_UN1	040000		/* Unused bit 1 */
#define	T_UN0	0100000		/* Unused bit 0 */

/* don't reset these flags when flushing the input and output queues */
#define T_SAVE	 (T_HPCL|T_EXCL|T_MODC|T_CARR|T_HOPEN|T_BRD)

#define NMODC	0x80		/* Minor device modem control bit */
				/* Set for NO modem control       */

#ifdef KERNEL
#include <ktty.h>
#endif
#endif