⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 defines.h

📁 早期freebsd实现
💻 H
字号:
/* Definition file for less *//* Generated Sun Aug 16 09:47:26 PDT 1992 by linstall. *//* * Define XENIX if running under XENIX 3.0. */#define	XENIX		0/* * VOID is 1 if your C compiler supports the "void" type, * 0 if it does not. */#define	VOID		1/* * VOID_POINTER is the definition of a pointer to any object. */#define	VOID_POINTER	void */* * offset_t is the type which lseek() returns. * It is also the type of lseek()'s second argument. */#define	offset_t	long/* * STAT is 1 if your system has the stat() call. */#define	STAT		1/* * PERROR is 1 if your system has the perror() call. * (Actually, if it has sys_errlist, sys_nerr and errno.) */#define	PERROR		1/* * GET_TIME is 1 if your system has the time() call. */#define	GET_TIME	1/* * TERMIO is 1 if your system has /usr/include/termio.h. * This is normally the case for System 5. * If TERMIO is 0 your system must have /usr/include/sgtty.h. * This is normally the case for BSD. */#define	TERMIO		0/* * HAS__SETJMP is 1 if your system has the _setjmp() call. * This is normally the case only for BSD 4.2 and up, * not for BSD 4.1 or System 5. */#define	HAS__SETJMP	1/* * SIGSETMASK is 1 if your system has the sigsetmask() call. * This is normally the case only for BSD 4.2, * not for BSD 4.1 or System 5. */#define	SIGSETMASK	1/* * NEED_PTEM_H is 1 if your system needs sys/ptem.h to declare struct winsize. * This is normally the case only for SCOs System V. */#define	NEED_PTEM_H	0/* * REGCMP is 1 if your system has the regcmp() function. * This is normally the case for System 5. * RECOMP is 1 if your system has the re_comp() function. * This is normally the case for BSD. * If neither is 1, pattern matching is supported, but without metacharacters. */#define	REGCMP		0#define	RECOMP		1/* * SHELL_ESCAPE is 1 if you wish to allow shell escapes. * (This is possible only if your system supplies the system() function.) */#define	SHELL_ESCAPE	1/* * EDITOR is 1 if you wish to allow editor invocation (the "v" command). * (This is possible only if your system supplies the system() function.) * EDIT_PGM is the name of the (default) editor to be invoked. */#define	EDITOR		1#define	EDIT_PGM	"vi"/* * TAGS is 1 if you wish to support tag files. */#define	TAGS		1/* * USERFILE is 1 if you wish to allow a .less file to specify  * user-defined key bindings. */#define	USERFILE	1/* * GLOB is 1 if you wish to have shell metacharacters expanded in filenames. * This will generally work if your system provides the "popen" function * and the "echo" shell command. */#define	GLOB		1/* * PIPEC is 1 if you wish to have the "|" command * which allows the user to pipe data into a shell command. */#define	PIPEC		1/* * LOGFILE is 1 if you wish to allow the -l option (to create log files). */#define	LOGFILE		1/* * ONLY_RETURN is 1 if you want RETURN to be the only input which * will continue past an error message. * Otherwise, any key will continue past an error message. */#define	ONLY_RETURN	0/* * HELPFILE is the full pathname of the help file. */#define	HELPFILE	"/usr/local/bin/less.hlp"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -