# 2.11BSD#431 - /usr/src/new/jove/termcap.h

##### Macros

    MAXCOLS           X

       1: /***************************************************************************
       2:  * This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne.  JOVE *
       3:  * is provided to you without charge, and with no warranty.  You may give  *
       4:  * away copies of JOVE, including sources, provided that this notice is    *
       5:  * included in all the files.                                              *
       6:  ***************************************************************************/
       7:
       8: #define MAXCOLS     256 /* maximum number of columns */
       9:
      10: #ifndef MAC
      11: #ifndef _TERM
      12:
      13: /* termcap definitions */
      14:
      15: extern char
      16:     *UP,    /* Scroll reverse, or up */
      17:     *CS,    /* If on vt100 */
      18:     *SO,    /* Start standout */
      19:     *SE,    /* End standout */
      20:     *CM,    /* The cursor motion string */
      21:     *CL,    /* Clear screen */
      22:     *CE,    /* Clear to end of line */
      23:     *HO,    /* Home cursor */
      24:     *AL,    /* Addline (insert line) */
      25:     *DL,    /* Delete line */
      26:     *VS,    /* Visual start */
      27:     *VE,    /* Visual end */
      28:     *KS,    /* Keypad mode start */
      29:     *KE,    /* Keypad mode end */
      30:     *TI,    /* Cursor addressing start */
      31:     *TE,    /* Cursor addressing end */
      32:     *IC,    /* Insert char */
      33:     *DC,    /* Delete char */
      34:     *IM,    /* Insert mode */
      35:     *EI,    /* End insert mode */
      36:     *LL,    /* Last line, first column */
      37:     *M_IC,  /* Insert char with arg */
      38:     *M_DC,  /* Delete char with arg */
      39:     *M_AL,  /* Insert line with arg */
      40:     *M_DL,  /* Delete line with arg */
      41:     *SF,    /* Scroll forward */
      42:     *SR,    /* Scroll reverse */
      43:     *SP,    /* Send cursor position */
      44:     *VB,    /* visible bell */
      45:     *BL,    /* audible bell */
      46:     *IP,    /* insert pad after character inserted */
      47:     *lPC,
      48:     *NL;    /* newline character (usually \n) */
      49:
      50: extern int
      51:     LI,     /* number of lines */
      52:     ILI,        /* number of internal lines */
      53:     CO,     /* number of columns */
      54:
      55:     UL,     /* underscores don't replace chars already on screen */
      56:     MI,     /* okay to move while in insert mode */
      57:     SG,     /* number of magic cookies left by SO and SE */
      58:
      59:     TABS,       /* whether we are in tabs mode */
      60:     UPlen,      /* length of the UP string */
      61:     HOlen,      /* length of Home string */
      62:     LLlen;      /* length of lower string */
      63:
      64: extern char
      65:     PC,
      66:     *BC;        /* back space */
      67:
      68: extern short    ospeed;
      69:
      70: #endif /* _TERM */
      71:
      72: #else /* MAC */
      73: extern int  /* probably should clean this up */
      74:     LI,     /* number of lines */
      75:     ILI,        /* number of internal lines */
      76:     CO,     /* number of columns */
      77:     TABS,
      78:     SG;
      79: #endif /* MAC */

#### Defined macros

MAXCOLS defined in line 8; used 4 times

- in /usr/src/new/jove/disp.c line 520, 911
- in /usr/src/new/jove/term.c line 158-159(2)

#### Usage of this include

termcap.h used 14 times

- in /usr/src/new/jove/ask.c line 9
- in /usr/src/new/jove/disp.c line 10
- in /usr/src/new/jove/extend.c line 10
- in /usr/src/new/jove/fmt.c line 10
- in /usr/src/new/jove/fp.c line 11
- in /usr/src/new/jove/io.c line 10
- in /usr/src/new/jove/jove.c line 13
- in /usr/src/new/jove/mac.c line 32
- in /usr/src/new/jove/misc.c line 12
- in /usr/src/new/jove/proc.c line 10
- in /usr/src/new/jove/screen.c line 11
- in /usr/src/new/jove/term.c line 27
- in /usr/src/new/jove/util.c line 15
- in /usr/src/new/jove/wind.c line 11

Last modified: 1988-03-15 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 461 |