Annotation of 43BSDReno/contrib/jove/termcap.h, revision 1.1.1.1

1.1       root        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: #if !(defined(MAC) || defined(IBMPC))
                     11: 
                     12: /* termcap definitions */
                     13: 
                     14: extern char
                     15:        *CS,    /* If on vt100 */
                     16:        *SO,    /* Start standout */
                     17:        *SE,    /* End standout */
                     18:        *CM,    /* The cursor motion string */
                     19:        *CL,    /* Clear screen */
                     20:        *CE,    /* Clear to end of line */
                     21:        *HO,    /* Home cursor */
                     22:        *AL,    /* Addline (insert line) */
                     23:        *DL,    /* Delete line */
                     24:        *VS,    /* Visual start */
                     25:        *VE,    /* Visual end */
                     26:        *KS,    /* Keypad mode start */
                     27:        *KE,    /* Keypad mode end */
                     28:        *TI,    /* Cursor addressing start */
                     29:        *TE,    /* Cursor addressing end */
                     30:        *IC,    /* Insert char */
                     31:        *DC,    /* Delete char */
                     32:        *IM,    /* Insert mode */
                     33:        *EI,    /* End insert mode */
                     34:        *LL,    /* Last line, first column */
                     35:        *M_IC,  /* Insert char with arg */
                     36:        *M_DC,  /* Delete char with arg */
                     37:        *M_AL,  /* Insert line with arg */
                     38:        *M_DL,  /* Delete line with arg */
                     39:        *SF,    /* Scroll forward */
                     40:        *SR,    /* Scroll reverse */
                     41:        *SP,    /* Send cursor position */
                     42:        *VB,    /* visible bell */
                     43:        *BL,    /* audible bell */
                     44:        *IP,    /* insert pad after character inserted */
                     45:        *lPC,
                     46:        *NL,    /* newline character (usually \n) */
                     47:        *DO;
                     48: 
                     49: extern int
                     50:        LI,             /* number of lines */
                     51:        ILI,            /* number of internal lines */
                     52:        CO,             /* number of columns */
                     53: 
                     54:        UL,             /* underscores don't replace chars already on screen */
                     55:        MI,             /* okay to move while in insert mode */
                     56:        SG,             /* number of magic cookies left by SO and SE */
                     57:        XS,     /* whether standout is braindamaged */
                     58:        HZ,             /* Hazeltine tilde kludge */
                     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:        *UP;    /* Scroll reverse, or up */
                     68: 
                     69: extern short   ospeed;
                     70: 
                     71: #else /* MAC */
                     72: extern int     /* probably should clean this up */
                     73:        LI,             /* number of lines */
                     74:        ILI,            /* number of internal lines */
                     75:        CO,             /* number of columns */
                     76:        TABS,
                     77:        SG;
                     78: #endif /* MAC */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.