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 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 18 #ifndef lint 19 static char sccsid[] = "@(#)vars.c 5.4 (Berkeley) 05/11/89"; 20 #endif /* not lint */ 21 22 #include "tip.h" 23 #include "pathnames.h" 24 25 /* 26 * Definition of variables 27 */ 28 value_t vtable[] = { 29 { "beautify", BOOL, (READ|WRITE)<<PUBLIC, 30 "be", (char *)TRUE }, 31 { "baudrate", NUMBER|IREMOTE|INIT, (READ<<PUBLIC)|(WRITE<<ROOT), 32 "ba", (char *)&BR }, 33 { "dialtimeout",NUMBER, (READ<<PUBLIC)|(WRITE<<ROOT), 34 "dial", (char *)60 }, 35 { "eofread", STRING|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 36 "eofr", (char *)&IE }, 37 { "eofwrite", STRING|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 38 "eofw", (char *)&OE }, 39 { "eol", STRING|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 40 NOSTR, (char *)&EL }, 41 { "escape", CHAR, (READ|WRITE)<<PUBLIC, 42 "es", (char *)'~' }, 43 { "exceptions", STRING|INIT|IREMOTE, (READ|WRITE)<<PUBLIC, 44 "ex", (char *)&EX }, 45 { "force", CHAR, (READ|WRITE)<<PUBLIC, 46 "fo", (char *)CTRL('p') }, 47 { "framesize", NUMBER|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 48 "fr", (char *)&FS }, 49 { "host", STRING|IREMOTE|INIT, READ<<PUBLIC, 50 "ho", (char *)&HO }, 51 { "log", STRING|INIT, (READ|WRITE)<<ROOT, 52 NOSTR, _PATH_ACULOG }, 53 { "phones", STRING|INIT|IREMOTE, READ<<PUBLIC, 54 NOSTR, (char *)&PH }, 55 { "prompt", CHAR, (READ|WRITE)<<PUBLIC, 56 "pr", (char *)'\n' }, 57 { "raise", BOOL, (READ|WRITE)<<PUBLIC, 58 "ra", (char *)FALSE }, 59 { "raisechar", CHAR, (READ|WRITE)<<PUBLIC, 60 "rc", (char *)CTRL('a') }, 61 { "record", STRING|INIT|IREMOTE, (READ|WRITE)<<PUBLIC, 62 "rec", (char *)&RE }, 63 { "remote", STRING|INIT|IREMOTE, READ<<PUBLIC, 64 NOSTR, (char *)&RM }, 65 { "script", BOOL, (READ|WRITE)<<PUBLIC, 66 "sc", (char *)FALSE }, 67 { "tabexpand", BOOL, (READ|WRITE)<<PUBLIC, 68 "tab", (char *)FALSE }, 69 { "verbose", BOOL, (READ|WRITE)<<PUBLIC, 70 "verb", (char *)TRUE }, 71 { "SHELL", STRING|ENVIRON|INIT, (READ|WRITE)<<PUBLIC, 72 NULL, _PATH_BSHELL }, 73 { "HOME", STRING|ENVIRON, (READ|WRITE)<<PUBLIC, 74 NOSTR, NOSTR }, 75 { "echocheck", BOOL, (READ|WRITE)<<PUBLIC, 76 "ec", (char *)FALSE }, 77 { "disconnect", STRING|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 78 "di", (char *)&DI }, 79 { "tandem", BOOL, (READ|WRITE)<<PUBLIC, 80 "ta", (char *)TRUE }, 81 { "linedelay", NUMBER|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 82 "ldelay", (char *)&DL }, 83 { "chardelay", NUMBER|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 84 "cdelay", (char *)&CL }, 85 { "etimeout", NUMBER|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 86 "et", (char *)&ET }, 87 { "rawftp", BOOL, (READ|WRITE)<<PUBLIC, 88 "raw", (char *)FALSE }, 89 { "halfduplex", BOOL, (READ|WRITE)<<PUBLIC, 90 "hdx", (char *)FALSE }, 91 { "localecho", BOOL, (READ|WRITE)<<PUBLIC, 92 "le", (char *)FALSE }, 93 { "parity", STRING|INIT|IREMOTE, (READ|WRITE)<<PUBLIC, 94 "par", (char *)&PA }, 95 { NOSTR, NULL, NULL, NOSTR, NOSTR } 96 }; 97