|
|
1.1 ! root 1: /* Copyright (c) 1987 AT&T */ ! 2: /* All Rights Reserved */ ! 3: ! 4: /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */ ! 5: /* The copyright notice above does not evidence any */ ! 6: /* actual or intended publication of such source code. */ ! 7: ! 8: #include <sccsid.h> ! 9: HVERSION(setup, @(#)setup.h 1.1.1.3 (5/12/87)); ! 10: ! 11: #ifndef SETUP_H ! 12: #define SETUP_H 1 ! 13: ! 14: /* ! 15: * pf key sizes ! 16: */ ! 17: #define NUMPFKEYS 8 ! 18: #define PFKEYSIZE 80 ! 19: ! 20: /* possible values for the first argument to setupval() */ ! 21: /* are the return value of whathost() and these two below */ ! 22: #define S_PREF 0x100 ! 23: #define S_PRINT 0x101 ! 24: ! 25: /* preference (display, keyboard) options */ ! 26: /* The first number is the second argument to setupval() */ ! 27: /* The numbers below it are possible return values */ ! 28: ! 29: #define S_PREF_CTRL 1 ! 30: #define S_PREF_CTRL_VIS 0 ! 31: #define S_PREF_CTRL_INVIS 1 ! 32: #define S_PREF_CTRL_SPACE 2 ! 33: ! 34: #define S_PREF_KCLK 2 ! 35: #define S_PREF_KCLK_OFF 0 ! 36: #define S_PREF_KCLK_ON 1 ! 37: ! 38: #define S_PREF_KVOL 3 ! 39: #define S_PREF_KVOL_0 0 ! 40: #define S_PREF_KVOL_1 1 ! 41: #define S_PREF_KVOL_2 2 ! 42: #define S_PREF_KVOL_3 3 ! 43: #define S_PREF_KVOL_4 4 ! 44: #define S_PREF_KVOL_5 5 ! 45: #define S_PREF_KVOL_6 6 ! 46: #define S_PREF_KVOL_7 7 ! 47: ! 48: #define S_PREF_CURS 4 ! 49: #define S_PREF_CURS_NOBLK 0 ! 50: #define S_PREF_CURS_BLK 1 ! 51: ! 52: #define S_PREF_KRPT 5 ! 53: #define S_PREF_KRPT_15 0 ! 54: #define S_PREF_KRPT_20 1 ! 55: #define S_PREF_KRPT_30 2 ! 56: #define S_PREF_KRPT_60 3 ! 57: ! 58: #define S_PREF_WBUF 8 ! 59: #define S_PREF_WBUF_OFF 0 ! 60: #define S_PREF_WBUF_ON 1 ! 61: ! 62: #define S_PREF_WTYP 9 ! 63: #define S_PREF_WTYP_BASIC 0 ! 64: #define S_PREF_WTYP_ENH 1 ! 65: ! 66: #define S_PRINT_TAB 0 ! 67: #define S_PRINT_TAB_NO 0 ! 68: #define S_PRINT_TAB_YES 1 ! 69: ! 70: #define S_PRINT_ESC 1 ! 71: #define S_PRINT_ESC_NO 0 ! 72: #define S_PRINT_ESC_YES 1 ! 73: ! 74: /* host options */ ! 75: /* These can only be used when the return value of whathost() */ ! 76: /* is the first argument to setupval() */ ! 77: ! 78: #define S_HOST_ENC 6 ! 79: #define S_HOST_ENC_OFF 0 ! 80: #define S_HOST_ENC_ON 1 ! 81: ! 82: #define S_HOST_RTN 9 ! 83: #define S_HOST_RTN_CR 0 ! 84: #define S_HOST_RTN_LF 1 ! 85: #define S_HOST_RTN_CRLF 2 ! 86: ! 87: #define S_HOST_NL 10 ! 88: #define S_HOST_NL_LF 0 ! 89: #define S_HOST_NL_CRLF 1 ! 90: ! 91: #define S_HOST_FONT 11 ! 92: #define S_HOST_FONT_SMALL 0 ! 93: #define S_HOST_FONT_MEDIUM 1 ! 94: #define S_HOST_FONT_LARGE 2 ! 95: ! 96: /* The return value for these is the setting */ ! 97: #define S_HOST_COL 12 ! 98: #define S_HOST_ROW 14 ! 99: #define S_HOST_NCOL 16 ! 100: #define S_HOST_NROW 18 ! 101: ! 102: #define S_HOST_FIXED 20 ! 103: #define S_HOST_FIXED_NO 0 ! 104: #define S_HOST_FIXED_YES 1 ! 105: ! 106: ! 107: #endif SETUP_H
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.