2010-11-29 13:10:09 -07:00
|
|
|
/* $XTermId: xtermcfg.hin,v 1.182 2010/11/11 01:14:49 tom Exp $ */
|
2007-04-09 13:11:43 -06:00
|
|
|
|
|
|
|
/************************************************************
|
|
|
|
|
2010-11-29 13:10:09 -07:00
|
|
|
Copyright 1997-2009,2010 by Thomas E. Dickey
|
2007-04-09 13:11:43 -06:00
|
|
|
|
|
|
|
All Rights Reserved
|
|
|
|
|
2010-11-29 13:10:09 -07:00
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
|
copy of this software and associated documentation files (the
|
|
|
|
"Software"), to deal in the Software without restriction, including
|
|
|
|
without limitation the rights to use, copy, modify, merge, publish,
|
|
|
|
distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
|
permit persons to whom the Software is furnished to do so, subject to
|
|
|
|
the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included
|
|
|
|
in all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
|
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
|
|
IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
|
|
|
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
|
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
|
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
|
|
|
|
Except as contained in this notice, the name(s) of the above copyright
|
|
|
|
holders shall not be used in advertising or otherwise to promote the
|
|
|
|
sale, use or other dealings in this Software without prior written
|
|
|
|
authorization.
|
2007-04-09 13:11:43 -06:00
|
|
|
|
|
|
|
********************************************************/
|
|
|
|
|
|
|
|
#ifndef included_xtermcfg_h
|
|
|
|
#define included_xtermcfg_h 1
|
|
|
|
|
2010-03-25 16:03:51 -06:00
|
|
|
/* This is derived for OpenBSD from template for <xtermcfg.h> */
|
2007-04-09 13:11:43 -06:00
|
|
|
|
|
|
|
/* #undef ALLOWLOGFILEEXEC */ /* CF_ARG_ENABLE(enable-logfile-exec) */
|
|
|
|
/* #undef ALLOWLOGGING */ /* CF_ARG_ENABLE(enable-logging) */
|
|
|
|
#define CC_HAS_PROTOS 1 /* CF_ANSI_CC */
|
2009-10-31 08:11:57 -06:00
|
|
|
/* #undef CSRG_BASED */ /* CF_TYPE_FD_MASK */
|
2007-04-09 13:11:43 -06:00
|
|
|
/* #undef DECL_ERRNO */ /* CF_ERRNO */
|
|
|
|
/* #undef DFT_COLORMODE */ /* AC_ARG_WITH(default-color-mode) */
|
|
|
|
#define DFT_DECID "100" /* AC_ARG_WITH(default-terminal-id) */
|
|
|
|
#define DFT_TERMTYPE "xterm" /* AC_ARG_WITH(default-term-type) */
|
2007-06-15 13:34:50 -06:00
|
|
|
/* #undef DISABLE_SETGID */ /* CF_ARG_DISABLE(setgid) */
|
2007-04-09 13:11:43 -06:00
|
|
|
/* #undef DISABLE_SETUID */ /* CF_ARG_DISABLE(setuid) */
|
|
|
|
#define HAVE_GETHOSTNAME 1 /* AC_CHECK_FUNCS(gethostname) */
|
|
|
|
#define HAVE_GETLOGIN 1 /* AC_CHECK_FUNCS(getlogin) */
|
|
|
|
#define HAVE_LANGINFO_CODESET 1 /* AM_LANGINFO_CODESET */
|
|
|
|
/* #undef HAVE_LASTLOG_H */ /* CF_LASTLOG */
|
|
|
|
/* #undef HAVE_LIB_NEXTAW */ /* CF_X_ATHENA(--with-neXtaw) */
|
|
|
|
/* #undef HAVE_LIB_PCRE */ /* CF_WITH_PCRE */
|
|
|
|
#define HAVE_LIB_XAW 1 /* CF_X_ATHENA */
|
|
|
|
/* #undef HAVE_LIB_XAW3D */ /* CF_X_ATHENA(--with-Xaw3d) */
|
|
|
|
/* #undef HAVE_LIB_XAWPLUS */ /* CF_X_ATHENA(--with-XawPlus) */
|
|
|
|
/* #undef HAVE_NCURSES_TERM_H */ /* AC_CHECK_HEADERS(ncurses/term.h) */
|
|
|
|
#define HAVE_PATHS_H 1 /* CF_LASTLOG */
|
|
|
|
/* #undef HAVE_PCREPOSIX_H */ /* CF_WITH_PCRE */
|
|
|
|
#define HAVE_POSIX_SAVED_IDS 1 /* CF_POSIX_SAVED_IDS */
|
|
|
|
#define HAVE_PUTENV 1 /* AC_CHECK_FUNCS(putenv) */
|
|
|
|
#define HAVE_SCHED_YIELD 1 /* AC_CHECK_FUNCS(sched_yield) */
|
|
|
|
#define HAVE_STDLIB_H 1 /* AC_CHECK_HEADERS(stdlib.h) */
|
|
|
|
#define HAVE_STRERROR 1 /* AC_CHECK_FUNCS(strerror) */
|
|
|
|
#define HAVE_STRFTIME 1 /* AC_CHECK_FUNCS(strftime) */
|
|
|
|
/* #undef HAVE_SYS_TIME_H */ /* AC_HEADER_TIME */
|
2009-10-31 08:11:57 -06:00
|
|
|
#define HAVE_SYS_TTYDEFAULTS_H 1 /* AC_CHECK_HEADERS(sys/ttydefaults.h) */
|
2007-04-09 13:11:43 -06:00
|
|
|
#define HAVE_SYS_WAIT_H 1 /* AC_HEADER_SYS_WAIT */
|
|
|
|
#define HAVE_TCGETATTR 1 /* AC_CHECK_FUNCS(tcgetattr) */
|
|
|
|
#define HAVE_TERMCAP_H 1 /* AC_CHECK_HEADERS(termcap.h) */
|
|
|
|
#define HAVE_TERMIOS_H 1 /* AC_CHECK_HEADERS(termios.h) */
|
|
|
|
/* #undef HAVE_TERMIO_C_ISPEED */ /* CF_TERMIO_C_ISPEED */
|
2007-06-15 13:34:50 -06:00
|
|
|
#define HAVE_TERM_H 1 /* AC_CHECK_HEADERS(term.h) */
|
2008-02-16 02:40:00 -07:00
|
|
|
#define HAVE_TIGETSTR 1 /* AC_CHECK_FUNCS(tigetstr) */
|
2007-04-09 13:11:43 -06:00
|
|
|
#define HAVE_UNISTD_H 1 /* AC_CHECK_HEADERS(unistd.h) */
|
2009-10-31 08:11:57 -06:00
|
|
|
#define HAVE_USE_EXTENDED_NAMES 1 /* AC_CHECK_FUNCS(use_extended_names) */
|
2007-04-09 13:11:43 -06:00
|
|
|
#define HAVE_UTMP 1 /* CF_UTMP */
|
|
|
|
#define HAVE_UTMP_UT_HOST 1 /* CF_UTMP_UT_HOST */
|
|
|
|
/* #undef HAVE_UTMP_UT_SESSION */ /* CF_UTMP_UT_SESSION */
|
2008-03-19 15:15:46 -06:00
|
|
|
/* #undef HAVE_UTMP_UT_SYSLEN */ /* CF_UTMP_UT_SYSLEN */
|
2007-04-09 13:11:43 -06:00
|
|
|
/* #undef HAVE_UTMP_UT_XSTATUS */ /* CF_UTMP_UT_XSTATUS */
|
|
|
|
/* #undef HAVE_UTMP_UT_XTIME */ /* CF_UTMP_UT_XTIME */
|
|
|
|
#define HAVE_WAITPID 1 /* AC_CHECK_FUNCS(waitpid) */
|
|
|
|
#define HAVE_WCHAR_H 1 /* AC_CHECK_HEADERS(wchar.h) */
|
|
|
|
#define HAVE_WCSWIDTH 1 /* AC_CHECK_FUNCS(wcswidth) */
|
|
|
|
#define HAVE_WCWIDTH 1 /* AC_CHECK_FUNCS(wcwidth) */
|
|
|
|
#define HAVE_X11_DECKEYSYM_H 1 /* AC_CHECK_HEADERS(X11/DECkeysym.h) */
|
2010-05-08 06:20:46 -06:00
|
|
|
#define HAVE_X11_EXTENSIONS_XKB_H /* AC_CHECK_HEADERS(X11/extensions/XKB.h) */
|
2007-04-09 13:11:43 -06:00
|
|
|
#define HAVE_X11_SUNKEYSYM_H 1 /* AC_CHECK_HEADERS(X11/Sunkeysym.h) */
|
2009-10-31 08:11:57 -06:00
|
|
|
#define HAVE_X11_XF86KEYSYM_H 1 /* AC_CHECK_HEADERS(X11/XF86keysym.h) */
|
2010-05-08 06:20:46 -06:00
|
|
|
#define HAVE_X11_XKBLIB_H /* AC_CHECK_HEADERS(X11/XKBlib.h) */
|
2007-04-09 13:11:43 -06:00
|
|
|
#define HAVE_X11_XPOLL_H 1 /* AC_CHECK_HEADERS(X11/Xpoll.h) */
|
2007-06-15 13:34:50 -06:00
|
|
|
#define HAVE_XFTDRAWSETCLIP 1 /* CF_X_FREETYPE */
|
|
|
|
#define HAVE_XFTDRAWSETCLIPRECTANGLES 1 /* CF_X_FREETYPE */
|
2010-05-08 06:20:46 -06:00
|
|
|
#define HAVE_XKBQUERYEXTENSION /* AC_CHECK_FUNCS(XkbQueryExtension) */
|
2007-04-09 13:11:43 -06:00
|
|
|
#define HAVE_XKB_BELL_EXT 1 /* CF_XKB_BELL_EXT */
|
|
|
|
#define LUIT_PATH "/usr/X11R6/bin/luit" /* CF_ARG_ENABLE(luit) */
|
|
|
|
/* #undef NO_ACTIVE_ICON */ /* CF_ARG_DISABLE(active-icon) */
|
|
|
|
/* #undef NO_LEAKS */ /* CF_ARG_DISABLE(leaks) */
|
2010-01-13 07:59:37 -07:00
|
|
|
#define OPT_256_COLORS 1 /* CF_ARG_ENABLE(256-color) */
|
2007-04-09 13:11:43 -06:00
|
|
|
/* #undef OPT_88_COLORS */ /* CF_ARG_ENABLE(88-color) */
|
|
|
|
/* #undef OPT_AIX_COLORS */ /* CF_ARG_DISABLE(16-color) */
|
|
|
|
/* #undef OPT_BLINK_CURS */ /* CF_ARG_DISABLE(blink-cursor) */
|
|
|
|
/* #undef OPT_BLINK_TEXT */ /* CF_ARG_DISABLE(blink-text) */
|
|
|
|
/* #undef OPT_BOX_CHARS */ /* CF_ARG_DISABLE(boxchars) */
|
|
|
|
#define OPT_BROKEN_OSC 0 /* CF_ARG_ENABLE(broken-osc) */
|
|
|
|
#define OPT_BROKEN_ST 0 /* CF_ARG_DISABLE(broken-st) */
|
|
|
|
/* #undef OPT_C1_PRINT */ /* CF_ARG_DISABLE(c1-print) */
|
|
|
|
/* #undef OPT_COLOR_CLASS */ /* CF_ARG_DISABLE(color-class) */
|
|
|
|
/* #undef OPT_DABBREV */ /* CF_ARG_ENABLE(dabbrev) */
|
|
|
|
/* #undef OPT_DEC_CHRSET */ /* CF_ARG_DISABLE(doublechars) */
|
|
|
|
/* #undef OPT_DEC_LOCATOR */ /* CF_ARG_ENABLE(dec-locator) */
|
2009-10-31 08:11:57 -06:00
|
|
|
#define OPT_DEC_RECTOPS 1 /* CF_ARG_ENABLE(rectangles) */
|
2007-06-15 13:34:50 -06:00
|
|
|
/* #undef OPT_EXEC_XTERM */ /* CF_ARG_ENABLE(exec-xterm) */
|
2009-10-31 08:11:57 -06:00
|
|
|
/* #undef OPT_FIFO_LINES */ /* CF_ARG_ENABLE(fifo-lines) */
|
2007-04-09 13:11:43 -06:00
|
|
|
/* #undef OPT_HIGHLIGHT_COLOR */ /* CF_ARG_DISABLE(highlighting) */
|
|
|
|
/* #undef OPT_HP_FUNC_KEYS */ /* CF_ARG_ENABLE(hp-fkeys) */
|
|
|
|
/* #undef OPT_I18N_SUPPORT */ /* CF_ARG_DISABLE(i18n) */
|
|
|
|
/* #undef OPT_INITIAL_ERASE */ /* CF_ARG_DISABLE(initial-erase) */
|
|
|
|
/* #undef OPT_INPUT_METHOD */ /* CF_ARG_DISABLE(input-method) */
|
|
|
|
/* #undef OPT_ISO_COLORS */ /* CF_ARG_DISABLE(ansi-color) */
|
|
|
|
/* #undef OPT_LOAD_VTFONTS */ /* CF_ARG_ENABLE(load-vt-fonts) */
|
|
|
|
#define OPT_LUIT_PROG 1 /* CF_ARG_ENABLE(luit) */
|
|
|
|
/* #undef OPT_MAXIMIZE */ /* CF_ARG_DISABLE(maximize) */
|
|
|
|
/* #undef OPT_MINI_LUIT */ /* CF_ARG_ENABLE(mini-luit) */
|
|
|
|
/* #undef OPT_NUM_LOCK */ /* CF_ARG_DISABLE(num-lock) */
|
2009-10-31 08:11:57 -06:00
|
|
|
#define OPT_PASTE64 1 /* CF_ARG_ENABLE(past64) */
|
2007-04-09 13:11:43 -06:00
|
|
|
/* #undef OPT_PC_COLORS */ /* CF_ARG_DISABLE(pc-color) */
|
|
|
|
#define OPT_PTY_HANDSHAKE 1 /* CF_ARG_ENABLE(pty-handshake) */
|
2007-08-25 12:58:42 -06:00
|
|
|
/* #undef OPT_READLINE */ /* CF_ARG_ENABLE(readline-mouse) */
|
2007-04-09 13:11:43 -06:00
|
|
|
/* #undef OPT_SAME_NAME */ /* CF_ARG_DISABLE(samename) */
|
|
|
|
/* #undef OPT_SCO_FUNC_KEYS */ /* CF_ARG_ENABLE(sco-fkeys) */
|
|
|
|
#define OPT_SELECT_REGEX 1 /* CF_ARG_DISABLE(regex) */
|
|
|
|
/* #undef OPT_SESSION_MGT */ /* CF_ARG_DISABLE(session-mgt) */
|
|
|
|
/* #undef OPT_SUN_FUNC_KEYS */ /* CF_ARG_ENABLE(sun-fkeys) */
|
2007-06-15 13:34:50 -06:00
|
|
|
/* #undef OPT_TCAP_FKEYS */ /* CF_ARG_ENABLE(tcap-fkeys) */
|
2007-04-09 13:11:43 -06:00
|
|
|
/* #undef OPT_TCAP_QUERY */ /* CF_ARG_ENABLE(tcap-query) */
|
|
|
|
/* #undef OPT_TEK4014 */ /* CF_ARG_DISABLE(tek4014) */
|
|
|
|
/* #undef OPT_TOOLBAR */ /* CF_ARG_ENABLE(toolbar) */
|
|
|
|
/* #undef OPT_VT52_MODE */ /* CF_ARG_DISABLE(vt52) */
|
2009-10-31 08:11:57 -06:00
|
|
|
/* #undef OPT_WIDER_ICHAR */ /* CF_ARG_ENABLE(16bit-chars) */
|
2007-04-09 13:11:43 -06:00
|
|
|
#define OPT_WIDE_CHARS 1 /* CF_ARG_OPTION(wide-chars) */
|
|
|
|
/* #undef OPT_XMC_GLITCH */ /* CF_ARG_ENABLE(xmc-glitch) */
|
|
|
|
/* #undef OPT_ZICONBEEP */ /* CF_ARG_DISABLE(ziconbeep) */
|
|
|
|
/* #undef OWN_TERMINFO_DIR */ /* AC_ARG_WITH(own-terminfo) */
|
2007-06-15 13:34:50 -06:00
|
|
|
/* #undef PROCFS_ROOT */ /* CF_ARG_ENABLE(exec-xterm) */
|
2007-04-09 13:11:43 -06:00
|
|
|
#define SCROLLBAR_RIGHT 1 /* CF_ARG_ENABLE(rightbar) */
|
|
|
|
#define SIG_ATOMIC_T volatile sig_atomic_t /* CF_SIG_ATOMIC_T */
|
|
|
|
/* #undef SVR4 */ /* CF_SVR4, imake */
|
|
|
|
/* #undef SYSV */ /* CF_SYSV, imake */
|
|
|
|
#define TIME_WITH_SYS_TIME 1 /* AC_HEADER_TIME */
|
|
|
|
#define TTY_GROUP_NAME "tty" /* CF_TTY_GROUP */
|
|
|
|
/* #undef USE_LASTLOG */ /* CF_LASTLOG */
|
|
|
|
/* #undef USE_MY_MEMMOVE */ /* CF_FUNC_MEMMOVE */
|
|
|
|
/* #undef USE_OK_BCOPY */ /* CF_FUNC_MEMMOVE */
|
|
|
|
#define USE_POSIX_WAIT 1 /* CF_POSIX_WAIT */
|
|
|
|
/* #undef USE_STRUCT_LASTLOG */ /* CF_STRUCT_LASTLOG */
|
|
|
|
/* #undef USE_SYSV_UTMP */ /* CF_UTMP */
|
|
|
|
/* #undef USE_SYS_SELECT_H */ /* CF_TYPE_FD_SET */
|
|
|
|
/* #undef USE_TERMCAP */ /* CF_FUNC_TGETENT */
|
|
|
|
#define USE_TERMINFO 1 /* CF_FUNC_TGETENT */
|
|
|
|
#define USE_TTY_GROUP 1 /* CF_TTY_GROUP */
|
|
|
|
/* #undef USE_UTEMPTER */ /* CF_UTEMPTER */
|
|
|
|
#define USE_UTMP_SETGID 1 /* AC_ARG_WITH(utmp-setgid) */
|
|
|
|
/* #undef UTMPX_FOR_UTMP */ /* CF_UTMP */
|
|
|
|
#define XRENDERFONT 1 /* CF_X_FREETYPE */
|
|
|
|
/* #undef const */ /* AC_CONST */
|
|
|
|
/* #undef gid_t */ /* AC_TYPE_UID_T */
|
|
|
|
/* #undef mode_t */ /* AC_TYPE_MODE_T */
|
|
|
|
/* #undef off_t */ /* AC_TYPE_OFF_T */
|
|
|
|
/* #undef pid_t */ /* AC_TYPE_PID_T */
|
|
|
|
/* #undef size_t */ /* AC_TYPE_SIZE_T */
|
|
|
|
/* #undef time_t */ /* AC_CHECK_TYPE(time_t, long) */
|
|
|
|
/* #undef uid_t */ /* AC_TYPE_UID_T */
|
|
|
|
/* #undef ut_name */ /* CF_UTMP */
|
|
|
|
/* #undef ut_xstatus */ /* CF_UTMP_UT_XSTATUS */
|
|
|
|
/* #undef ut_xtime */ /* CF_UTMP_UT_XTIME */
|
|
|
|
|
2007-06-15 13:34:50 -06:00
|
|
|
/*
|
|
|
|
* Ifdef'd to make it simple to override.
|
|
|
|
*/
|
|
|
|
#ifndef OPT_TRACE
|
|
|
|
/* #undef OPT_TRACE */ /* CF_ARG_ENABLE(trace) */
|
2007-08-25 12:58:42 -06:00
|
|
|
/* #undef OPT_TRACE_FLAGS */ /* ...no option */
|
2007-06-15 13:34:50 -06:00
|
|
|
#endif
|
|
|
|
|
2007-04-09 13:11:43 -06:00
|
|
|
/*
|
|
|
|
* g++ support for __attribute__() is haphazard.
|
|
|
|
*/
|
|
|
|
#ifndef __cplusplus
|
|
|
|
/* #undef GCC_PRINTF */
|
2010-11-29 13:10:09 -07:00
|
|
|
/* #undef GCC_PRINTFLIKE */
|
2007-04-09 13:11:43 -06:00
|
|
|
/* #undef GCC_UNUSED */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef USE_OK_BCOPY
|
|
|
|
#define memmove(d,s,n) bcopy(s,d,n)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef USE_MY_MEMMOVE
|
|
|
|
#define memmove(d,s,n) my_memmove(d,s,n)
|
2009-10-31 08:11:57 -06:00
|
|
|
extern void * my_memmove(void * s1, void * s2, size_t n);
|
2007-04-09 13:11:43 -06:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HAVE_STRERROR
|
|
|
|
#define strerror(n) my_strerror(n)
|
|
|
|
extern char *my_strerror(int n);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HAVE_X11_XPOLL_H
|
|
|
|
#define NO_XPOLL_H /* X11R6.1 & up use Xpoll.h for select() definitions */
|
|
|
|
#endif
|
|
|
|
|
2007-06-15 13:34:50 -06:00
|
|
|
/* vile:cmode
|
|
|
|
*/
|
2007-04-09 13:11:43 -06:00
|
|
|
#endif /* included_xtermcfg_h */
|