diff options
author | jlam <jlam@pkgsrc.org> | 2000-01-15 18:39:28 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-01-15 18:39:28 +0000 |
commit | c5d40ff7ecb7e80efb9e81623cf30048c1add72f (patch) | |
tree | 41600964362e85be56e2ca29968fbcfac13b7ebb /devel/ncurses/files | |
parent | 47b4471c9138f5f962c29555f412955e14df5532 (diff) | |
download | pkgsrc-c5d40ff7ecb7e80efb9e81623cf30048c1add72f.tar.gz |
Update ncurses to 5.0. From the release notes:
We decided to release ncurses as a new whole number release (5.0)
because it incorporates several interface changes, including some that
would invalidate existing shared libraries. These are the highlights
from the change-log since ncurses 4.2 release.
Interface changes:
* The principal source of changes to the interface comes from the
release of X/Open Curses in 1997. Earlier versions of ncurses (4.0
and before) were based on a draft version of the specification.
The release version adds parameters to some functions to support
the evolving internationalization of curses. These summarize the
impact:
+ modified several prototypes to correspond with 1997 version
of X/Open Curses (affects ABI since developers have used
attr_get).
+ corrected prototypes for slk_* functions, using chtype rather
than attr_t.
+ the slk_attr_{set,off,on} functions need an additional void*
parameter according to XSI.
+ correct macros for wattr_set, wattr_get, separate wattrset
macro from these to preserve behavior that allows attributes
to be combined with color pair numbers.
+ reviewed/updated curses.h, term.h against X/Open Curses Issue
4 Version 2. This includes making some parameters
NCURSES_CONST rather than const, e.g., in termcap.h.
+ reviewed/corrected macros in curses.h as per XSI document.
+ add set_a_attributes and set_pglen_inch to terminfo
structure, as per XSI and Solaris 2.5.
* The newest version of the X/Open Curses is implemented on Solaris
and other vendor's systems. It adds new features to the terminfo
descriptions:
+ implement tparm %l format.
+ implement tparm printf-style width and precision for %s, %d,
%x, %o as per XSI.
* We made additional changes to reduce impact by future interface
changes:
+ rename key_names[] array to _nc_key_names since it is not
part of the curses interface.
+ move macro winch to a function, to hide details of struct
ldat
* modify configure script to embed ABI in shared libraries for HP-UX
10.x (detailed request by Tim Mooney).
* modify configuration of shared libraries on Digital Unix so that
versioning is embedded in the library, rather than implied by
links (patch by Tim Mooney).
New features:
* enable sigwinch handler by default.
* turn on hashmap scrolling code by default
* improved support for termcap applications
+ modify tput to accept termcap names as an alternative to
terminfo names.
+ provide support for termcap PC variable by copying it from
terminfo data and using it as the padding character in tputs.
+ provide support for termcap ospeed variable by copying it
from the internal cur_term member, and using ospeed as the
baudrate reference for the delay_output and tputs functions.
+ change name-comparisons in lib_termcap to compare no more
than 2 characters.
+ add configure option --enable-tcap-names, which essentially
allows users to define new capabilities as in termcap.
* add mouse support to ncurses menus.
* add mouse and dll support for OS/2 EMX
* modify terminfo parsing to accept octal and hexadecimal constants
* add configure option --enable-no-padding, to allow environment
variable $NCURSES_NO_PADDING to eliminate non-mandatory padding,
thereby making terminal emulators (e.g., for vt100) a little more
efficient.
* modify lib_color.c to eliminate dependency on orig_colors and
orig_pair, since SVr4 curses does not require these either, but
uses them when they are available.
* add -f option to infocmp and tic, which formats the terminfo
if/then/else/endif so that they are readable (with newlines and
tabs).
* modify tic to compile into %'char' form in preference to
%{number}, since that is a little more efficient.
Major bug fixes:
* modify lib_tstp.c to block SIGTTOU when handling SIGTSTP, fixes a
problem where ncurses applications which were run via a shell
script would hang when given a ^Z. Also, check if the terminal's
process group is consistent, i.e., a shell has not taken ownership
of it, before deciding to save the current terminal settings in
the SIGTSTP handler.
* suppress sc/rc capabilities from terminal description if they
appear in smcup/rmcup. This affects only scrolling optimization,
to fix a problem reported by several people with xterm's alternate
screen, though the problem is more general.
* modify relative_move and tputs to avoid an interaction with the
BSD-style padding. The relative_move function could produce a
string to replace on the screen which began with a numeric
character, which was then interpreted by tputs as padding.
* modify setupterm so that cancelled strings are treated the same as
absent strings, cancelled and absent booleans false (does not
affect tic, infocmp).
* modify lib_vidattr.c to allow for terminal types (e.g.,
xterm-color) which may reset all attributes in the 'op'
capability, so that colors are set before turning on bold and
other attributes, but still after turning attributes off.
* use 'access()' to check if ncurses library should be permitted to
open or modify files with fopen/open/link/unlink/remove calls, in
case the calling application is running in setuid mode.
* correction to doupdate, for case where terminal does not support
insert/delete character. The logic did not check that there was a
difference in alignment of changes to old/new screens before
repainting the whole non-blank portion of the line. Modified to
fall through into logic that reduces by the portion which does not
differ.
Diffstat (limited to 'devel/ncurses/files')
-rw-r--r-- | devel/ncurses/files/md5 | 4 | ||||
-rw-r--r-- | devel/ncurses/files/patch-sum | 23 |
2 files changed, 11 insertions, 16 deletions
diff --git a/devel/ncurses/files/md5 b/devel/ncurses/files/md5 index 5f1b6238954..5da17d2c5db 100644 --- a/devel/ncurses/files/md5 +++ b/devel/ncurses/files/md5 @@ -1,3 +1,3 @@ -$NetBSD: md5,v 1.4 1999/07/06 07:51:04 jlam Exp $ +$NetBSD: md5,v 1.5 2000/01/15 18:39:29 jlam Exp $ -MD5 (ncurses-4.2.tar.gz) = 7926ed3ef7090f72c0a45da1f59400bf +MD5 (ncurses-5.0.tar.gz) = 0fa25059bc5e1e947f3109a3a168e976 diff --git a/devel/ncurses/files/patch-sum b/devel/ncurses/files/patch-sum index 37005537826..51b51f167cd 100644 --- a/devel/ncurses/files/patch-sum +++ b/devel/ncurses/files/patch-sum @@ -1,15 +1,10 @@ -$NetBSD: patch-sum,v 1.4 1999/09/24 00:39:13 jlam Exp $ +$NetBSD: patch-sum,v 1.5 2000/01/15 18:39:29 jlam Exp $ -MD5 (patch-aa) = a6827fdf571e7aefa149b94accb44b4a -MD5 (patch-ab) = a6ae37871c4b82f9b6a8af5beaf74352 -MD5 (patch-ac) = 546d83d15d2279277a6c77e754dbb93a -MD5 (patch-ad) = 8f9e20face0c55074e54bf7176252a7d -MD5 (patch-ae) = dad6ffedeff83e83afadeac434fa9972 -MD5 (patch-af) = 0ba3fe9b0477d8685e0f5bc56bad7220 -MD5 (patch-ag) = 5ef845ba624a0c0baef232e4d55b0f1f -MD5 (patch-ah) = e6a3861102bbfc130fb4c2ee35c6e3a2 -MD5 (patch-ai) = 3401ca1e14d53edb6b0d33ac199a7a86 -MD5 (patch-aj) = f357ce3e57468cecd3f4dd3994bcbaf2 -MD5 (patch-ak) = daff9fdb31fa1c1eacdcf21d893ff49b -MD5 (patch-al) = fd24f510fe2e5372142f314493e0fd37 -MD5 (patch-am) = b98afdbc5071a3fb154eba8adf201f2b +MD5 (patch-aa) = 4939ee98209226437b82c811de8979a4 +MD5 (patch-ab) = 954b4610801ccad8c61084bf3559bf5b +MD5 (patch-ac) = 27e6894380f88aa55c860bdb259e334c +MD5 (patch-ad) = e0d8bfb17f84b62290773412ce0633b2 +MD5 (patch-ae) = 5e59f99002985e98baa30cce9dd78c79 +MD5 (patch-af) = 4c16a0e085a0a5ff21ac0745ec1dd37a +MD5 (patch-ag) = 0a0eab3bdd57760a113fc41eda19d44c +MD5 (patch-ah) = a552ff5733c78b485153d6f66a5e0d60 |