/* Copyright (c) 1981 Regents of the University of California */
/* ex_tune.h 7.5 83/07/02 */
* Definitions of editor parameters and limits
* Only exstrings is looked at "+4", i.e. if you give
* "/usr/lib/..." here, "/lib" will be tried only for strings.
#define libpath(file) "/usr/lib/file"
#define loclibpath(file) "/usr/local/lib/file"
#define binpath(file) "/usr/ucb/file"
#define usrpath(file) "/usr/file"
#define E_TERMCAP "/etc/termcap"
#define EXRECOVER libpath(ex3.7recover)
#define EXPRESERVE libpath(ex3.7preserve)
#define EXSTRINGS libpath(ex3.7strings)
* If your system believes that tabs expand to a width other than
* 8 then your makefile should cc with -DTABS=whatever, otherwise we use 8.
* The definition of LBSIZE should be the same as BUFSIZ (512 usually).
* Most other definitions are quite generous.
/* FNSIZE is also defined in expreserve.c */
#define FNSIZE 128 /* File name size */
#define LBSIZE 512 /* Line length */
#define ESIZE 128 /* Size of compiled re */
#define RHSSIZE 256 /* Size of rhs of substitute */
#define NBRA 9 /* Number of re \( \) pairs */
#define TAGSIZE 32 /* Tag length */
#define ONMSZ 64 /* Option name size */
#define GBSIZE 256 /* Buffer size */
#define UXBSIZE 128 /* Unix command buffer size */
#define VBSIZE 128 /* Partial line max size in visual */
/* LBLKS is also defined in expreserve.c */
#define LBLKS 125 /* Line pointer blocks in temp file */
#define HBLKS 1 /* struct header fits in BUFSIZ*HBLKS */
#define MAXDIRT 12 /* Max dirtcnt before sync tfile */
#define TCBUFSIZE 1024 /* Max entry size in termcap, see
also termlib and termcap */
* Except on VMUNIX, these are a ridiculously small due to the
* lousy arglist processing implementation which fixes core
* proportional to them. Argv (and hence NARGS) is really unnecessary,
* and argument character space not needed except when
* arguments exist. Argument lists should be saved before the "zero"
* of the incore line information and could then
#define NARGS 100 /* Maximum number of names in "next" */
#define NCARGS LBSIZE /* Maximum arglist chars in "next" */
* Note: because the routine "alloca" is not portable, TUBESIZE
* bytes are allocated on the stack each time you go into visual
* and then never freed by the system. Thus if you have no terminals
* which are larger than 24 * 80 you may well want to make TUBESIZE
* smaller. TUBECOLS should stay at 160 since this defines the maximum
* length of opening on hardcopies and allows two lines of open on
* terminals like adm3's (glass tty's) where it switches to pseudo
* hardcopy mode when a line gets longer than 80 characters.
#define TUBELINES 60 /* Number of screen lines for visual */
#define TUBECOLS 160 /* Number of screen columns for visual */
#define TUBESIZE 5000 /* Maximum screen size for visual */
#define TUBESIZE 6600 /* 66 * 100 */
* Output column (and line) are set to this value on cursor addressible
* terminals when we lose track of the cursor to force cursor
#define UKCOL -20 /* Prototype unknown column */
* Attention is the interrupt character (normally 0177 -- delete).
* Quit is the quit signal (normally FS -- control-\) and quits open/visual.
#define ATTN (-2) /* mjm: (char) ?? */
#define QUIT ('\\' & 037)