1 /* 2 * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 3 * Use is subject to license terms. 4 */ 5 6 /* 7 * Copyright (c) 1983 Regents of the University of California. 8 * All rights reserved. The Berkeley software License Agreement 9 * specifies the terms and conditions for redistribution. 10 */ 11 12 #include "tip.h" 13 14 /* 15 * Definition of variables 16 */ 17 value_t vtable[] = { 18 { "beautify", BOOL, (READ|WRITE)<<PUBLIC, 19 "be", (char *)TRUE }, 20 { "baudrate", NUMBER|IREMOTE|INIT, (READ<<PUBLIC)|(WRITE<<ROOT), 21 "ba", (char *)&BR }, 22 { "dialtimeout", NUMBER, (READ<<PUBLIC)|(WRITE<<ROOT), 23 "dial", (char *)60 }, 24 { "eofread", STRING|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 25 "eofr", (char *)&IE }, 26 { "eofwrite", STRING|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 27 "eofw", (char *)&OE }, 28 { "eol", STRING|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 29 NOSTR, (char *)&EL }, 30 { "escape", CHAR, (READ|WRITE)<<PUBLIC, 31 "es", (char *)'~' }, 32 { "exceptions", STRING|INIT|IREMOTE, (READ|WRITE)<<PUBLIC, 33 "ex", (char *)&EX }, 34 { "force", CHAR, (READ|WRITE)<<PUBLIC, 35 "fo", (char *)0377 }, 36 { "framesize", NUMBER|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 37 "fr", (char *)&FS }, 38 { "host", STRING|IREMOTE|INIT, READ<<PUBLIC, 39 "ho", (char *)&HO }, 40 { "log", STRING|INIT, (READ|WRITE)<<ROOT, 41 NOSTR, "/var/adm/aculog" }, 42 { "phones", STRING|INIT|IREMOTE, READ<<PUBLIC, 43 NOSTR, (char *)&PH }, 44 { "prompt", CHAR, (READ|WRITE)<<PUBLIC, 45 "pr", (char *)'\n' }, 46 { "raise", BOOL, (READ|WRITE)<<PUBLIC, 47 "ra", (char *)FALSE }, 48 { "raisechar", CHAR, (READ|WRITE)<<PUBLIC, 49 "rc", (char *)0377 }, 50 { "record", STRING|INIT|IREMOTE, (READ|WRITE)<<PUBLIC, 51 "rec", (char *)&RE }, 52 { "remote", STRING|INIT|IREMOTE, READ<<PUBLIC, 53 NOSTR, (char *)&RM }, 54 { "script", BOOL, (READ|WRITE)<<PUBLIC, 55 "sc", (char *)FALSE }, 56 { "tabexpand", BOOL, (READ|WRITE)<<PUBLIC, 57 "tab", (char *)FALSE }, 58 { "verbose", BOOL, (READ|WRITE)<<PUBLIC, 59 "verb", (char *)TRUE }, 60 { "SHELL", STRING|ENVIRON|INIT, (READ|WRITE)<<PUBLIC, 61 NULL, "/bin/sh" }, 62 { "HOME", STRING|ENVIRON, (READ|WRITE)<<PUBLIC, 63 NOSTR, NOSTR }, 64 { "echocheck", BOOL, (READ|WRITE)<<PUBLIC, 65 "ec", (char *)FALSE }, 66 { "disconnect", STRING|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 67 "di", (char *)&DI }, 68 { "tandem", BOOL, (READ|WRITE)<<PUBLIC, 69 "ta", (char *)TRUE }, 70 { "linedelay", NUMBER|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 71 "ldelay", (char *)&DL }, 72 { "chardelay", NUMBER|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 73 "cdelay", (char *)&CL }, 74 { "etimeout", NUMBER|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 75 "et", (char *)&ET }, 76 { "rawftp", BOOL, (READ|WRITE)<<PUBLIC, 77 "raw", (char *)FALSE }, 78 { "halfduplex", BOOL, (READ|WRITE)<<PUBLIC, 79 "hdx", (char *)FALSE }, 80 { "localecho", BOOL, (READ|WRITE)<<PUBLIC, 81 "le", (char *)FALSE }, 82 { "parity", STRING|INIT|IREMOTE, (READ|WRITE)<<PUBLIC, 83 "par", (char *)&PA }, 84 { "hardwareflow", BOOL, (READ|WRITE)<<PUBLIC, 85 "hf", (char *)FALSE }, 86 { NOSTR, 0, 0, NOSTR, NOSTR } 87 }; 88