|
|
1.1 ! root 1: /* ! 2: * Copyright (c) 1983 The 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: (1) source distributions retain this entire copyright ! 7: * notice and comment, and (2) distributions including binaries display ! 8: * the following acknowledgement: ``This product includes software ! 9: * developed by the University of California, Berkeley and its contributors'' ! 10: * in the documentation or other materials provided with the distribution ! 11: * and in all advertising materials mentioning features or use of this ! 12: * software. Neither the name of the University nor the names of its ! 13: * contributors may be used to endorse or promote products derived ! 14: * from this software without specific prior written permission. ! 15: * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ! 16: * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED ! 17: * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 18: */ ! 19: ! 20: #ifndef lint ! 21: static char sccsid[] = "@(#)vars.c 5.5 (Berkeley) 6/1/90"; ! 22: #endif /* not lint */ ! 23: ! 24: #include "tip.h" ! 25: #include "pathnames.h" ! 26: ! 27: /* ! 28: * Definition of variables ! 29: */ ! 30: value_t vtable[] = { ! 31: { "beautify", BOOL, (READ|WRITE)<<PUBLIC, ! 32: "be", (char *)TRUE }, ! 33: { "baudrate", NUMBER|IREMOTE|INIT, (READ<<PUBLIC)|(WRITE<<ROOT), ! 34: "ba", (char *)&BR }, ! 35: { "dialtimeout",NUMBER, (READ<<PUBLIC)|(WRITE<<ROOT), ! 36: "dial", (char *)60 }, ! 37: { "eofread", STRING|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, ! 38: "eofr", (char *)&IE }, ! 39: { "eofwrite", STRING|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, ! 40: "eofw", (char *)&OE }, ! 41: { "eol", STRING|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, ! 42: NOSTR, (char *)&EL }, ! 43: { "escape", CHAR, (READ|WRITE)<<PUBLIC, ! 44: "es", (char *)'~' }, ! 45: { "exceptions", STRING|INIT|IREMOTE, (READ|WRITE)<<PUBLIC, ! 46: "ex", (char *)&EX }, ! 47: { "force", CHAR, (READ|WRITE)<<PUBLIC, ! 48: "fo", (char *)CTRL('p') }, ! 49: { "framesize", NUMBER|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, ! 50: "fr", (char *)&FS }, ! 51: { "host", STRING|IREMOTE|INIT, READ<<PUBLIC, ! 52: "ho", (char *)&HO }, ! 53: { "log", STRING|INIT, (READ|WRITE)<<ROOT, ! 54: NOSTR, _PATH_ACULOG }, ! 55: { "phones", STRING|INIT|IREMOTE, READ<<PUBLIC, ! 56: NOSTR, (char *)&PH }, ! 57: { "prompt", CHAR, (READ|WRITE)<<PUBLIC, ! 58: "pr", (char *)'\n' }, ! 59: { "raise", BOOL, (READ|WRITE)<<PUBLIC, ! 60: "ra", (char *)FALSE }, ! 61: { "raisechar", CHAR, (READ|WRITE)<<PUBLIC, ! 62: "rc", (char *)CTRL('a') }, ! 63: { "record", STRING|INIT|IREMOTE, (READ|WRITE)<<PUBLIC, ! 64: "rec", (char *)&RE }, ! 65: { "remote", STRING|INIT|IREMOTE, READ<<PUBLIC, ! 66: NOSTR, (char *)&RM }, ! 67: { "script", BOOL, (READ|WRITE)<<PUBLIC, ! 68: "sc", (char *)FALSE }, ! 69: { "tabexpand", BOOL, (READ|WRITE)<<PUBLIC, ! 70: "tab", (char *)FALSE }, ! 71: { "verbose", BOOL, (READ|WRITE)<<PUBLIC, ! 72: "verb", (char *)TRUE }, ! 73: { "SHELL", STRING|ENVIRON|INIT, (READ|WRITE)<<PUBLIC, ! 74: NULL, _PATH_BSHELL }, ! 75: { "HOME", STRING|ENVIRON, (READ|WRITE)<<PUBLIC, ! 76: NOSTR, NOSTR }, ! 77: { "echocheck", BOOL, (READ|WRITE)<<PUBLIC, ! 78: "ec", (char *)FALSE }, ! 79: { "disconnect", STRING|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, ! 80: "di", (char *)&DI }, ! 81: { "tandem", BOOL, (READ|WRITE)<<PUBLIC, ! 82: "ta", (char *)TRUE }, ! 83: { "linedelay", NUMBER|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, ! 84: "ldelay", (char *)&DL }, ! 85: { "chardelay", NUMBER|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, ! 86: "cdelay", (char *)&CL }, ! 87: { "etimeout", NUMBER|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, ! 88: "et", (char *)&ET }, ! 89: { "rawftp", BOOL, (READ|WRITE)<<PUBLIC, ! 90: "raw", (char *)FALSE }, ! 91: { "halfduplex", BOOL, (READ|WRITE)<<PUBLIC, ! 92: "hdx", (char *)FALSE }, ! 93: { "localecho", BOOL, (READ|WRITE)<<PUBLIC, ! 94: "le", (char *)FALSE }, ! 95: { "parity", STRING|INIT|IREMOTE, (READ|WRITE)<<PUBLIC, ! 96: "par", (char *)&PA }, ! 97: { NOSTR, NULL, NULL, NOSTR, NOSTR } ! 98: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.