[BACK]Return to defines.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / less

Annotation of src/usr.bin/less/defines.h, Revision 1.5

1.4       nicm        1: /*
                      2:  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
1.1       shadchin    3:  *
1.4       nicm        4:  * This file is made available under the terms of the Less License.
1.1       shadchin    5:  */
                      6:
                      7: /*
1.4       nicm        8:  * LESSKEYFILE is the filename of the default lesskey output file
1.1       shadchin    9:  * (in the HOME directory).
                     10:  * LESSKEYFILE_SYS is the filename of the system-wide lesskey output file.
1.4       nicm       11:  * DEF_LESSKEYINFILE is the filename of the default lesskey input
1.1       shadchin   12:  * (in the HOME directory).
                     13:  * LESSHISTFILE is the filename of the history file
                     14:  * (in the HOME directory).
                     15:  */
                     16: #define        LESSKEYFILE             ".less"
                     17: #define        LESSKEYFILE_SYS         SYSDIR "/sysless"
                     18: #define        DEF_LESSKEYINFILE       ".lesskey"
1.4       nicm       19: #define        LESSHISTFILE            "-"
                     20: #define        TGETENT_OK  1           /* "OK" from curses.h */
1.1       shadchin   21:
                     22: /*
                     23:  * Default shell metacharacters and meta-escape character.
                     24:  */
                     25: #define        DEF_METACHARS   "; *?\t\n'\"()<>[]|&^`#\\$%=~"
                     26:
1.3       shadchin   27: #define        CMDBUF_SIZE     2048    /* Buffer for multichar commands */
                     28: #define        UNGOT_SIZE      200     /* Max chars to unget() */
                     29: #define        LINEBUF_SIZE    1024    /* Initial max size of line in input file */
                     30: #define        OUTBUF_SIZE     1024    /* Output buffer */
                     31: #define        PROMPT_SIZE     2048    /* Max size of prompt string */
                     32: #define        TERMBUF_SIZE    2048    /* Termcap buffer for tgetent */
                     33: #define        TERMSBUF_SIZE   1024    /* Buffer to hold termcap strings */
                     34: #define        TAGLINE_SIZE    1024    /* Max size of line in tags file */
                     35: #define        TABSTOP_MAX     128     /* Max number of custom tab stops */
1.4       nicm       36: #define        EDIT_PGM        "vi"    /* Editor program */