Annotation of 42BSD/ucb/tset/tset.delays.h, revision 1.1.1.1

1.1       root        1: /*     tset.delays.h   4.1     83/08/11        */
                      2: 
                      3: /*
                      4: **  SYSTEM DEPENDENT TERMINAL DELAY TABLES
                      5: **
                      6: **     Evans Hall VAX
                      7: **
                      8: **     This file maintains the correspondence between the delays
                      9: **     defined in /etc/termcap and the delay algorithms on a
                     10: **     particular system.  For each type of delay, the bits used
                     11: **     for that delay must be specified (in XXbits) and a table
                     12: **     must be defined giving correspondences between delays and
                     13: **     algorithms.  Algorithms which are not fixed delays (such
                     14: **     as dependent on current column or line number) must be
                     15: **     cludged in some way at this time.
                     16: */
                     17: 
                     18: 
                     19: 
                     20: /*
                     21: **  Carriage Return delays
                     22: */
                     23: 
                     24: int    CRbits = CRDELAY;
                     25: struct delay   CRdelay[] =
                     26: {
                     27:        0,      CR0,
                     28:        9,      CR3,
                     29:        80,     CR1,
                     30:        160,    CR2,
                     31:        -1
                     32: };
                     33: 
                     34: /*
                     35: **  New Line delays
                     36: */
                     37: 
                     38: int    NLbits = NLDELAY;
                     39: struct delay   NLdelay[] =
                     40: {
                     41:        0,      NL0,
                     42:        66,     NL1,            /* special M37 delay */
                     43:        100,    NL2,
                     44:        -1
                     45: };
                     46: 
                     47: 
                     48: /*
                     49: **  Back Space delays
                     50: */
                     51: 
                     52: int    BSbits = BSDELAY;
                     53: struct delay   BSdelay[] =
                     54: {
                     55:        0,      BS0,
                     56:        -1
                     57: };
                     58: 
                     59: 
                     60: /*
                     61: **  TaB delays
                     62: */
                     63: 
                     64: int    TBbits = TBDELAY;
                     65: struct delay   TBdelay[] =
                     66: {
                     67:        0,      TAB0,
                     68:        11,     TAB1,           /* special M37 delay */
                     69:        -1
                     70: };
                     71: 
                     72: 
                     73: /*
                     74: **  Form Feed delays
                     75: */
                     76: 
                     77: int    FFbits = VTDELAY;
                     78: struct delay   FFdelay[] =
                     79: {
                     80:        0,      FF0,
                     81:        2000,   FF1,
                     82:        -1
                     83: };
                     84: 
                     85: #ifdef CBVIRTTERM
                     86: /*
                     87:  * Map from the universal tables in termcap to the particular numbers
                     88:  * this system uses.  The lack of standardization of terminal numbers
                     89:  * is a botch but such is life.
                     90:  */
                     91: struct vt_map {
                     92:        char stdnum;
                     93:        char localnum;
                     94: } vt_map[] = {
                     95: #ifdef TERM_TEC
                     96:        1, TERM_TEC,
                     97: #endif
                     98: #ifdef TERM_V61
                     99:        2, TERM_V61,
                    100: #endif
                    101: #ifdef TERM_V10
                    102:        3, TERM_V10,
                    103: #endif
                    104: #ifdef TERM_TEX
                    105:        4, TERM_TEX,
                    106: #endif
                    107: #ifdef TERM_D40
                    108:        5, TERM_D40,
                    109: #endif
                    110: #ifdef TERM_H45
                    111:        6, TERM_H45,
                    112: #endif
                    113: #ifdef TERM_D42
                    114:        7, TERM_D42,
                    115: #endif
                    116: #ifdef TERM_C100
                    117:        8, TERM_C100,
                    118: #endif
                    119: #ifdef TERM_MIME
                    120:        9, TERM_MIME,
                    121: #endif
                    122:        0,0
                    123: };
                    124: #endif

unix.superglobalmegacorp.com

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