Home | History | Annotate | Download | only in libcurses
History log of /src/lib/libcurses/scanw.c
RevisionDateAuthorComments
 1.24  23-Dec-2024  blymn Sprinkle about some cycle wasting checks for the win pointer being
null. Unfortunately, ncurses does this and there is some sloppy code
out there that relies on the check resulting in segfaults in
NetBSD curses which then, of course, gets blamed for the error.
 1.23  30-Jun-2019  blymn branches: 1.23.12;
Fix return for mvscanw to return ERR/OK instead of the number of
elements scanned, now matches SUSv2 specification

Bump lib major due to return change.
 1.22  06-Jan-2017  roy branches: 1.22.14;
KNF.
Normalise coding style.
White space police.
Sprinkle some extra braces to make the flow more clear.

No functional changes.
 1.21  17-Jul-2011  joerg branches: 1.21.24;
Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.20  07-Jul-2009  joerg Add vw_printw and vw_scanw as mandated by SUSv2's xcurses. Follow
ncurses and just make the historic vwprintw and vwscanw functions
aliases, ignoring that they should take a varargs.h va_list argument.
 1.19  29-May-2007  blymn Fix some compiler warnings.
Remove shadowed variable declarations when DEBUG is defined.
 1.18  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.17  26-Jun-2002  christos PR/17352: David Laight: Curses core-dumps on windows > 1024 wide.
 1.16  26-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.15  30-Dec-2000  martin va_list -> _BSD_VA_LIST_ to be consistent with prototype
(doesn't compile on sparc64 otherwise)
 1.14  15-Apr-2000  blymn Added functions to replace what were previously macros in curses.h
(this is a requirement of SUSv2) - the old macro behaviour can be
restored by defining _CURSES_USE_MACROS.
Changed function prototypes to use ANSI style.
All externally visible functions now have ANSI style declarations.
 1.13  14-Apr-2000  simonb Don't wrap declarations of mvwprintw & mvwscanw.
 1.12  13-Apr-2000  jdc Restore const after the Open Group decided it was OK.
Thanks due to Brett Lymn.
 1.11  11-Apr-2000  blymn Made data structures opaque
 1.10  13-Apr-1999  mrg branches: 1.10.6;
Upgrades the standard NetBSD curses library to provide some
of the SYSV curses facilities. The added features are the collapsing
of arrow and function keysequences (as defined by termcap for the
terminal) into symbolic code returns thus relieving the application of
recognising multi-character key sequences. Other features are the
capability to perform a timed wait for a key (good for when you are
not sure if there is a keypress ready or not) and the capability for
turning off the inter-key timeout when assembling multi-character
function keys.

this work was done by Julian Coleman <J.D.Coleman@newcastle.ac.uk>
and blymn@baea.com.au (Brett Lymn). i'm just integrating it. thanks
HEAPS guys!
 1.9  03-Feb-1998  perry remove obsolete register declarations
 1.8  22-Jul-1997  mikel RCSid police, fix warnings
 1.7  17-Aug-1994  cgd branches: 1.7.2;
clean up import
 1.6  24-Jan-1994  cgd changes from branch
 1.5  09-Nov-1993  cgd repeat after me: "I hate rcs ids"
 1.4  09-Nov-1993  cgd branches: 1.4.2;
update to new version from berkeley. doesn't compile yet, nor
does it have rcsid's. this is for diffs.
 1.3  07-Aug-1993  mycroft New version from uunet.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  17-Aug-1994  cgd new libcurses, from new nvi
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.4.2.1  24-Jan-1994  cgd minor fixups
 1.7.2.2  17-Aug-1994  cgd clean up import
 1.7.2.1  17-Aug-1994  cgd file scanw.c was added on branch netbsd-1-0 on 1994-08-17 21:52:43 +0000
 1.10.6.1  09-Jan-2000  jdc Changes to make libcurses SUS v2 compatible.
 1.21.24.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.22.14.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.23.12.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed