mirror of
https://github.com/Aigor44/ncursesw-morphos.git
synced 2025-03-13 16:26:41 +08:00
+ modify mvcur() to distinguish between internal use by the ncurses library, and external callers, preventing it from reading the content of the screen which is only nonblank when curses calls have updated it. This makes test/dots_mvcur.c avoid painting colored cells in the left margin of the display. + minor fix to test/dots_mvcur.c + move configured symbols USE_DATABASE and USE_TERMCAP to term.h as NCURSES_USE_DATABASE and NCURSES_USE_TERMCAP to allow consistent use of these symbols in term_entry.h
223 lines
5.0 KiB
Plaintext
223 lines
5.0 KiB
Plaintext
# $Id: ncurses_defs,v 1.60 2013/05/25 20:12:34 tom Exp $
|
|
##############################################################################
|
|
# Copyright (c) 2000-2012,2013 Free Software Foundation, Inc. #
|
|
# #
|
|
# 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
|
|
CGETENT_CONST /* nothing */
|
|
CPP_HAS_PARAM_INIT
|
|
CURSES_ACS_ARRAY acs_map
|
|
CURSES_WACS_ARRAY _nc_wacs
|
|
DECL_ERRNO
|
|
ETIP_NEEDS_MATH_H
|
|
GCC_NORETURN /* nothing */
|
|
GCC_UNUSED /* nothing */
|
|
HAVE_ASSUME_DEFAULT_COLORS
|
|
HAVE_BIG_CORE
|
|
HAVE_BSD_CGETENT
|
|
HAVE_BSD_SIGNAL_H
|
|
HAVE_BTOWC
|
|
HAVE_BUILTIN_H
|
|
HAVE_CHGAT 1
|
|
HAVE_COLOR_SET 1
|
|
HAVE_DIRENT_H
|
|
HAVE_ERRNO
|
|
HAVE_FCNTL_H
|
|
HAVE_FILTER 1
|
|
HAVE_FORM_H
|
|
HAVE_GETBEGX 1
|
|
HAVE_GETCURX 1
|
|
HAVE_GETCWD
|
|
HAVE_GETEGID
|
|
HAVE_GETEUID
|
|
HAVE_GETMAXX 1
|
|
HAVE_GETNSTR
|
|
HAVE_GETOPT_H
|
|
HAVE_GETPARX 1
|
|
HAVE_GETTIMEOFDAY
|
|
HAVE_GETTTYNAM
|
|
HAVE_GETWIN 1
|
|
HAVE_GPM_H
|
|
HAVE_GPP_BUILTIN_H
|
|
HAVE_GXX_BUILTIN_H
|
|
HAVE_HAS_KEY
|
|
HAVE_IOSTREAM
|
|
HAVE_ISASCII
|
|
HAVE_ISSETUGID
|
|
HAVE_LANGINFO_CODESET
|
|
HAVE_LIBC_H
|
|
HAVE_LIBDBMALLOC
|
|
HAVE_LIBDMALLOC
|
|
HAVE_LIBFORM
|
|
HAVE_LIBGPM
|
|
HAVE_LIBMENU
|
|
HAVE_LIBMPATROL
|
|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ES_H
|
|
HAVE_SYS_TIME_H
|
|
HAVE_SYS_TIME_SELECT
|
|
HAVE_TCGETATTR
|
|
HAVE_TCGETPGRP
|
|
HAVE_TELL
|
|
HAVE_TERMATTRS 1
|
|
HAVE_TERMIOS_H
|
|
HAVE_TERMIO_H
|
|
HAVE_TERMNAME 1
|
|
HAVE_TERM_ENTRY_H 1
|
|
HAVE_TERM_H 1
|
|
HAVE_TGETENT 1
|
|
HAVE_TIGETNUM 1
|
|
HAVE_TIGETSTR 1
|
|
HAVE_TIMES
|
|
HAVE_TTYENT_H
|
|
HAVE_TYPEAHEAD 1
|
|
HAVE_TYPEINFO
|
|
HAVE_TYPE_ATTR_T
|
|
HAVE_TYPE_SIGACTION
|
|
HAVE_UNCTRL_H 1
|
|
HAVE_UNISTD_H
|
|
HAVE_UNLINK
|
|
HAVE_USE_DEFAULT_COLORS
|
|
HAVE_USE_SCREEN
|
|
HAVE_USE_WINDOW
|
|
HAVE_VFSCANF
|
|
HAVE_VSNPRINTF
|
|
HAVE_VSSCANF
|
|
HAVE_WCSRTOMBS
|
|
HAVE_WCSTOMBS
|
|
HAVE_WCTOB
|
|
HAVE_WCTOMB
|
|
HAVE_WCTYPE_H
|
|
HAVE_WINSSTR 1
|
|
HAVE_WORKING_POLL
|
|
HAVE_WRESIZE
|
|
HAVE_WSYNCDOWN 1
|
|
HAVE__DOSCAN
|
|
MIXEDCASE_FILENAMES
|
|
NCURSES_CHAR_EQ
|
|
NCURSES_EXPANDED
|
|
NCURSES_EXT_COLORS
|
|
NCURSES_EXT_FUNCS
|
|
NCURSES_NO_PADDING
|
|
NCURSES_PATHSEP ':'
|
|
NCURSES_WIDECHAR
|
|
NEED_PTEM_H
|
|
NO_LEAKS
|
|
PURE_TERMINFO
|
|
STDC_HEADERS
|
|
SVR4_ACTION
|
|
SVR4_TERMIO
|
|
SYSTEM_NAME "unknown"
|
|
TERMINFO "none"
|
|
TERMPATH "none"
|
|
TIME_WITH_SYS_TIME
|
|
TYPEOF_CHTYPE
|
|
USE_COLORFGBG
|
|
USE_GETCAP
|
|
USE_GETCAP_CACHE
|
|
USE_HARD_TABS
|
|
USE_HASHED_DB
|
|
USE_HASHMAP
|
|
USE_HOME_TERMINFO
|
|
USE_LINKS
|
|
USE_MY_MEMMOVE
|
|
USE_OK_BCOPY
|
|
USE_PTHREADS_EINTR
|
|
USE_RCS_IDS
|
|
USE_REENTRANT
|
|
USE_SAFE_SPRINTF
|
|
USE_SCROLL_HINTS
|
|
USE_SIGWINCH
|
|
USE_STRING_HACKS
|
|
USE_SYMLINKS
|
|
USE_SYSMOUSE
|
|
USE_WEAK_SYMBOLS
|
|
USE_WIDEC_SUPPORT
|
|
USE_XMC_SUPPORT
|