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

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

1.1     ! etheisen    1: /* Unix definition file for less.  -*- C -*-
        !             2:  *
        !             3:  * This file has 3 sections:
        !             4:  * User preferences.
        !             5:  * Settings always true on Unix.
        !             6:  * Settings automatically determined by configure.
        !             7:  *
        !             8:  * * * * * *  WARNING  * * * * * *
        !             9:  * If you edit defines.h by hand, do "touch stamp-h" before you run make
        !            10:  * so config.status doesn't overwrite your changes.
        !            11:  */
        !            12: 
        !            13: /* User preferences.  */
        !            14:
        !            15: /*
        !            16:  * SECURE is 1 if you wish to disable a bunch of features in order to
        !            17:  * be safe to run by unprivileged users.
        !            18:  */
        !            19: #define        SECURE          0
        !            20:
        !            21: /*
        !            22:  * SHELL_ESCAPE is 1 if you wish to allow shell escapes.
        !            23:  * (This is possible only if your system supplies the system() function.)
        !            24:  */
        !            25: #define        SHELL_ESCAPE    (!SECURE)
        !            26:
        !            27: /*
        !            28:  * EXAMINE is 1 if you wish to allow examining files by name from within less.
        !            29:  */
        !            30: #define        EXAMINE         (!SECURE)
        !            31:
        !            32: /*
        !            33:  * TAB_COMPLETE_FILENAME is 1 if you wish to allow the TAB key
        !            34:  * to complete filenames at prompts.
        !            35:  */
        !            36: #define        TAB_COMPLETE_FILENAME   (!SECURE)
        !            37:
        !            38: /*
        !            39:  * CMD_HISTORY is 1 if you wish to allow keys to cycle through
        !            40:  * previous commands at prompts.
        !            41:  */
        !            42: #define        CMD_HISTORY     1
        !            43:
        !            44: /*
        !            45:  * HILITE_SEARCH is 1 if you wish to have search targets to be
        !            46:  * displayed in standout mode.
        !            47:  */
        !            48: #define        HILITE_SEARCH   1
        !            49:
        !            50: /*
        !            51:  * EDITOR is 1 if you wish to allow editor invocation (the "v" command).
        !            52:  * (This is possible only if your system supplies the system() function.)
        !            53:  * EDIT_PGM is the name of the (default) editor to be invoked.
        !            54:  */
        !            55: #define        EDITOR          (!SECURE)
        !            56: #define        EDIT_PGM        "vi"
        !            57:
        !            58: /*
        !            59:  * TAGS is 1 if you wish to support tag files.
        !            60:  */
        !            61: #define        TAGS            (!SECURE)
        !            62:
        !            63: /*
        !            64:  * USERFILE is 1 if you wish to allow a .less file to specify
        !            65:  * user-defined key bindings.
        !            66:  */
        !            67: #define        USERFILE        (!SECURE)
        !            68:
        !            69: /*
        !            70:  * GLOB is 1 if you wish to have shell metacharacters expanded in filenames.
        !            71:  * This will generally work if your system provides the "popen" function
        !            72:  * and the "echo" shell command.
        !            73:  */
        !            74: #define        GLOB            (!SECURE)
        !            75:
        !            76: /*
        !            77:  * PIPEC is 1 if you wish to have the "|" command
        !            78:  * which allows the user to pipe data into a shell command.
        !            79:  */
        !            80: #define        PIPEC           (!SECURE)
        !            81:
        !            82: /*
        !            83:  * LOGFILE is 1 if you wish to allow the -l option (to create log files).
        !            84:  */
        !            85: #define        LOGFILE         (!SECURE)
        !            86:
        !            87: /*
        !            88:  * GNU_OPTIONS is 1 if you wish to support the GNU-style command
        !            89:  * line options --help and --version.
        !            90:  */
        !            91: #define        GNU_OPTIONS     1
        !            92:
        !            93: /*
        !            94:  * ONLY_RETURN is 1 if you want RETURN to be the only input which
        !            95:  * will continue past an error message.
        !            96:  * Otherwise, any key will continue past an error message.
        !            97:  */
        !            98: #define        ONLY_RETURN     0
        !            99:
        !           100: /*
        !           101:  * LESSKEYFILE is the filename of the default lesskey output file
        !           102:  * (in the HOME directory).
        !           103:  * DEF_LESSKEYINFILE is the filename of the default lesskey input
        !           104:  * (in the HOME directory).
        !           105:  */
        !           106: #define        LESSKEYFILE             ".less"
        !           107: #define        DEF_LESSKEYINFILE       ".lesskey"
        !           108:
        !           109: 
        !           110: /* Settings always true on Unix.  */
        !           111:
        !           112: /*
        !           113:  * Define MSOFTC if compiling under Microsoft C.
        !           114:  */
        !           115: #define        MSOFTC  0
        !           116:
        !           117: /*
        !           118:  * HAVE_SYS_TYPES_H is 1 if your system has <sys/types.h>.
        !           119:  */
        !           120: #define HAVE_SYS_TYPES_H       1
        !           121:
        !           122: /*
        !           123:  * HAVE_STAT is 1 if your system has the stat() call.
        !           124:  */
        !           125: #define        HAVE_STAT       1
        !           126:
        !           127: /*
        !           128:  * HAVE_PERROR is 1 if your system has the perror() call.
        !           129:  * (Actually, if it has sys_errlist, sys_nerr and errno.)
        !           130:  */
        !           131: #define        HAVE_PERROR     1
        !           132:
        !           133: /*
        !           134:  * HAVE_TIME is 1 if your system has the time() call.
        !           135:  */
        !           136: #define        HAVE_TIME       1
        !           137:
        !           138: /*
        !           139:  * HAVE_SHELL is 1 if your system supports a SHELL command interpreter.
        !           140:  */
        !           141: #define        HAVE_SHELL      1
        !           142: 
        !           143: /* Settings automatically determined by configure.  */