1: /* Copyright (c) 1979 Regents of the University of California */
   2: /*
   3:  * Definitions of editor parameters and limits
   4:  */
   5: 
   6: /*
   7:  * Pathnames.
   8:  */
   9: #include <local/uparm.h>
  10: #define EXRECOVER   libpath(ex2.13recover)
  11: #define EXPRESERVE  libpath(ex2.13preserve)
  12: #define EXSTRINGS   libpath(ex2.13strings)
  13: 
  14: /*
  15:  * If your system believes that tabs expand to a width other than
  16:  * 8 then your makefile should cc with -DTABS=whatever, otherwise we use 8.
  17:  */
  18: #ifndef TABS
  19: #define TABS    8
  20: #endif
  21: 
  22: /*
  23:  * Maximums
  24:  *
  25:  * The definition of LBSIZE should be the same as BUFSIZ (512 usually).
  26:  * Most other defitions are quite generous.
  27:  */
  28: /* FNSIZE is also defined in expreserve.c */
  29: #define FNSIZE      128     /* File name size */
  30: 
  31: #define LBSIZE      512     /* Line length */
  32: #define ESIZE       128     /* Size of compiled re */
  33: 
  34: #define RHSSIZE     256     /* Size of rhs of substitute */
  35: #define NBRA        9       /* Number of re \( \) pairs */
  36: #define TAGSIZE     32      /* Tag length */
  37: #define ONMSZ       32      /* Option name size */
  38: #define GBSIZE      256     /* Buffer size */
  39: #define UXBSIZE     128     /* Unix command buffer size */
  40: #define VBSIZE      128     /* Partial line max size in visual */
  41: /* LBLKS is also defined in expreserve.c */
  42: #define LBLKS       125     /* Line pointer blocks in temp file */
  43: #define HBLKS       1       /* struct header fits in BUFSIZ*HBLKS */
  44: #define MAXDIRT     12      /* Max dirtcnt before sync tfile */
  45: #define TCBUFSIZE   1024        /* Max entry size in termcap, see
  46: 					   also termlib and termcap */
  47: 
  48: /*
  49:  * These are a ridiculously small due to the
  50:  * lousy arglist processing implementation which fixes core
  51:  * proportional to them.  Argv (and hence NARGS) is really unnecessary,
  52:  * and argument character space not needed except when
  53:  * arguments exist.  Argument lists should be saved before the "zero"
  54:  * of the incore line information and could then
  55:  * be reasonably large.
  56:  */
  57: #define NARGS   100     /* Maximum number of names in "next" */
  58: #define NCARGS  512     /* Maximum arglist chars in "next" */
  59: 
  60: /*
  61:  * Note: because the routine "alloca" is not portable, TUBESIZE
  62:  * bytes are allocated on the stack each time you go into visual
  63:  * and then never freed by the system.  Thus if you have not terminals
  64:  * which are larger than 24 * 80 you may well want to make TUBESIZE
  65:  * smaller.  TUBECOLS should stay at 160 since this defines the maximum
  66:  * length of opening on hardcopies and allows two lines of open on
  67:  * terminals like adm3's (glass tty's) where it switches to pseudo
  68:  * hardcopy mode when a line gets longer than 80 characters.
  69:  */
  70: #define TUBELINES   44  /* Number of screen lines for visual */
  71: #define TUBECOLS    160 /* Number of screen columns for visual */
  72: #define TUBESIZE    3400    /* Maximum screen size for visual */
  73: 
  74: /*
  75:  * Output column (and line) are set to this value on cursor addressible
  76:  * terminals when we lose track of the cursor to force cursor
  77:  * addressing to occur.
  78:  */
  79: #define UKCOL       -20 /* Prototype unknown column */
  80: 
  81: /*
  82:  * Attention is the interrupt character (normally 0177 -- delete).
  83:  * Quit is the quit signal (normally FS -- control-\) and quits open/visual.
  84:  */
  85: #define ATTN    (-2)
  86: #define QUIT    ('\\' & 037)

Defined macros

ESIZE defined in line 32; used 3 times
EXPRESERVE defined in line 11; used 1 times
EXRECOVER defined in line 10; used 3 times
EXSTRINGS defined in line 12; used 1 times
GBSIZE defined in line 38; used 2 times
HBLKS defined in line 43; used 4 times
LBLKS defined in line 42; never used
MAXDIRT defined in line 44; never used
NARGS defined in line 57; used 1 times
NBRA defined in line 35; used 2 times
NCARGS defined in line 58; used 1 times
ONMSZ defined in line 37; used 3 times
QUIT defined in line 86; used 1 times
RHSSIZE defined in line 34; never used
TABS defined in line 19; used 6 times
TAGSIZE defined in line 36; used 1 times
TCBUFSIZE defined in line 45; used 1 times
TUBELINES defined in line 70; used 7 times
TUBESIZE defined in line 72; used 4 times
UKCOL defined in line 79; used 3 times
UXBSIZE defined in line 39; used 5 times
VBSIZE defined in line 40; used 1 times

Usage of this include

ex_tune.h used 1 times
Last modified: 1980-09-13
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 891
Valid CSS Valid XHTML 1.0 Strict