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