Annotation of 43BSD/ucb/tset/tset.delays.h, revision 1.1

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

unix.superglobalmegacorp.com

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