X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fannounce.html;h=3005e49d588983be19943bf07f19202ec3b388b3;hp=e7a79d6c899d78542aaf284c5ac29331a2e3052a;hb=refs%2Ftags%2Fv5.2;hpb=b1f61d9f3aa244512045a6b02e759825d7049d34 diff --git a/doc/html/announce.html b/doc/html/announce.html index e7a79d6c..3005e49d 100644 --- a/doc/html/announce.html +++ b/doc/html/announce.html @@ -1,15 +1,15 @@
-Interface changes:
configure --enable-tcap-names
)
- a standard feature (though the configure script can disable it,
- it is built by default).
-
- trace()
function and related trace support
- from the production library. This is the only interface change that
- may cause problems with existing applications linked to shared
- libraries, since not all platforms use the minor version number.
-
- ospeed
variable back to
+ short
to match its use in legacy applications. It was
+ altered after ncurses 4.2 to speed_t
to repair a type
+ mismatch which was introduced after 1.9.4 in 1995. The principal
+ users of termcap continued to use short
, which is
+ not the same size.
+
+ NOTE: A few applications will have to be recompiled
+ (about 1% of the programs in a typical Linux distribution,
+ 10% of the programs that use ncurses). These are easy to
+ identify with nm
or strings
.
+
+
_nc_can_clear_with()
, which
+ was built with the configure --enable-expanded option but not used.
+
+ chtype
values in the debug library, and for better
+ access and buffer limit checking.
assume_default_colors()
to
- provide better control over the use of default colors. This is
- the principal visible difference between ncurses 5.1 and preceding
- versions. The new extension allows an application to specify what
- colors pair 0 uses.
-
- NOTE: Pair 0 defaults to white on black unless
- you have invoked use_default_colors()
or set it via
- assume_default_colors()
. An application that calls
- start_colors()
without setting the background color
- will consistently have a black background no matter what color your
- terminal's background actually is.
-
-
use_extended_names()
by
- adding "obsolete" termcap strings to terminfo.src
+ tgoto()
to make it better support existing
+ termcap applications which use hardcoded strings rather than obtain
+ all of their information from the termcap file. If the string does
+ not appear to be a terminfo string (i.e., does not refer to a "%p"
+ parameter, or terminfo-style padding), and termcap support is configured, tgoto()
+ will interpret it as termcap. Otherwise, as before, it will use
+ tparm()
.
+
+ tgoto()
changes work properly,
+ added checks to tic
which report capabilities that do
+ not reference the expected number of parameters.
+
+ tic
so that if extended names (i.e.,
- configure --enable-tcap-names) are active, then tic -x
- will also write "obsolete" capabilities that are present in the
- terminfo source.
-
- --disable-root-environ
adds runtime checks
+ which tell ncurses to disregard $TERMINFO and similar environment
+ variables if the current user is root, or running setuid/setgid.
+
+ --disable-assumed-color
allows you to use the
+ pre-5.1 convention of default colors used for color-pair 0 to be
+ configured (see assume_default_colors()).
+
+ --program-prefix
, including the
+ manpage names and cross references.
+
+ --with-database
allows you to specify a
+ different terminfo source-file to install. On OS/2 EMX, the
+ default is misc/emx.src, otherwise misc/terminfo.src
+
+ --with-default-terminfo-dir
allows you to
+ specify the default terminfo database directory.
+
+ --with-libtool
allows you to build with
+ libtool
. NOTE: libtool
+ uses a different notation for numbering shared library versions
+ from the existing ncurses configuration.
+
+
--with-manpage-tbl
causes the manpages to be
+ preprocessed by tbl(1) prior to installation,
+
+ --without-curses-h
causes the installation
+ process to install curses.h as ncurses.h and make appropriate
+ changes to headers and manpages.
configure --enable-widec
option is
- given, append 'w' to names of the generated libraries (e.g.,
- libncursesw.so) to avoid conflict with existing ncurses libraries.
- --install-prefix
configure
+ option from INSTALL_PREFIX
to DESTDIR
+ (the latter has become common usage although the name is
+ misleading).
+
+ ld -rpath
options (e.g., Linux, and Solaris)
+ to use an absolute pathname for the build tree's lib directory,
+ avoiding confusion with directories relative to the current one
+ with the installed programs.
+
+ misc/run_tic.in
to use
+ tic -o
, to eliminate dependency on
+ $TERMINFO
variable for installs.
raw()
and noraw()
to clear/restore
- IEXTEN flag which affects stty lnext
on systems such as FreeBSD
+ $DISPLAY
in favor of the terminfo capability
- kmous=\E[M
or
- if $TERM
environment variable contains "xterm".
+ --with-manpage-symlinks
, which
- provides for fully indexing manpage entries by making symbolic links
- for the aliases.
+ unctrl()
to render C1 characters (128-159) as
- ~@
, ~A
, etc.
+ screen
's terminfo entry
+ since otherwise the FreeBSD port makes it pass termcap equivalents
+ to tgoto
, which would be misinterpreted by older
+ versions of ncurses.
+ curses_version()
string to
+ report the version of ncurses with which they are compiled rather
+ than the NCURSES_VERSION string. The function returns the patch
+ level in addition to the major and minor version numbers.
- tput
program so it can be renamed or invoked via a link as
+ 'reset' or 'init', producing the same effect as tput reset
or tput init
.
- infocmp -F
option less verbose.
+ no_color_video
with a logic expression which is faster.
+ manlinks.sed
script introduced in ncurses 5.1
+ to avoid using ERE "\+", which is not understood by standard versions
+ of sed
. This happens to work with GNU sed
,
+ but is not portable, and was the initial motivation for this release.
+
+ tparm()
to disallow arithmetic on strings,
+ analyze the varargs list to read strings as strings and numbers as
+ numbers.
+
+ tparm()
's internal function
+ spop()
to treat a null pointer as an empty string.
+
+ parse_format()
in lib_tparm.c to ignore
+ precision if it is longer than 10000.
+
+ _nc_safe_strcat()
, etc. Made other related changes to
+ check lengths used for strcat()
and
+ strcpy()
.
+ non_dest_scroll_region
in
+ tty_update.c to clear text after it is shifted in rather than before
+ shifting out. Also correct row computation.
+
+ rs2
capability in xterm-r6 and similar entries
+ where cursor save/restore bracketed the sequence for resetting video
+ attributes. The cursor restore would undo that.
+ _nc_utf8_outch()
to avoid sign-extension when
+ checking for out-of-range value.
+ $HOME
environment
+ variable, to avoid retrieving terminfo descriptions from
+ ./.terminfo
.
- _nc_parse_entry()
and
+ postprocess_termcap()
to avoid using
+ strtok()
, because it is non-reentrant.
- fds[]
array to 0's in
+ _nc_timed_wait()
; apparently poll()
only
+ sets the revents
members of that array when there is
+ activity corresponding to the related file.
- wresize()
+ Make_Enum_Type()
.
- -fno-builtin
option.
+ fgets()
in
+ comp_scan.c next_char()
function, in case
+ tic
is run on a non-text file (fixes a core dump).
+
+ tic
to verify that its inputs are really files,
+ in case someone tries to read a directory (or
+ /dev/zero
).
+
+ open_tempfile()
+ in tic.c which made "tic -I" give an ambiguous error message about
+ tmpnam
.
+
+ adjust_cancels()
, which did not check
+ both alternatives when reclassifying an extended name between
+ boolean, number and string, causing an infinite loop in
+ tic
.
+ tic
for parameter counts in
+ capability strings, found/fixed several errors both in the
+ terminfo database and in the include/Caps file.
+ --srcdir
and --with-install-prefix
.
+
+ $GCC
and
+ $GXX
consistently compare against 'yes' rather than
+ test if they are nonnull, since either may be set to the
+ corresponding name of the C or C++ compiler.
+
+ configure --target
+ will set a default program-prefix.
+
+ tcgetattr()
to allow for
+ old implementations, e.g., on BeOS, which only defined it as a
+ macro.
+
+ test
in
+ configure script to use quotes, for instance fixing a problem in the
+ --disable-database
option.
+
+ _nc_tracebits()
for CSIZE
+ with a table to simplify working around implementations that define
+ random combinations of the related macros to zero.
+
+ _nc_basename()
, used to
+ consolidate related code in progs, as well as accommodating OS/2 EMX
+ pathnames.
+
+