# 2.11BSD#431 - /usr/src/ucb/ex/ex_tune.h

##### Macros

    ATTN              X
    B_CSH             X
    CRSIZE            X
    ESIZE             X
    EXPRESERVE        X
    EXRECOVER         X
    EXSTRINGS         X
    E_TERMCAP         X
    FNSIZE            X
    GBSIZE            X
    HBLKS             X
    LBLKS             X
    LBSIZE            X
    MAXDIRT           X
    NARGS             X
    NBRA              X
    NCARGS            X
    ONMSZ             X
    QUIT              X
    RHSSIZE           X
    TABS              X
    TAGSIZE           X
    TCBUFSIZE         X
    TUBECOLS          X
    TUBELINES         X
    TUBESIZE          X
    UKCOL             X
    UXBSIZE           X
    VBSIZE            X

       1: /*
       2:  * Copyright (c) 1980 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  *
       6:  *	@(#)ex_tune.h	7.8.1 (2.11BSD) 1996/10/23
       7:  */
       8:
       9: /*
      10:  * Definitions of editor parameters and limits
      11:  */
      12:
      13: /*
      14:  * Pathnames.
      15:  */
      16: #define E_TERMCAP   "/etc/termcap"
      17: #define B_CSH       "/bin/csh"
      18: #define EXRECOVER   "/usr/sbin/exrecover"
      19: #define EXPRESERVE  "/usr/sbin/expreserve"
      20: #ifndef VMUNIX
      21: #define EXSTRINGS   "/usr/share/misc/exstrings"
      22: #endif
      23:
      24: /*
      25:  * If your system believes that tabs expand to a width other than
      26:  * 8 then your makefile should cc with -DTABS=whatever, otherwise we use 8.
      27:  */
      28: #ifndef TABS
      29: #define TABS    8
      30: #endif
      31:
      32: /*
      33:  * Maximums
      34:  *
      35:  * The definition of LBSIZE should be the same as BUFSIZ (512 usually).
      36:  * Most other definitions are quite generous.
      37:  */
      38: /* FNSIZE is also defined in expreserve.c */
      39: #define FNSIZE      128     /* File name size */
      40: #ifdef VMUNIX
      41: #define LBSIZE      1024
      42: #define ESIZE       512
      43: #define CRSIZE      1024
      44: #else
      45: #ifdef u370
      46: #define LBSIZE      4096
      47: #define ESIZE       512
      48: #define CRSIZE      4096
      49: #else
      50: #define LBSIZE      512     /* Line length */
      51: #define ESIZE       128     /* Size of compiled re */
      52: #define CRSIZE      512
      53: #endif
      54: #endif
      55: #define RHSSIZE     256     /* Size of rhs of substitute */
      56: #define NBRA        9       /* Number of re \( \) pairs */
      57: #define TAGSIZE     128     /* Tag length */
      58: #define ONMSZ       64      /* Option name size */
      59: #define GBSIZE      256     /* Buffer size */
      60: #define UXBSIZE     128     /* Unix command buffer size */
      61: #define VBSIZE      128     /* Partial line max size in visual */
      62: /* LBLKS is also defined in expreserve.c */
      63: #ifndef VMUNIX
      64: #define LBLKS       125     /* Line pointer blocks in temp file */
      65: #define HBLKS       1       /* struct header fits in BUFSIZ*HBLKS */
      66: #else
      67: #define LBLKS       900
      68: #define HBLKS       2
      69: #endif
      70: #define MAXDIRT     12      /* Max dirtcnt before sync tfile */
      71: #define TCBUFSIZE   1024        /* Max entry size in termcap, see
      72: 					   also termlib and termcap */
      73:
      74: /*
      75:  * Except on VMUNIX, these are a ridiculously small due to the
      76:  * lousy arglist processing implementation which fixes core
      77:  * proportional to them.  Argv (and hence NARGS) is really unnecessary,
      78:  * and argument character space not needed except when
      79:  * arguments exist.  Argument lists should be saved before the "zero"
      80:  * of the incore line information and could then
      81:  * be reasonably large.
      82:  */
      83: #undef NCARGS
      84: #ifndef VMUNIX
      85: #define NARGS   100     /* Maximum number of names in "next" */
      86: #define NCARGS  LBSIZE      /* Maximum arglist chars in "next" */
      87: #else
      88: #define NCARGS  5120
      89: #define NARGS   (NCARGS/6)
      90: #endif
      91:
      92: /*
      93:  * Note: because the routine "alloca" is not portable, TUBESIZE
      94:  * bytes are allocated on the stack each time you go into visual
      95:  * and then never freed by the system.  Thus if you have no terminals
      96:  * which are larger than 24 * 80 you may well want to make TUBESIZE
      97:  * smaller.  TUBECOLS should stay at 160 since this defines the maximum
      98:  * length of opening on hardcopies and allows two lines of open on
      99:  * terminals like adm3's (glass tty's) where it switches to pseudo
     100:  * hardcopy mode when a line gets longer than 80 characters.
     101:  */
     102: #ifndef VMUNIX
     103: #define TUBELINES   70  /* Number of screen lines for visual */
     104: #define TUBECOLS    160 /* Number of screen columns for visual */
     105: #define TUBESIZE    6000    /* Maximum screen size for visual */
     106: #else
     107: #define TUBELINES   70
     108: #define TUBECOLS    160
     109: #define TUBESIZE    7000    /* 70 * 100 */
     110: #endif
     111:
     112: /*
     113:  * Output column (and line) are set to this value on cursor addressible
     114:  * terminals when we lose track of the cursor to force cursor
     115:  * addressing to occur.
     116:  */
     117: #define UKCOL       -20 /* Prototype unknown column */
     118:
     119: /*
     120:  * Attention is the interrupt character (normally 0177 -- delete).
     121:  * Quit is the quit signal (normally FS -- control-\) and quits open/visual.
     122:  */
     123: #define ATTN    (-2)    /* mjm: (char) ??  */
     124: #define QUIT    ('\\' & 037)

#### Defined macros

ATTN defined in line 123; used 13 times

- in /usr/src/ucb/ex/ex_v.c line 396
- in /usr/src/ucb/ex/ex_vadj.c line 648, 695, 711, 850
- in /usr/src/ucb/ex/ex_vget.c line 28, 227
- in /usr/src/ucb/ex/ex_vmain.c line 637
- in /usr/src/ucb/ex/ex_vops2.c line 469, 614
- in /usr/src/ucb/ex/ex_vput.c line 114
- in /usr/src/ucb/ex/ex_vwind.c line 372, 408

B_CSH defined in line 17; never used
CRSIZE defined in line 52; never used
ESIZE defined in line 51; used 3 times

- in /usr/src/ucb/ex/ex_re.c line 587, 652, 687

EXPRESERVE defined in line 19; used 1 times

- in /usr/src/ucb/ex/ex_subr.c line 874

EXRECOVER defined in line 18; used 3 times

- in /usr/src/ucb/ex/ex.c line 272-273(2)
- in /usr/src/ucb/ex/ex_unix.c line 319

EXSTRINGS defined in line 21; used 1 times

- in /usr/src/ucb/ex/ex.c line 88

E_TERMCAP defined in line 16; never used
FNSIZE defined in line 39; used 5 times

- in /usr/src/ucb/ex/ex.h line 185, 262
- in /usr/src/ucb/ex/ex_cmdsub.c line 473
- in /usr/src/ucb/ex/ex_io.c line 299
- in /usr/src/ucb/ex/exrecover.c line 208

GBSIZE defined in line 59; used 2 times

- in /usr/src/ucb/ex/ex_re.c line 25, 76

HBLKS defined in line 68; used 6 times

- in /usr/src/ucb/ex/ex_temp.c line 35-41(4)
- in /usr/src/ucb/ex/exrecover.c line 503, 579

LBLKS defined in line 67; never used
LBSIZE defined in line 50; used 41 times

- in line 86
- in /usr/src/ucb/ex/ex.h line 202
- in /usr/src/ucb/ex/ex_addr.c line 245
- in /usr/src/ucb/ex/ex_cmdsub.c line 228, 456, 543-547(2)
- in /usr/src/ucb/ex/ex_get.c line 199
- in /usr/src/ucb/ex/ex_io.c line 161, 179, 426-430(2), 658, 697-701(2)
- in /usr/src/ucb/ex/ex_re.c line 453, 463, 482, 489, 517
- in /usr/src/ucb/ex/ex_subr.c line 64
- in /usr/src/ucb/ex/ex_temp.c line 545
- in /usr/src/ucb/ex/ex_unix.c line 279-283(2)
- in /usr/src/ucb/ex/ex_v.c line 64, 70, 181
- in /usr/src/ucb/ex/ex_vadj.c line 611, 826
- in /usr/src/ucb/ex/ex_vmain.c line 1181
- in /usr/src/ucb/ex/ex_vops.c line 72, 184, 448
- in /usr/src/ucb/ex/ex_vops2.c line 334, 825, 885-886(2), 896-898(2)
- in /usr/src/ucb/ex/ex_vops3.c line 54, 359

MAXDIRT defined in line 70; used 1 times

- in /usr/src/ucb/ex/ex_temp.c line 320

NARGS defined in line 89; used 1 times

- in /usr/src/ucb/ex/ex_io.c line 261

NBRA defined in line 56; used 2 times

- in /usr/src/ucb/ex/ex_re.c line 543, 612

NCARGS defined in line 88; used 3 times

- in line 83, 89
- in /usr/src/ucb/ex/ex_io.c line 202

ONMSZ defined in line 58; used 12 times

- in /usr/src/ucb/ex/ex.h line 263-265(3)
- in /usr/src/ucb/ex/ex_data.c line 22-24(2), 30-41(4)
- in /usr/src/ucb/ex/ex_set.c line 18, 38, 118

QUIT defined in line 124; used 1 times

- in /usr/src/ucb/ex/ex_vget.c line 227

RHSSIZE defined in line 55; used 3 times

- in /usr/src/ucb/ex/ex_re.c line 286, 314, 334

TABS defined in line 29; used 7 times

- in line 28
- in /usr/src/ucb/ex/ex_data.c line 74-78(4)
- in /usr/src/ucb/ex/ex_set.c line 104-106(2)

TAGSIZE defined in line 57; used 1 times

- in /usr/src/ucb/ex/ex.h line 200

TCBUFSIZE defined in line 71; used 1 times

- in /usr/src/ucb/ex/ex_tty.c line 65

TUBECOLS defined in line 108; used 9 times

- in /usr/src/ucb/ex/ex_v.c line 117, 356
- in /usr/src/ucb/ex/ex_vadj.c line 151-154(2)
- in /usr/src/ucb/ex/ex_vmain.c line 28, 953, 1019, 1080
- in /usr/src/ucb/ex/ex_vput.c line 471

TUBELINES defined in line 107; used 10 times

- in /usr/src/ucb/ex/ex_tty.c line 164-165(2)
- in /usr/src/ucb/ex/ex_v.c line 358, 367
- in /usr/src/ucb/ex/ex_vadj.c line 351, 442, 448, 776, 1024
- in /usr/src/ucb/ex/ex_vget.c line 530

TUBESIZE defined in line 109; used 5 times

- in /usr/src/ucb/ex/ex_v.c line 64, 70, 181, 332, 358

UKCOL defined in line 117; used 3 times

- in /usr/src/ucb/ex/ex_put.c line 732-733(2)
- in /usr/src/ucb/ex/ex_v.c line 126

UXBSIZE defined in line 60; used 5 times

- in /usr/src/ucb/ex/ex.h line 266
- in /usr/src/ucb/ex/ex_unix.c line 29, 44, 60, 83

VBSIZE defined in line 61; used 1 times

- in /usr/src/ucb/ex/ex_vget.c line 303

#### Usage of this include

ex_tune.h used 2 times

- in /usr/src/ucb/ex/ex.h line 85
- in /usr/src/ucb/ex/ex_extern.c line 25

Last modified: 1996-10-24 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1223 |