home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Distributions / ucb / spencer_2bsd.tar.gz / 2bsd.tar / src / ex / ex_data.c < prev    next >
C/C++ Source or Header  |  1980-02-17  |  2KB  |  61 lines

  1. /* Copyright (c) 1979 Regents of the University of California */
  2. #include "ex.h"
  3.  
  4. /*
  5.  * Initialization of option values.
  6.  * The option #defines in ex_vars.h are made
  7.  * from this file by the script makeoptions.
  8.  */
  9. char    direct[32] =
  10.     { '/', 't', 'm', 'p' };
  11. char    sections[32] =
  12.     { 'N', 'H', 'S', 'H' };
  13. char    paragraphs[32] =
  14.     { 'I', 'P', 'L', 'P', 'P', 'P', 'Q', 'P', 'b', 'p' };
  15. char    shell[32] =
  16.     { '/', 'b', 'i', 'n', '/', 's', 'h' };
  17. char    ttytype[16] =
  18.     { 'd', 'u', 'm', 'b' };
  19.  
  20. short    COLUMNS = 80;
  21. short    LINES = 24;
  22.  
  23. struct    option options[NOPTS + 1] = {
  24.     "autoindent",    "ai",    ONOFF,        0,    0,    0,
  25.     "autoprint",    "ap",    ONOFF,        1,    1,    0,
  26.     "beautify",    "bf",    ONOFF,        0,    0,    0,
  27.     "directory",    "dir",    STRING,        0,    0,    direct,
  28.     "errorbells",    "eb",    ONOFF,        0,    0,    0,
  29.     "ignorecase",    "ic",    ONOFF,        0,    0,    0,
  30. #ifdef LISP
  31.     "lisp",        0,    ONOFF,        0,    0,    0,
  32. #endif
  33.     "list",        0,    ONOFF,        0,    0,    0,
  34.     "magic",    0,    ONOFF,        1,    1,    0,
  35.     "number",    "nu",    ONOFF,        0,    0,    0,
  36.     "open",        0,    ONOFF,        1,    1,    0,
  37.     "optimize",    "opt",    ONOFF,        0,    0,    0,
  38.     "paragraphs",    "para",    STRING,        0,    0,    paragraphs,
  39.     "prompt",    0,    ONOFF,        1,    1,    0,
  40.     "redraw",    0,    ONOFF,        0,    0,    0,
  41.     "report",    0,    NUMERIC,    5,    5,    0,
  42.     "scroll",    "scr",    NUMERIC,    12,    12,    0,
  43.     "sections",    "sect",    STRING,        0,    0,    sections,
  44.     "shell",    "sh",    STRING,        0,    0,    shell,
  45.     "shiftwidth",    "sw",    NUMERIC,    TABS,    TABS,    0,
  46. #ifdef LISP
  47.     "showmatch",    "sm",    ONOFF,        0,    0,    0,
  48. #endif
  49.     "slowopen",    "slow",    ONOFF,        0,    0,    0,
  50.     "tabstop",    "ts",    NUMERIC,    TABS,    TABS,    0,
  51.     "ttytype",    "tty",    OTERM,        0,    0,    ttytype,
  52.     "term",        0,    OTERM,        0,    0,    ttytype,
  53.     "terse",    0,    ONOFF,        0,    0,    0,
  54.     "warn",        0,    ONOFF,        1,    1,    0,
  55.     "window",    "wi",    NUMERIC,    23,    23,    0,
  56.     "wrapscan",    "ws",    ONOFF,        1,    1,    0,
  57.     "wrapmargin",    "wm",    NUMERIC,    0,    0,    0,
  58.     "writeany",    "wa",    ONOFF,        0,    0,    0,
  59.     0,        0,    0,        0,    0,    0,
  60. };
  61.