14b93d75cSdist /* 255947aa5Sbostic * Copyright (c) 1983 The Regents of the University of California. 355947aa5Sbostic * All rights reserved. 455947aa5Sbostic * 5*068cc2b8Sbostic * %sccs.include.redist.c% 64b93d75cSdist */ 74b93d75cSdist 840e850a4Ssam #ifndef lint 9*068cc2b8Sbostic static char sccsid[] = "@(#)vars.c 5.5 (Berkeley) 06/01/90"; 1055947aa5Sbostic #endif /* not lint */ 1140e850a4Ssam 12dbbadf10Sroot #include "tip.h" 13a8671e05Sbostic #include "pathnames.h" 14dbbadf10Sroot 15dbbadf10Sroot /* 16dbbadf10Sroot * Definition of variables 17dbbadf10Sroot */ 18dbbadf10Sroot value_t vtable[] = { 19dbbadf10Sroot { "beautify", BOOL, (READ|WRITE)<<PUBLIC, 20dbbadf10Sroot "be", (char *)TRUE }, 21dbbadf10Sroot { "baudrate", NUMBER|IREMOTE|INIT, (READ<<PUBLIC)|(WRITE<<ROOT), 22dbbadf10Sroot "ba", (char *)&BR }, 23dbbadf10Sroot { "dialtimeout",NUMBER, (READ<<PUBLIC)|(WRITE<<ROOT), 24dbbadf10Sroot "dial", (char *)60 }, 25dbbadf10Sroot { "eofread", STRING|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 26dbbadf10Sroot "eofr", (char *)&IE }, 27c02763aaSralph { "eofwrite", STRING|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 28dbbadf10Sroot "eofw", (char *)&OE }, 29dbbadf10Sroot { "eol", STRING|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 30dbbadf10Sroot NOSTR, (char *)&EL }, 31dbbadf10Sroot { "escape", CHAR, (READ|WRITE)<<PUBLIC, 32dbbadf10Sroot "es", (char *)'~' }, 33c02763aaSralph { "exceptions", STRING|INIT|IREMOTE, (READ|WRITE)<<PUBLIC, 34c02763aaSralph "ex", (char *)&EX }, 35dbbadf10Sroot { "force", CHAR, (READ|WRITE)<<PUBLIC, 361e522e64Sbostic "fo", (char *)CTRL('p') }, 37dbbadf10Sroot { "framesize", NUMBER|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 38dbbadf10Sroot "fr", (char *)&FS }, 39dbbadf10Sroot { "host", STRING|IREMOTE|INIT, READ<<PUBLIC, 40dbbadf10Sroot "ho", (char *)&HO }, 41dbbadf10Sroot { "log", STRING|INIT, (READ|WRITE)<<ROOT, 42a8671e05Sbostic NOSTR, _PATH_ACULOG }, 43dbbadf10Sroot { "phones", STRING|INIT|IREMOTE, READ<<PUBLIC, 44dbbadf10Sroot NOSTR, (char *)&PH }, 45c02763aaSralph { "prompt", CHAR, (READ|WRITE)<<PUBLIC, 46dbbadf10Sroot "pr", (char *)'\n' }, 47dbbadf10Sroot { "raise", BOOL, (READ|WRITE)<<PUBLIC, 48dbbadf10Sroot "ra", (char *)FALSE }, 49dbbadf10Sroot { "raisechar", CHAR, (READ|WRITE)<<PUBLIC, 501e522e64Sbostic "rc", (char *)CTRL('a') }, 51c02763aaSralph { "record", STRING|INIT|IREMOTE, (READ|WRITE)<<PUBLIC, 52c02763aaSralph "rec", (char *)&RE }, 53dbbadf10Sroot { "remote", STRING|INIT|IREMOTE, READ<<PUBLIC, 54dbbadf10Sroot NOSTR, (char *)&RM }, 55dbbadf10Sroot { "script", BOOL, (READ|WRITE)<<PUBLIC, 56dbbadf10Sroot "sc", (char *)FALSE }, 57dbbadf10Sroot { "tabexpand", BOOL, (READ|WRITE)<<PUBLIC, 58dbbadf10Sroot "tab", (char *)FALSE }, 59dbbadf10Sroot { "verbose", BOOL, (READ|WRITE)<<PUBLIC, 60dbbadf10Sroot "verb", (char *)TRUE }, 61dbbadf10Sroot { "SHELL", STRING|ENVIRON|INIT, (READ|WRITE)<<PUBLIC, 62a8671e05Sbostic NULL, _PATH_BSHELL }, 63dbbadf10Sroot { "HOME", STRING|ENVIRON, (READ|WRITE)<<PUBLIC, 64dbbadf10Sroot NOSTR, NOSTR }, 653260ff20Ssam { "echocheck", BOOL, (READ|WRITE)<<PUBLIC, 663260ff20Ssam "ec", (char *)FALSE }, 67c02763aaSralph { "disconnect", STRING|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 68c02763aaSralph "di", (char *)&DI }, 69c02763aaSralph { "tandem", BOOL, (READ|WRITE)<<PUBLIC, 70c02763aaSralph "ta", (char *)TRUE }, 71c02763aaSralph { "linedelay", NUMBER|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 72c02763aaSralph "ldelay", (char *)&DL }, 73c02763aaSralph { "chardelay", NUMBER|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 74c02763aaSralph "cdelay", (char *)&CL }, 75c02763aaSralph { "etimeout", NUMBER|IREMOTE|INIT, (READ|WRITE)<<PUBLIC, 76c02763aaSralph "et", (char *)&ET }, 77c02763aaSralph { "rawftp", BOOL, (READ|WRITE)<<PUBLIC, 78c02763aaSralph "raw", (char *)FALSE }, 79c02763aaSralph { "halfduplex", BOOL, (READ|WRITE)<<PUBLIC, 80c02763aaSralph "hdx", (char *)FALSE }, 81c02763aaSralph { "localecho", BOOL, (READ|WRITE)<<PUBLIC, 82c02763aaSralph "le", (char *)FALSE }, 83c02763aaSralph { "parity", STRING|INIT|IREMOTE, (READ|WRITE)<<PUBLIC, 84c02763aaSralph "par", (char *)&PA }, 85dbbadf10Sroot { NOSTR, NULL, NULL, NOSTR, NOSTR } 86dbbadf10Sroot }; 87