X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/5d5efeb584f31fe3719b295663c8c05704322ce7..3065b9112aa55f5a07940165aceea5b4046a509a:/usr/src/usr.bin/ex/ex_tune.h diff --git a/usr/src/usr.bin/ex/ex_tune.h b/usr/src/usr.bin/ex/ex_tune.h index 6a58313b58..caaa0e50db 100644 --- a/usr/src/usr.bin/ex/ex_tune.h +++ b/usr/src/usr.bin/ex/ex_tune.h @@ -1,5 +1,11 @@ -/* Copyright (c) 1980 Regents of the University of California */ -/* sccs id: @(#)ex_tune.h 4.2 %G% */ +/* + * Copyright (c) 1980 Regents of the University of California. + * All rights reserved. The Berkeley software License Agreement + * specifies the terms and conditions for redistribution. + * + * @(#)ex_tune.h 7.10 (Berkeley) %G% + */ + /* * Definitions of editor parameters and limits */ @@ -10,11 +16,16 @@ * Only exstrings is looked at "+4", i.e. if you give * "/usr/lib/..." here, "/lib" will be tried only for strings. */ -#include "local/uparm.h" -#define EXRECOVER libpath(ex3.4recover) -#define EXPRESERVE libpath(ex3.4preserve) +#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 B_CSH "/bin/csh" +#define EXRECOVER libpath(ex3.7recover) +#define EXPRESERVE libpath(ex3.7preserve) #ifndef VMUNIX -#define EXSTRINGS libpath(ex3.4strings) +#define EXSTRINGS libpath(ex3.7strings) #endif /* @@ -38,13 +49,19 @@ #define ESIZE 512 #define CRSIZE 1024 #else +#ifdef u370 +#define LBSIZE 4096 +#define ESIZE 512 +#define CRSIZE 4096 +#else #define LBSIZE 512 /* Line length */ #define ESIZE 128 /* Size of compiled re */ #define CRSIZE 512 #endif +#endif #define RHSSIZE 256 /* Size of rhs of substitute */ #define NBRA 9 /* Number of re \( \) pairs */ -#define TAGSIZE 32 /* Tag length */ +#define TAGSIZE 128 /* Tag length */ #define ONMSZ 64 /* Option name size */ #define GBSIZE 256 /* Buffer size */ #define UXBSIZE 128 /* Unix command buffer size */ @@ -58,7 +75,7 @@ #define HBLKS 2 #endif #define MAXDIRT 12 /* Max dirtcnt before sync tfile */ -#define TCBUFSIZE 1024 /* Max entry size in termcap, see +#define TCBUFSIZE 2048 /* Max entry size in termcap, see also termlib and termcap */ /* @@ -70,6 +87,7 @@ * of the incore line information and could then * be reasonably large. */ +#undef NCARGS #ifndef VMUNIX #define NARGS 100 /* Maximum number of names in "next" */ #define NCARGS LBSIZE /* Maximum arglist chars in "next" */ @@ -89,13 +107,13 @@ * hardcopy mode when a line gets longer than 80 characters. */ #ifndef VMUNIX -#define TUBELINES 40 /* Number of screen lines for visual */ +#define TUBELINES 60 /* Number of screen lines for visual */ #define TUBECOLS 160 /* Number of screen columns for visual */ -#define TUBESIZE 3400 /* Maximum screen size for visual */ +#define TUBESIZE 5000 /* Maximum screen size for visual */ #else -#define TUBELINES 66 +#define TUBELINES 100 #define TUBECOLS 160 -#define TUBESIZE 6600 /* 66 * 100 */ +#define TUBESIZE (TUBELINES * 100) #endif /* @@ -109,5 +127,5 @@ * Attention is the interrupt character (normally 0177 -- delete). * Quit is the quit signal (normally FS -- control-\) and quits open/visual. */ -#define ATTN (-2) +#define ATTN (-2) /* mjm: (char) ?? */ #define QUIT ('\\' & 037)