[BACK]Return to ncurses_def.h CVS log [TXT][DIR] Up to [local] / src / lib / libcurses

File: [local] / src / lib / libcurses / ncurses_def.h (download)

Revision 1.3, Tue Oct 17 09:52:08 2023 UTC (7 months, 3 weeks ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.2: +293 -17 lines

Update ncurses and associated libraries (form, panel, menu) to
6.4-20230826 (from 5.7-20081102).

Based on result from Thomas Dickey's ncu2openbsd script and then
modified. Switches to the upstream tput. Major bump for the ncurses
libraries and for libedit and libreadline.

Help from tb, millert.

ok deraadt sthen

/* $OpenBSD: ncurses_def.h,v 1.3 2023/10/17 09:52:08 nicm Exp $ */

/*
 * This file is generated by ./MKncurses_def.sh
 */

#ifndef NC_DEFINE_H
#define NC_DEFINE_H 1

#ifndef BROKEN_LINKER
#define BROKEN_LINKER 0
#endif

#ifndef BSD_TPUTS
#define BSD_TPUTS 0
#endif

#ifndef CGETENT_CONST
#define CGETENT_CONST /* nothing */
#endif

#ifndef CPP_HAS_PARAM_INIT
#define CPP_HAS_PARAM_INIT 0
#endif

#ifndef CURSES_ACS_ARRAY
#define CURSES_ACS_ARRAY acs_map
#endif

#ifndef CURSES_WACS_ARRAY
#define CURSES_WACS_ARRAY _nc_wacs
#endif

#ifndef DECL_ERRNO
#define DECL_ERRNO 0
#endif

#ifndef ETIP_NEEDS_MATH_H
#define ETIP_NEEDS_MATH_H 0
#endif

#ifndef GCC_NORETURN
#define GCC_NORETURN /* nothing */
#endif

#ifndef GCC_UNUSED
#define GCC_UNUSED /* nothing */
#endif

#ifndef HAVE_ALLOC_PAIR
#define HAVE_ALLOC_PAIR 0
#endif

#ifndef HAVE_ASSUME_DEFAULT_COLORS
#define HAVE_ASSUME_DEFAULT_COLORS 0
#endif

#ifndef HAVE_BIG_CORE
#define HAVE_BIG_CORE 0
#endif

#ifndef HAVE_BSD_CGETENT
#define HAVE_BSD_CGETENT 0
#endif

#ifndef HAVE_BSD_SIGNAL_H
#define HAVE_BSD_SIGNAL_H 0
#endif

#ifndef HAVE_BSD_STRING_H
#define HAVE_BSD_STRING_H 0
#endif

#ifndef HAVE_BTOWC
#define HAVE_BTOWC 0
#endif

#ifndef HAVE_BUILTIN_H
#define HAVE_BUILTIN_H 0
#endif

#ifndef HAVE_CHGAT
#define HAVE_CHGAT 1
#endif

#ifndef HAVE_CLOCK_GETTIME
#define HAVE_CLOCK_GETTIME 0
#endif

#ifndef HAVE_COLOR_CONTENT
#define HAVE_COLOR_CONTENT 1
#endif

#ifndef HAVE_COLOR_SET
#define HAVE_COLOR_SET 1
#endif

#ifndef HAVE_CONSISTENT_GETENV
#define HAVE_CONSISTENT_GETENV 0
#endif

#ifndef HAVE_COPYWIN
#define HAVE_COPYWIN 1
#endif

#ifndef HAVE_CURSCR
#define HAVE_CURSCR 1
#endif

#ifndef HAVE_CURSES_DATA_TABSIZE
#define HAVE_CURSES_DATA_TABSIZE 1
#endif

#ifndef HAVE_CURSES_DATA_TTYTYPE
#define HAVE_CURSES_DATA_TTYTYPE 1
#endif

#ifndef HAVE_CURSES_TRACE
#define HAVE_CURSES_TRACE 1
#endif

#ifndef HAVE_DELSCREEN
#define HAVE_DELSCREEN 1
#endif

#ifndef HAVE_DERWIN
#define HAVE_DERWIN 1
#endif

#ifndef HAVE_DIRENT_H
#define HAVE_DIRENT_H 0
#endif

#ifndef HAVE_DUPWIN
#define HAVE_DUPWIN 1
#endif

#ifndef HAVE_ERRNO
#define HAVE_ERRNO 0
#endif

#ifndef HAVE_EXIT_CURSES
#define HAVE_EXIT_CURSES 1
#endif

#ifndef HAVE_EXIT_TERMINFO
#define HAVE_EXIT_TERMINFO 1
#endif

#ifndef HAVE_FCNTL_H
#define HAVE_FCNTL_H 0
#endif

#ifndef HAVE_FILTER
#define HAVE_FILTER 1
#endif

#ifndef HAVE_FORM_H
#define HAVE_FORM_H 0
#endif

#ifndef HAVE_FPATHCONF
#define HAVE_FPATHCONF 0
#endif

#ifndef HAVE_GETAUXVAL
#define HAVE_GETAUXVAL 0
#endif

#ifndef HAVE_GETBEGX
#define HAVE_GETBEGX 1
#endif

#ifndef HAVE_GETCURX
#define HAVE_GETCURX 1
#endif

#ifndef HAVE_GETCWD
#define HAVE_GETCWD 0
#endif

#ifndef HAVE_GETEGID
#define HAVE_GETEGID 0
#endif

#ifndef HAVE_GETEUID
#define HAVE_GETEUID 0
#endif

#ifndef HAVE_GETMAXX
#define HAVE_GETMAXX 1
#endif

#ifndef HAVE_GETNSTR
#define HAVE_GETNSTR 0
#endif

#ifndef HAVE_GETOPT_H
#define HAVE_GETOPT_H 0
#endif

#ifndef HAVE_GETPARX
#define HAVE_GETPARX 1
#endif

#ifndef HAVE_GETTIMEOFDAY
#define HAVE_GETTIMEOFDAY 0
#endif

#ifndef HAVE_GETTTYNAM
#define HAVE_GETTTYNAM 0
#endif

#ifndef HAVE_GETUID
#define HAVE_GETUID 0
#endif

#ifndef HAVE_GETWIN
#define HAVE_GETWIN 1
#endif

#ifndef HAVE_GPM_H
#define HAVE_GPM_H 0
#endif

#ifndef HAVE_GPP_BUILTIN_H
#define HAVE_GPP_BUILTIN_H 0
#endif

#ifndef HAVE_GXX_BUILTIN_H
#define HAVE_GXX_BUILTIN_H 0
#endif

#ifndef HAVE_HALFDELAY
#define HAVE_HALFDELAY 1
#endif

#ifndef HAVE_HAS_KEY
#define HAVE_HAS_KEY 0
#endif

#ifndef HAVE_INIT_EXTENDED_COLOR
#define HAVE_INIT_EXTENDED_COLOR 0
#endif

#ifndef HAVE_INTTYPES_H
#define HAVE_INTTYPES_H 0
#endif

#ifndef HAVE_IOSTREAM
#define HAVE_IOSTREAM 0
#endif

#ifndef HAVE_ISASCII
#define HAVE_ISASCII 0
#endif

#ifndef HAVE_ISSETUGID
#define HAVE_ISSETUGID 0
#endif

#ifndef HAVE_LANGINFO_CODESET
#define HAVE_LANGINFO_CODESET 0
#endif

#ifndef HAVE_LIBC_H
#define HAVE_LIBC_H 0
#endif

#ifndef HAVE_LIBDBMALLOC
#define HAVE_LIBDBMALLOC 0
#endif

#ifndef HAVE_LIBDMALLOC
#define HAVE_LIBDMALLOC 0
#endif

#ifndef HAVE_LIBFORM
#define HAVE_LIBFORM 0
#endif

#ifndef HAVE_LIBGPM
#define HAVE_LIBGPM 0
#endif

#ifndef HAVE_LIBMENU
#define HAVE_LIBMENU 0
#endif

#ifndef HAVE_LIBMPATROL
#define HAVE_LIBMPATROL 0
#endif

#ifndef HAVE_LIBPANEL
#define HAVE_LIBPANEL 0
#endif

#ifndef HAVE_LIB_PCRE2
#define HAVE_LIB_PCRE2 0
#endif

#ifndef HAVE_LIMITS_H
#define HAVE_LIMITS_H 0
#endif

#ifndef HAVE_LINK
#define HAVE_LINK 0
#endif

#ifndef HAVE_LOCALECONV
#define HAVE_LOCALECONV 0
#endif

#ifndef HAVE_LOCALE_H
#define HAVE_LOCALE_H 0
#endif

#ifndef HAVE_LONG_FILE_NAMES
#define HAVE_LONG_FILE_NAMES 0
#endif

#ifndef HAVE_MATH_FUNCS
#define HAVE_MATH_FUNCS 0
#endif

#ifndef HAVE_MATH_H
#define HAVE_MATH_H 0
#endif

#ifndef HAVE_MBLEN
#define HAVE_MBLEN 0
#endif

#ifndef HAVE_MBRLEN
#define HAVE_MBRLEN 0
#endif

#ifndef HAVE_MBRTOWC
#define HAVE_MBRTOWC 0
#endif

#ifndef HAVE_MBSRTOWCS
#define HAVE_MBSRTOWCS 0
#endif

#ifndef HAVE_MBSTOWCS
#define HAVE_MBSTOWCS 0
#endif

#ifndef HAVE_MBTOWC
#define HAVE_MBTOWC 0
#endif

#ifndef HAVE_MENU_H
#define HAVE_MENU_H 0
#endif

#ifndef HAVE_MKSTEMP
#define HAVE_MKSTEMP 0
#endif

#ifndef HAVE_MVDERWIN
#define HAVE_MVDERWIN 1
#endif

#ifndef HAVE_MVVLINE
#define HAVE_MVVLINE 1
#endif

#ifndef HAVE_MVWIN
#define HAVE_MVWIN 1
#endif

#ifndef HAVE_MVWVLINE
#define HAVE_MVWVLINE 1
#endif

#ifndef HAVE_NANOSLEEP
#define HAVE_NANOSLEEP 0
#endif

#ifndef HAVE_NAPMS
#define HAVE_NAPMS 1
#endif

#ifndef HAVE_NC_ALLOC_H
#define HAVE_NC_ALLOC_H 0
#endif

#ifndef HAVE_NEWPAD
#define HAVE_NEWPAD 1
#endif

#ifndef HAVE_PANEL_H
#define HAVE_PANEL_H 0
#endif

#ifndef HAVE_PATH_TTYS
#define HAVE_PATH_TTYS 0
#endif

#ifndef HAVE_PCRE2POSIX_H
#define HAVE_PCRE2POSIX_H 0
#endif

#ifndef HAVE_PCREPOSIX_H
#define HAVE_PCREPOSIX_H 0
#endif

#ifndef HAVE_POLL
#define HAVE_POLL 0
#endif

#ifndef HAVE_POLL_H
#define HAVE_POLL_H 0
#endif

#ifndef HAVE_PURIFY
#define HAVE_PURIFY 0
#endif

#ifndef HAVE_PUTENV
#define HAVE_PUTENV 0
#endif

#ifndef HAVE_PUTWC
#define HAVE_PUTWC 0
#endif

#ifndef HAVE_PUTWIN
#define HAVE_PUTWIN 1
#endif

#ifndef HAVE_REGEXPR_H_FUNCS
#define HAVE_REGEXPR_H_FUNCS 0
#endif

#ifndef HAVE_REGEXP_H_FUNCS
#define HAVE_REGEXP_H_FUNCS 0
#endif

#ifndef HAVE_REGEX_H_FUNCS
#define HAVE_REGEX_H_FUNCS 0
#endif

#ifndef HAVE_REMOVE
#define HAVE_REMOVE 0
#endif

#ifndef HAVE_RESET_COLOR_PAIRS
#define HAVE_RESET_COLOR_PAIRS 0
#endif

#ifndef HAVE_RESIZETERM
#define HAVE_RESIZETERM 0
#endif

#ifndef HAVE_RESIZE_TERM
#define HAVE_RESIZE_TERM 0
#endif

#ifndef HAVE_RESTARTTERM
#define HAVE_RESTARTTERM 1
#endif

#ifndef HAVE_RIPOFFLINE
#define HAVE_RIPOFFLINE 1
#endif

#ifndef HAVE_SCR_DUMP
#define HAVE_SCR_DUMP 1
#endif

#ifndef HAVE_SELECT
#define HAVE_SELECT 0
#endif

#ifndef HAVE_SETBUF
#define HAVE_SETBUF 0
#endif

#ifndef HAVE_SETBUFFER
#define HAVE_SETBUFFER 0
#endif

#ifndef HAVE_SETENV
#define HAVE_SETENV 0
#endif

#ifndef HAVE_SETFSUID
#define HAVE_SETFSUID 0
#endif

#ifndef HAVE_SETUPTERM
#define HAVE_SETUPTERM 1
#endif

#ifndef HAVE_SETVBUF
#define HAVE_SETVBUF 0
#endif

#ifndef HAVE_SGTTY_H
#define HAVE_SGTTY_H 0
#endif

#ifndef HAVE_SIGACTION
#define HAVE_SIGACTION 0
#endif

#ifndef HAVE_SIGVEC
#define HAVE_SIGVEC 0
#endif

#ifndef HAVE_SIZECHANGE
#define HAVE_SIZECHANGE 0
#endif

#ifndef HAVE_SLK_COLOR
#define HAVE_SLK_COLOR 0
#endif

#ifndef HAVE_SLK_INIT
#define HAVE_SLK_INIT 1
#endif

#ifndef HAVE_SNPRINTF
#define HAVE_SNPRINTF 0
#endif

#ifndef HAVE_STDINT_H
#define HAVE_STDINT_H 0
#endif

#ifndef HAVE_STRDUP
#define HAVE_STRDUP 0
#endif

#ifndef HAVE_STRLCAT
#define HAVE_STRLCAT 0
#endif

#ifndef HAVE_STRLCPY
#define HAVE_STRLCPY 0
#endif

#ifndef HAVE_STRSTR
#define HAVE_STRSTR 0
#endif

#ifndef HAVE_SYMLINK
#define HAVE_SYMLINK 0
#endif

#ifndef HAVE_SYSCONF
#define HAVE_SYSCONF 0
#endif

#ifndef HAVE_SYS_BSDTYPES_H
#define HAVE_SYS_BSDTYPES_H 0
#endif

#ifndef HAVE_SYS_AUXV_H
#define HAVE_SYS_AUXV_H 0
#endif

#ifndef HAVE_SYS_IOCTL_H
#define HAVE_SYS_IOCTL_H 0
#endif

#ifndef HAVE_SYS_PARAM_H
#define HAVE_SYS_PARAM_H 0
#endif

#ifndef HAVE_SYS_POLL_H
#define HAVE_SYS_POLL_H 0
#endif

#ifndef HAVE_SYS_SELECT_H
#define HAVE_SYS_SELECT_H 0
#endif

#ifndef HAVE_SYS_TERMIO_H
#define HAVE_SYS_TERMIO_H 0
#endif

#ifndef HAVE_SYS_TIMES_H
#define HAVE_SYS_TIMES_H 0
#endif

#ifndef HAVE_SYS_TIME_H
#define HAVE_SYS_TIME_H 0
#endif

#ifndef HAVE_SYS_TIME_SELECT
#define HAVE_SYS_TIME_SELECT 0
#endif

#ifndef HAVE_TCGETATTR
#define HAVE_TCGETATTR 0
#endif

#ifndef HAVE_TCGETPGRP
#define HAVE_TCGETPGRP 0
#endif

#ifndef HAVE_TELL
#define HAVE_TELL 0
#endif

#ifndef HAVE_TERMATTRS
#define HAVE_TERMATTRS 1
#endif

#ifndef HAVE_TERMCAP_H
#define HAVE_TERMCAP_H 1
#endif

#ifndef HAVE_TERMIOS_H
#define HAVE_TERMIOS_H 0
#endif

#ifndef HAVE_TERMIO_H
#define HAVE_TERMIO_H 0
#endif

#ifndef HAVE_TERMNAME
#define HAVE_TERMNAME 1
#endif

#ifndef HAVE_TERM_ENTRY_H
#define HAVE_TERM_ENTRY_H 1
#endif

#ifndef HAVE_TERM_H
#define HAVE_TERM_H 1
#endif

#ifndef HAVE_TGETENT
#define HAVE_TGETENT 1
#endif

#ifndef HAVE_TIGETNUM
#define HAVE_TIGETNUM 1
#endif

#ifndef HAVE_TIGETSTR
#define HAVE_TIGETSTR 1
#endif

#ifndef HAVE_TIPARM
#define HAVE_TIPARM 1
#endif

#ifndef HAVE_TIPARM_S
#define HAVE_TIPARM_S 1
#endif

#ifndef HAVE_TISCAN_S
#define HAVE_TISCAN_S 1
#endif

#ifndef HAVE_TIMES
#define HAVE_TIMES 0
#endif

#ifndef HAVE_TPUTS_SP
#define HAVE_TPUTS_SP 0
#endif

#ifndef HAVE_TSEARCH
#define HAVE_TSEARCH 0
#endif

#ifndef HAVE_TYPEAHEAD
#define HAVE_TYPEAHEAD 1
#endif

#ifndef HAVE_TYPEINFO
#define HAVE_TYPEINFO 0
#endif

#ifndef HAVE_TYPE_ATTR_T
#define HAVE_TYPE_ATTR_T 0
#endif

#ifndef HAVE_TYPE_SIGACTION
#define HAVE_TYPE_SIGACTION 0
#endif

#ifndef HAVE_UNCTRL_H
#define HAVE_UNCTRL_H 1
#endif

#ifndef HAVE_UNGET_WCH
#define HAVE_UNGET_WCH 1
#endif

#ifndef HAVE_UNISTD_H
#define HAVE_UNISTD_H 0
#endif

#ifndef HAVE_UNLINK
#define HAVE_UNLINK 0
#endif

#ifndef HAVE_USE_DEFAULT_COLORS
#define HAVE_USE_DEFAULT_COLORS 0
#endif

#ifndef HAVE_USE_ENV
#define HAVE_USE_ENV 1
#endif

#ifndef HAVE_USE_EXTENDED_NAMES
#define HAVE_USE_EXTENDED_NAMES NCURSES_XNAMES
#endif

#ifndef HAVE_USE_SCREEN
#define HAVE_USE_SCREEN 0
#endif

#ifndef HAVE_USE_WINDOW
#define HAVE_USE_WINDOW 0
#endif

#ifndef HAVE_VFSCANF
#define HAVE_VFSCANF 0
#endif

#ifndef HAVE_VIDPUTS
#define HAVE_VIDPUTS 1
#endif

#ifndef HAVE_VID_PUTS
#define HAVE_VID_PUTS 1
#endif

#ifndef HAVE_VSNPRINTF
#define HAVE_VSNPRINTF 0
#endif

#ifndef HAVE_VSSCANF
#define HAVE_VSSCANF 0
#endif

#ifndef HAVE_VW_PRINTW
#define HAVE_VW_PRINTW 1
#endif

#ifndef HAVE_WCHGAT
#define HAVE_WCHGAT 1
#endif

#ifndef HAVE_WCSRTOMBS
#define HAVE_WCSRTOMBS 0
#endif

#ifndef HAVE_WCSTOMBS
#define HAVE_WCSTOMBS 0
#endif

#ifndef HAVE_WCTOB
#define HAVE_WCTOB 0
#endif

#ifndef HAVE_WCTOMB
#define HAVE_WCTOMB 0
#endif

#ifndef HAVE_WCTYPE_H
#define HAVE_WCTYPE_H 0
#endif

#ifndef HAVE_WINSDELLN
#define HAVE_WINSDELLN 1
#endif

#ifndef HAVE_WINSSTR
#define HAVE_WINSSTR 1
#endif

#ifndef HAVE_WMEMCHR
#define HAVE_WMEMCHR 0
#endif

#ifndef HAVE_WORKING_POLL
#define HAVE_WORKING_POLL 0
#endif

#ifndef HAVE_WRESIZE
#define HAVE_WRESIZE 0
#endif

#ifndef HAVE_WSYNCDOWN
#define HAVE_WSYNCDOWN 1
#endif

#ifndef HAVE__DOSCAN
#define HAVE__DOSCAN 0
#endif

#ifndef HAVE__TRACEF
#define HAVE__TRACEF 0
#endif

#ifndef HAVE__NC_TPARM_ANALYZE
#define HAVE__NC_TPARM_ANALYZE 1
#endif

#ifndef MIXEDCASE_FILENAMES
#define MIXEDCASE_FILENAMES 0
#endif

#ifndef NCURSES_CHAR_EQ
#define NCURSES_CHAR_EQ 0
#endif

#ifndef NCURSES_EXPANDED
#define NCURSES_EXPANDED 0
#endif

#ifndef NCURSES_EXT_COLORS
#define NCURSES_EXT_COLORS 0
#endif

#ifndef NCURSES_EXT_FUNCS
#define NCURSES_EXT_FUNCS 0
#endif

#ifndef NCURSES_EXT_PUTWIN
#define NCURSES_EXT_PUTWIN 0
#endif

#ifndef NCURSES_NO_PADDING
#define NCURSES_NO_PADDING 0
#endif

#ifndef NCURSES_OSPEED_COMPAT
#define NCURSES_OSPEED_COMPAT 0
#endif

#ifndef NCURSES_PATHSEP
#define NCURSES_PATHSEP ':'
#endif

#ifndef NCURSES_WIDECHAR
#define NCURSES_WIDECHAR 0
#endif

#ifndef NEED_PTEM_H
#define NEED_PTEM_H 0
#endif

#ifndef NO_LEAKS
#define NO_LEAKS 0
#endif

#ifndef PURE_TERMINFO
#define PURE_TERMINFO 0
#endif

#ifndef STDC_HEADERS
#define STDC_HEADERS 0
#endif

#ifndef SVR4_ACTION
#define SVR4_ACTION 0
#endif

#ifndef SVR4_TERMIO
#define SVR4_TERMIO 0
#endif

#ifndef SYSTEM_NAME
#define SYSTEM_NAME "unknown"
#endif

#ifndef TERMINFO
#define TERMINFO "none"
#endif

#ifndef TERMPATH
#define TERMPATH "none"
#endif

#ifndef TIME_WITH_SYS_TIME
#define TIME_WITH_SYS_TIME 0
#endif

#ifndef TYPEOF_CHTYPE
#define TYPEOF_CHTYPE 0
#endif

#ifndef USE_COLORFGBG
#define USE_COLORFGBG 0
#endif

#ifndef USE_FOPEN_BIN_R
#define USE_FOPEN_BIN_R 0
#endif

#ifndef USE_GETCAP
#define USE_GETCAP 0
#endif

#ifndef USE_GETCAP_CACHE
#define USE_GETCAP_CACHE 0
#endif

#ifndef USE_HARD_TABS
#define USE_HARD_TABS 0
#endif

#ifndef USE_HASHED_DB
#define USE_HASHED_DB 0
#endif

#ifndef USE_HASHMAP
#define USE_HASHMAP 0
#endif

#ifndef USE_HOME_TERMINFO
#define USE_HOME_TERMINFO 0
#endif

#ifndef USE_LINKS
#define USE_LINKS 0
#endif

#ifndef USE_MY_MEMMOVE
#define USE_MY_MEMMOVE 0
#endif

#ifndef USE_OK_BCOPY
#define USE_OK_BCOPY 0
#endif

#ifndef USE_PTHREADS_EINTR
#define USE_PTHREADS_EINTR 0
#endif

#ifndef USE_RCS_IDS
#define USE_RCS_IDS 0
#endif

#ifndef USE_REENTRANT
#define USE_REENTRANT 0
#endif

#ifndef USE_SAFE_SPRINTF
#define USE_SAFE_SPRINTF 0
#endif

#ifndef USE_SCROLL_HINTS
#define USE_SCROLL_HINTS 0
#endif

#ifndef USE_SIGWINCH
#define USE_SIGWINCH 0
#endif

#ifndef USE_STRING_HACKS
#define USE_STRING_HACKS 0
#endif

#ifndef USE_SYMLINKS
#define USE_SYMLINKS 0
#endif

#ifndef USE_SYSMOUSE
#define USE_SYSMOUSE 0
#endif

#ifndef USE_WEAK_SYMBOLS
#define USE_WEAK_SYMBOLS 0
#endif

#ifndef USE_WIDEC_SUPPORT
#define USE_WIDEC_SUPPORT 0
#endif

#ifndef USE_XMC_SUPPORT
#define USE_XMC_SUPPORT 0
#endif

#endif /* NC_DEFINE_H */