file reorg, pathnames.h, paths.h
[unix-history] / usr / src / usr.bin / ex / ex_tune.h
index 93317da..dbdde63 100644 (file)
@@ -1,26 +1,16 @@
-/* Copyright (c) 1981 Regents of the University of California */
-/*     ex_tune.h       7.5     83/07/02        */
 /*
 /*
- * Definitions of editor parameters and limits
+ * 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.12 (Berkeley) %G%
  */
 
  */
 
+#include "pathnames.h"
+
 /*
 /*
- * Pathnames.
- *
- * Only exstrings is looked at "+4", i.e. if you give
- * "/usr/lib/..." here, "/lib" will be tried only for strings.
+ * Definitions of editor parameters and limits
  */
  */
-#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.7strings)
-#endif
 
 /*
  * If your system believes that tabs expand to a width other than
 
 /*
  * If your system believes that tabs expand to a width other than
 #define ESIZE          512
 #define CRSIZE         4096
 #else
 #define ESIZE          512
 #define CRSIZE         4096
 #else
+#ifdef vms
+#define LBSIZE         1024
+#define        ESIZE           512
+#define        CRSIZE          1024
+#else
 #define        LBSIZE          512             /* Line length */
 #define        ESIZE           128             /* Size of compiled re */
 #define CRSIZE         512
 #endif
 #endif
 #define        LBSIZE          512             /* Line length */
 #define        ESIZE           128             /* Size of compiled re */
 #define CRSIZE         512
 #endif
 #endif
+#endif
 #define        RHSSIZE         256             /* Size of rhs of substitute */
 #define        NBRA            9               /* Number of re \( \) pairs */
 #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 */
 #define        ONMSZ           64              /* Option name size */
 #define        GBSIZE          256             /* Buffer size */
 #define        UXBSIZE         128             /* Unix command buffer size */
@@ -69,7 +65,7 @@
 #define        HBLKS           2
 #endif
 #define        MAXDIRT         12              /* Max dirtcnt before sync tfile */
 #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 */
 
 /*
                                           also termlib and termcap */
 
 /*
@@ -81,7 +77,9 @@
  * of the incore line information and could then
  * be reasonably large.
  */
  * of the incore line information and could then
  * be reasonably large.
  */
+#ifndef        vms
 #undef NCARGS
 #undef NCARGS
+#endif
 #ifndef VMUNIX
 #define        NARGS   100             /* Maximum number of names in "next" */
 #define        NCARGS  LBSIZE          /* Maximum arglist chars in "next" */
 #ifndef VMUNIX
 #define        NARGS   100             /* Maximum number of names in "next" */
 #define        NCARGS  LBSIZE          /* Maximum arglist chars in "next" */
 #define        TUBECOLS        160     /* Number of screen columns for visual */
 #define        TUBESIZE        5000    /* Maximum screen size for visual */
 #else
 #define        TUBECOLS        160     /* Number of screen columns for visual */
 #define        TUBESIZE        5000    /* Maximum screen size for visual */
 #else
-#define        TUBELINES       66
+#define        TUBELINES       100
 #define        TUBECOLS        160
 #define        TUBECOLS        160
-#define        TUBESIZE        6600    /* 66 * 100 */
+#define        TUBESIZE        (TUBELINES * 100)
 #endif
 
 /*
 #endif
 
 /*