1*171bb95eSnicm /* 2*171bb95eSnicm * Copyright 2014 Garrett D'Amore <garrett@damore.org> 3168565f4Sshadchin * 4*171bb95eSnicm * This file is made available under the terms of the Less License. 5168565f4Sshadchin */ 6168565f4Sshadchin 7168565f4Sshadchin /* 8168565f4Sshadchin * LESSKEYFILE is the filename of the default lesskey output file 9168565f4Sshadchin * (in the HOME directory). 10168565f4Sshadchin * LESSKEYFILE_SYS is the filename of the system-wide lesskey output file. 11168565f4Sshadchin * DEF_LESSKEYINFILE is the filename of the default lesskey input 12168565f4Sshadchin * (in the HOME directory). 13168565f4Sshadchin * LESSHISTFILE is the filename of the history file 14168565f4Sshadchin * (in the HOME directory). 15168565f4Sshadchin */ 16168565f4Sshadchin #define LESSKEYFILE ".less" 17168565f4Sshadchin #define LESSKEYFILE_SYS SYSDIR "/sysless" 18168565f4Sshadchin #define DEF_LESSKEYINFILE ".lesskey" 19f6deaa80Snicm #define LESSHISTFILE "-" 20*171bb95eSnicm #define TGETENT_OK 1 /* "OK" from curses.h */ 21168565f4Sshadchin 22168565f4Sshadchin /* 23168565f4Sshadchin * Default shell metacharacters and meta-escape character. 24168565f4Sshadchin */ 25168565f4Sshadchin #define DEF_METACHARS "; *?\t\n'\"()<>[]|&^`#\\$%=~" 26168565f4Sshadchin 2726ad794dSshadchin #define CMDBUF_SIZE 2048 /* Buffer for multichar commands */ 2826ad794dSshadchin #define UNGOT_SIZE 200 /* Max chars to unget() */ 2926ad794dSshadchin #define LINEBUF_SIZE 1024 /* Initial max size of line in input file */ 3026ad794dSshadchin #define OUTBUF_SIZE 1024 /* Output buffer */ 3126ad794dSshadchin #define PROMPT_SIZE 2048 /* Max size of prompt string */ 3226ad794dSshadchin #define TERMBUF_SIZE 2048 /* Termcap buffer for tgetent */ 3326ad794dSshadchin #define TERMSBUF_SIZE 1024 /* Buffer to hold termcap strings */ 3426ad794dSshadchin #define TAGLINE_SIZE 1024 /* Max size of line in tags file */ 3526ad794dSshadchin #define TABSTOP_MAX 128 /* Max number of custom tab stops */ 36*171bb95eSnicm #define EDIT_PGM "vi" /* Editor program */ 37