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

Defined variables

sccsid defined in line 8; never used
Last modified: 1985-04-30
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1102
Valid CSS Valid XHTML 1.0 Strict