Annotation of 43BSDTahoe/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.
        !             4:  *
        !             5:  * Redistribution and use in source and binary forms are permitted
        !             6:  * provided that the above copyright notice and this paragraph are
        !             7:  * duplicated in all such forms and that any documentation,
        !             8:  * advertising materials, and other materials related to such
        !             9:  * distribution and use acknowledge that the software was developed
        !            10:  * by the University of California, Berkeley.  The name of the
        !            11:  * University may not be used to endorse or promote products derived
        !            12:  * from this software without specific prior written permission.
        !            13:  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
        !            14:  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
        !            15:  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            16:  *
        !            17:  *     @(#)tset.delays.h       5.3 (Berkeley) 6/29/88
        !            18:  */
        !            19: 
        !            20: /*
        !            21: **  SYSTEM DEPENDENT TERMINAL DELAY TABLES
        !            22: **
        !            23: **     Evans Hall VAX
        !            24: **
        !            25: **     This file maintains the correspondence between the delays
        !            26: **     defined in /etc/termcap and the delay algorithms on a
        !            27: **     particular system.  For each type of delay, the bits used
        !            28: **     for that delay must be specified (in XXbits) and a table
        !            29: **     must be defined giving correspondences between delays and
        !            30: **     algorithms.  Algorithms which are not fixed delays (such
        !            31: **     as dependent on current column or line number) must be
        !            32: **     cludged in some way at this time.
        !            33: */
        !            34: 
        !            35: 
        !            36: 
        !            37: /*
        !            38: **  Carriage Return delays
        !            39: */
        !            40: 
        !            41: int    CRbits = CRDELAY;
        !            42: struct delay   CRdelay[] =
        !            43: {
        !            44:        0,      CR0,
        !            45:        9,      CR3,
        !            46:        80,     CR1,
        !            47:        160,    CR2,
        !            48:        -1
        !            49: };
        !            50: 
        !            51: /*
        !            52: **  New Line delays
        !            53: */
        !            54: 
        !            55: int    NLbits = NLDELAY;
        !            56: struct delay   NLdelay[] =
        !            57: {
        !            58:        0,      NL0,
        !            59:        66,     NL1,            /* special M37 delay */
        !            60:        100,    NL2,
        !            61:        -1
        !            62: };
        !            63: 
        !            64: 
        !            65: /*
        !            66: **  Back Space delays
        !            67: */
        !            68: 
        !            69: int    BSbits = BSDELAY;
        !            70: struct delay   BSdelay[] =
        !            71: {
        !            72:        0,      BS0,
        !            73:        -1
        !            74: };
        !            75: 
        !            76: 
        !            77: /*
        !            78: **  TaB delays
        !            79: */
        !            80: 
        !            81: int    TBbits = TBDELAY;
        !            82: struct delay   TBdelay[] =
        !            83: {
        !            84:        0,      TAB0,
        !            85:        11,     TAB1,           /* special M37 delay */
        !            86:        -1
        !            87: };
        !            88: 
        !            89: 
        !            90: /*
        !            91: **  Form Feed delays
        !            92: */
        !            93: 
        !            94: int    FFbits = VTDELAY;
        !            95: struct delay   FFdelay[] =
        !            96: {
        !            97:        0,      FF0,
        !            98:        2000,   FF1,
        !            99:        -1
        !           100: };
        !           101: 
        !           102: #ifdef CBVIRTTERM
        !           103: /*
        !           104:  * Map from the universal tables in termcap to the particular numbers
        !           105:  * this system uses.  The lack of standardization of terminal numbers
        !           106:  * is a botch but such is life.
        !           107:  */
        !           108: struct vt_map {
        !           109:        char stdnum;
        !           110:        char localnum;
        !           111: } vt_map[] = {
        !           112: #ifdef TERM_TEC
        !           113:        1, TERM_TEC,
        !           114: #endif
        !           115: #ifdef TERM_V61
        !           116:        2, TERM_V61,
        !           117: #endif
        !           118: #ifdef TERM_V10
        !           119:        3, TERM_V10,
        !           120: #endif
        !           121: #ifdef TERM_TEX
        !           122:        4, TERM_TEX,
        !           123: #endif
        !           124: #ifdef TERM_D40
        !           125:        5, TERM_D40,
        !           126: #endif
        !           127: #ifdef TERM_H45
        !           128:        6, TERM_H45,
        !           129: #endif
        !           130: #ifdef TERM_D42
        !           131:        7, TERM_D42,
        !           132: #endif
        !           133: #ifdef TERM_C100
        !           134:        8, TERM_C100,
        !           135: #endif
        !           136: #ifdef TERM_MIME
        !           137:        9, TERM_MIME,
        !           138: #endif
        !           139:        0,0
        !           140: };
        !           141: #endif

unix.superglobalmegacorp.com

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