2008-02-10 08:41:46 +08:00
|
|
|
# $Id: ncurses_defs,v 1.38 2008/02/10 00:12:03 tom Exp $
|
2000-10-21 12:42:11 +08:00
|
|
|
##############################################################################
|
2008-02-10 08:41:46 +08:00
|
|
|
# Copyright (c) 2000-2007,2008 Free Software Foundation, Inc. #
|
2000-10-21 12:42:11 +08: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, distribute #
|
|
|
|
# with modifications, 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 COPYRIGHT HOLDERS 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. #
|
|
|
|
##############################################################################
|
|
|
|
#
|
|
|
|
# See "MKncurses_def.sh" for an explanation.
|
|
|
|
#
|
|
|
|
# (hint: don't try to define NDEBUG ;-)
|
|
|
|
|
|
|
|
BROKEN_LINKER
|
|
|
|
BSD_TPUTS
|
|
|
|
CC_HAS_PROTOS
|
|
|
|
CPP_HAS_PARAM_INIT
|
2002-10-13 11:35:53 +08:00
|
|
|
CURSES_ACS_ARRAY acs_map
|
|
|
|
CURSES_WACS_ARRAY _nc_wacs
|
2000-10-21 12:42:11 +08:00
|
|
|
DECL_ERRNO
|
|
|
|
ETIP_NEEDS_MATH_H
|
|
|
|
GCC_NORETURN /* nothing */
|
|
|
|
GCC_UNUSED /* nothing */
|
|
|
|
HAVE_BIG_CORE
|
|
|
|
HAVE_BSD_CGETENT
|
2004-02-09 10:15:26 +08:00
|
|
|
HAVE_BSD_SIGNAL_H
|
|
|
|
HAVE_BTOWC
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_BUILTIN_H
|
2008-02-10 08:41:46 +08:00
|
|
|
HAVE_CHGAT 1
|
|
|
|
HAVE_COLOR_SET 1
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_DIRENT_H
|
|
|
|
HAVE_ERRNO
|
|
|
|
HAVE_FCNTL_H
|
2006-12-18 12:32:42 +08:00
|
|
|
HAVE_FILTER 1
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_FORM_H
|
2006-12-18 12:32:42 +08:00
|
|
|
HAVE_GETBEGX 1
|
|
|
|
HAVE_GETCURX 1
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_GETCWD
|
|
|
|
HAVE_GETEGID
|
|
|
|
HAVE_GETEUID
|
2006-12-18 12:32:42 +08:00
|
|
|
HAVE_GETMAXX 1
|
2002-10-13 11:35:53 +08:00
|
|
|
HAVE_GETNSTR
|
2008-02-10 08:41:46 +08:00
|
|
|
HAVE_GETPARX 1
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_GETOPT_H
|
|
|
|
HAVE_GETTIMEOFDAY
|
|
|
|
HAVE_GETTTYNAM
|
2006-12-18 12:32:42 +08:00
|
|
|
HAVE_GETWIN 1
|
2005-10-10 02:41:57 +08:00
|
|
|
HAVE_GPM_H
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_GPP_BUILTIN_H
|
|
|
|
HAVE_GXX_BUILTIN_H
|
|
|
|
HAVE_HAS_KEY
|
2007-04-08 09:10:28 +08:00
|
|
|
HAVE_IOSTREAM
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_ISASCII
|
|
|
|
HAVE_ISSETUGID
|
2005-10-10 02:41:57 +08:00
|
|
|
HAVE_LANGINFO_CODESET
|
2004-02-09 10:15:26 +08:00
|
|
|
HAVE_LIBC_H
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_LIBDBMALLOC
|
|
|
|
HAVE_LIBDMALLOC
|
|
|
|
HAVE_LIBFORM
|
|
|
|
HAVE_LIBGPM
|
|
|
|
HAVE_LIBMENU
|
2005-10-10 02:41:57 +08:00
|
|
|
HAVE_LIBMPATROL
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_LIBPANEL
|
|
|
|
HAVE_LIMITS_H
|
|
|
|
HAVE_LINK
|
|
|
|
HAVE_LOCALE_H
|
|
|
|
HAVE_LONG_FILE_NAMES
|
2004-02-09 10:15:26 +08:00
|
|
|
HAVE_MBLEN
|
|
|
|
HAVE_MBRLEN
|
|
|
|
HAVE_MBRTOWC
|
|
|
|
HAVE_MBTOWC
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_MENU_H
|
|
|
|
HAVE_MKSTEMP
|
2006-12-18 12:32:42 +08:00
|
|
|
HAVE_MVVLINE 1
|
|
|
|
HAVE_MVWVLINE 1
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_NANOSLEEP
|
|
|
|
HAVE_NC_ALLOC_H
|
|
|
|
HAVE_PANEL_H
|
|
|
|
HAVE_POLL
|
|
|
|
HAVE_POLL_H
|
2002-10-13 11:35:53 +08:00
|
|
|
HAVE_PURIFY
|
2004-02-09 10:15:26 +08:00
|
|
|
HAVE_PUTWC
|
2006-12-18 12:32:42 +08:00
|
|
|
HAVE_PUTWIN 1
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_REGEXPR_H_FUNCS
|
|
|
|
HAVE_REGEXP_H_FUNCS
|
|
|
|
HAVE_REGEX_H_FUNCS
|
|
|
|
HAVE_REMOVE
|
|
|
|
HAVE_RESIZETERM
|
2006-12-18 12:32:42 +08:00
|
|
|
HAVE_RESIZE_TERM
|
|
|
|
HAVE_RIPOFFLINE 1
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_SELECT
|
|
|
|
HAVE_SETBUF
|
|
|
|
HAVE_SETBUFFER
|
2006-12-18 12:32:42 +08:00
|
|
|
HAVE_SETUPTERM 1
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_SETVBUF
|
|
|
|
HAVE_SIGACTION
|
|
|
|
HAVE_SIGVEC
|
|
|
|
HAVE_SIZECHANGE
|
2004-02-09 10:15:26 +08:00
|
|
|
HAVE_SLK_COLOR
|
2006-12-18 12:32:42 +08:00
|
|
|
HAVE_SLK_INIT 1
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_STRDUP
|
|
|
|
HAVE_STRSTR
|
|
|
|
HAVE_SYMLINK
|
|
|
|
HAVE_SYS_BSDTYPES_H
|
|
|
|
HAVE_SYS_IOCTL_H
|
|
|
|
HAVE_SYS_PARAM_H
|
|
|
|
HAVE_SYS_POLL_H
|
|
|
|
HAVE_SYS_SELECT_H
|
|
|
|
HAVE_SYS_TERMIO_H
|
|
|
|
HAVE_SYS_TIMES_H
|
|
|
|
HAVE_SYS_TIME_H
|
|
|
|
HAVE_SYS_TIME_SELECT
|
|
|
|
HAVE_TCGETATTR
|
|
|
|
HAVE_TCGETPGRP
|
|
|
|
HAVE_TELL
|
2006-12-18 12:32:42 +08:00
|
|
|
HAVE_TERMATTRS 1
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_TERMIOS_H
|
|
|
|
HAVE_TERMIO_H
|
2006-12-18 12:32:42 +08:00
|
|
|
HAVE_TERMNAME 1
|
|
|
|
HAVE_TERM_H 1
|
|
|
|
HAVE_TGETENT 1
|
|
|
|
HAVE_TIGETNUM 1
|
|
|
|
HAVE_TIGETSTR 1
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_TIMES
|
|
|
|
HAVE_TTYENT_H
|
2006-12-18 12:32:42 +08:00
|
|
|
HAVE_TYPEAHEAD 1
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_TYPEINFO
|
2002-10-13 11:35:53 +08:00
|
|
|
HAVE_TYPE_ATTR_T
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_TYPE_SIGACTION
|
|
|
|
HAVE_UNISTD_H
|
|
|
|
HAVE_UNLINK
|
|
|
|
HAVE_USE_DEFAULT_COLORS
|
|
|
|
HAVE_VFSCANF
|
|
|
|
HAVE_VSNPRINTF
|
|
|
|
HAVE_VSSCANF
|
2004-02-09 10:15:26 +08:00
|
|
|
HAVE_WCTOB
|
|
|
|
HAVE_WCTOMB
|
2005-10-10 02:41:57 +08:00
|
|
|
HAVE_WCTYPE_H
|
2006-12-18 12:32:42 +08:00
|
|
|
HAVE_WINSSTR 1
|
2000-10-21 12:42:11 +08:00
|
|
|
HAVE_WORKING_POLL
|
|
|
|
HAVE_WRESIZE
|
2002-10-13 11:35:53 +08:00
|
|
|
HAVE__DOSCAN
|
2000-10-21 12:42:11 +08:00
|
|
|
MIXEDCASE_FILENAMES
|
2007-10-07 07:01:06 +08:00
|
|
|
NCURSES_CHAR_EQ
|
2000-10-21 12:42:11 +08:00
|
|
|
NCURSES_EXPANDED
|
2005-10-10 02:41:57 +08:00
|
|
|
NCURSES_EXT_COLORS
|
2000-10-21 12:42:11 +08:00
|
|
|
NCURSES_EXT_FUNCS
|
|
|
|
NCURSES_NO_PADDING
|
2002-10-13 11:35:53 +08:00
|
|
|
NCURSES_PATHSEP ':'
|
2000-10-21 12:42:11 +08:00
|
|
|
NDEBUG
|
|
|
|
NEED_PTEM_H
|
|
|
|
NO_LEAKS
|
|
|
|
PURE_TERMINFO
|
|
|
|
RETSIGTYPE
|
|
|
|
STDC_HEADERS
|
|
|
|
SVR4_ACTION
|
|
|
|
SVR4_TERMIO
|
|
|
|
SYSTEM_NAME "unknown"
|
|
|
|
TERMINFO "none"
|
2002-10-13 11:35:53 +08:00
|
|
|
TERMPATH "none"
|
|
|
|
TIME_WITH_SYS_TIME
|
2000-10-21 12:42:11 +08:00
|
|
|
TYPEOF_CHTYPE
|
|
|
|
USE_COLORFGBG
|
|
|
|
USE_DATABASE
|
|
|
|
USE_GETCAP
|
|
|
|
USE_GETCAP_CACHE
|
|
|
|
USE_HARD_TABS
|
2006-12-18 12:32:42 +08:00
|
|
|
USE_HASHED_DB
|
2000-10-21 12:42:11 +08:00
|
|
|
USE_HASHMAP
|
2004-02-09 10:15:26 +08:00
|
|
|
USE_HOME_TERMINFO
|
2000-10-21 12:42:11 +08:00
|
|
|
USE_LINKS
|
|
|
|
USE_MY_MEMMOVE
|
|
|
|
USE_OK_BCOPY
|
|
|
|
USE_RCS_IDS
|
ncurses 5.6 - patch 20070310
+ increase size of array in _nc_visbuf2n() to make "tic -v" work
properly in its similar_sgr() function (report/analysis by Peter
Santoro).
+ add --enable-reentrant configure option for ongoing changes to
implement a reentrant version of ncurses:
+ libraries are suffixed with "t"
+ wrap several global variables (curscr, newscr, stdscr, ttytype,
COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as
functions returning values stored in SCREEN or cur_term.
+ move some initialization (LINES, COLS) from lib_setup.c,
i.e., setupterm() to _nc_setupscreen(), i.e., newterm().
2007-03-11 09:07:00 +08:00
|
|
|
USE_REENTRANT
|
2000-10-21 12:42:11 +08:00
|
|
|
USE_SAFE_SPRINTF
|
|
|
|
USE_SCROLL_HINTS
|
|
|
|
USE_SIGWINCH
|
|
|
|
USE_SYMLINKS
|
2004-02-09 10:15:26 +08:00
|
|
|
USE_SYSMOUSE
|
2002-10-13 11:35:53 +08:00
|
|
|
USE_TERMCAP
|
2000-10-21 12:42:11 +08:00
|
|
|
USE_WIDEC_SUPPORT
|
|
|
|
USE_XMC_SUPPORT
|