1 /* 2 * Copyright 2014 Garrett D'Amore <garrett@damore.org> 3 * 4 * This file is made available under the terms of the Less License. 5 */ 6 7 /* 8 * LESSKEYFILE is the filename of the default lesskey output file 9 * (in the HOME directory). 10 * LESSKEYFILE_SYS is the filename of the system-wide lesskey output file. 11 * DEF_LESSKEYINFILE is the filename of the default lesskey input 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" 19 #define LESSHISTFILE "-" 20 #define TGETENT_OK 1 /* "OK" from curses.h */ 21 22 /* 23 * Default shell metacharacters and meta-escape character. 24 */ 25 #define DEF_METACHARS "; *?\t\n'\"()<>[]|&^`#\\$%=~" 26 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 */ 36 #define EDIT_PGM "vi" /* Editor program */ 37