Annotation of coherent/f/usr/include/sys/deftty.h, revision 1.1.1.1

1.1       root        1: /* (-lgl
                      2:  *     COHERENT Version 4.0
                      3:  *     Copyright (c) 1982, 1992 by Mark Williams Company.
                      4:  *     All rights reserved. May not be copied without permission.
                      5:  -lgl) */
                      6: /*
                      7:  * Coherent - default tty settings.
                      8:  *     used by sys/drv/tty.c, src/cmd0/getty.c, and src/cmd0/login.c
                      9:  *     to initialize terminal characteristics.
                     10:  */
                     11: 
                     12: #ifndef __SYS_DEFTTY_H__
                     13: #define __SYS_DEFTTY_H__
                     14: 
                     15: #if    'A' != 65 || '@' != 64
                     16: # error        Your native character set should be ASCII
                     17: #else
                     18: # define       __CTRL(c)       ((c) - '@')
                     19: #endif
                     20: 
                     21: #define DEF_SG_ISPEED  B9600
                     22: #define DEF_SG_OSPEED  B9600
                     23: #define        DEF_SG_ERASE    '\b'
                     24: #define        DEF_SG_KILL     __CTRL ('U')
                     25: #define        DEF_SG_FLAGS    (CRMOD | ECHO | XTABS | CRT)
                     26: #define        DEF_T_INTRC     __CTRL ('C')
                     27: #define        DEF_T_QUITC     __CTRL ('\\')
                     28: #define        DEF_T_STARTC    __CTRL ('Q')
                     29: #define        DEF_T_STOPC     __CTRL ('S')
                     30: #define        DEF_T_EOFC      __CTRL ('D')
                     31: #define        DEF_T_BRKC      -1
                     32: 
                     33: #endif /* ! defined (__SYS_DEFTTY_H__) */
                     34: 

unix.superglobalmegacorp.com

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