Annotation of 43BSDReno/contrib/jove/vars.h, revision 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: struct variable {
        !             9:        int     Type;           /* in this case a variable */
        !            10:        char    *Name;          /* name is always second */
        !            11:        char    *v_value;
        !            12:        int     v_flags;
        !            13: };
        !            14: 
        !            15: /* variable types/flags */
        !            16: #define V_BASE10       01      /* is integer in base 10 */
        !            17: #define V_BASE8                02      /* is integer in base 8 */
        !            18: #define V_BOOL         04      /* is a boolean */
        !            19: #define V_STRING       010     /* is a string */
        !            20: #define V_CHAR         020     /* is a character */
        !            21: #define V_FILENAME     040     /* a file name (implies V_STRING) */
        !            22: #define V_TYPEMASK     077     /* mask off the extra bits */
        !            23: #define V_MODELINE     0100    /* update modeline */
        !            24: #define V_CLRSCREEN    0200    /* clear and redraw screen */
        !            25: #define V_TTY_RESET    0400    /* redo the tty modes */
        !            26: 
        !            27: extern const struct variable   variables[];
        !            28: 
        !            29: #ifdef MAC
        !            30: # ifdef TXT_TO_C
        !            31: int            /* kludge, so setmaps will compile with variables */
        !            32: # else
        !            33: extern int
        !            34: # endif /* TXT_TO_C */
        !            35: #else
        !            36: extern int
        !            37: #endif /* MAC */
        !            38: 
        !            39:        OKXonXoff,              /* disable start/stop characters */
        !            40:        MetaKey,                /* this terminal has a meta key */
        !            41:        VisBell,                /* use visible bell (if possible) */
        !            42:        WrapScan,               /* make searches wrap */
        !            43: #ifndef MAC
        !            44:        phystab,                /* terminal's tabstop settings */
        !            45: #endif
        !            46:        tabstop,                /* expand tabs to this number of spaces */
        !            47: #ifdef BACKUPFILES
        !            48:        BkupOnWrite,            /* make backup files when writing */
        !            49: #endif
        !            50:        RMargin,                /* right margin */
        !            51:        LMargin,                /* left margin */
        !            52:        ScrollStep,             /* how should we scroll */
        !            53: #ifndef MAC
        !            54:        WtOnMk,                 /* write files on compile-it command */
        !            55: #endif
        !            56:        EndWNewline,            /* end files with a blank line */
        !            57:        MarkThresh,             /* moves greater than MarkThresh will SetMark */
        !            58:        PDelay,                 /* paren flash delay in tenths of a second */
        !            59:        CArgIndent,             /* how to indent arguments to C functions */
        !            60:        CIndIncrmt,             /* how much each indentation level pushes
        !            61:                                   over in C mode */
        !            62:        CreatMode,              /* default mode for creat'ing files */
        !            63:        CaseIgnore,             /* case ignore search */
        !            64: #ifdef ABBREV
        !            65:        AutoCaseAbbrev,         /* automatically do case on abbreviations */
        !            66: #endif
        !            67:        MarksShouldFloat,       /* adjust marks on insertion/deletion */
        !            68:        UseRE,                  /* use regular expressions in search */
        !            69:        SyncFreq,               /* how often to sync the file pointers */
        !            70:        BriteMode,              /* make the mode line inverse? */
        !            71:        OkayBadChars,           /* allow bad characters in files created
        !            72:                                   by JOVE */
        !            73:        UpdFreq,                /* how often to update modeline */
        !            74:        UseBuffers,             /* use buffers with Typeout() */
        !            75: #ifdef BIFF
        !            76:        BiffChk,                /* turn off/on biff with entering/exiting jove */
        !            77: #endif
        !            78:        MailInt,                /* mail check interval */
        !            79: #ifdef ID_CHAR
        !            80:        UseIC,                  /* whether or not to use i/d char
        !            81:                                   processesing */
        !            82: #endif
        !            83:        SExitChar,              /* type this to stop i-search */
        !            84:        AbortChar,              /* cancels command input */
        !            85:        IntChar,                /* ttysets this to generate QUIT */
        !            86:        DoEVexpand,             /* treat $foo as environment variable */
        !            87: #ifdef F_COMPLETION
        !            88:        DispBadFs,              /* display filenames with bad extensions? */
        !            89: #endif
        !            90: #ifdef IBMPC
        !            91:        Fgcolor,
        !            92:        Bgcolor,
        !            93:        Mdcolor,
        !            94: #endif /* IBMPC */
        !            95:        ScrollAll,              /* we current line scrolls, scroll whole window? */
        !            96: #ifndef MAC
        !            97:        EWSize;                 /* size to make the error window */
        !            98: #else
        !            99:        Macmode,        /* see mac.c */
        !           100:        Keyonly,
        !           101:        Bufchange,
        !           102:        Modechange,
        !           103:        Windchange,
        !           104:        EventCmd;
        !           105: #endif /* MAC */
        !           106: 
        !           107: #ifdef MAC
        !           108: # ifdef TXT_TO_C       /* kludge, for setmaps with variables */
        !           109: char
        !           110: # else
        !           111: extern char
        !           112: # endif /* TXT_TO_C */
        !           113: #else
        !           114: extern char
        !           115: #endif /* MAC */
        !           116: 
        !           117: #ifndef MAC
        !           118:        ErrFmtStr[256],         /* format string for parse errors */
        !           119: #endif
        !           120: #ifdef IPROCS
        !           121:        proc_prompt[128],       /* process prompt */
        !           122:        dbx_parse_fmt[128],     /* dbx-mode parse string */
        !           123: #endif
        !           124: #ifdef F_COMPLETION
        !           125:        BadExtensions[128],     /* extensions (e.g., ".o" to ignore) */
        !           126: #endif
        !           127: #ifdef CMT_FMT
        !           128:        CmtFmt[80],
        !           129: #endif
        !           130:        ModeFmt[120],           /* mode line format string */
        !           131: #ifdef UNIX
        !           132:        Mailbox[FILESIZE],              /* mailbox name */
        !           133: #endif /* UNIX */
        !           134:        TmpFilePath[FILESIZE],  /* directory/device to store tmp files */
        !           135:        TagFile[FILESIZE],              /* default tag file */
        !           136:        Shell[FILESIZE];                /* shell to use */

unix.superglobalmegacorp.com

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