summaryrefslogtreecommitdiff
path: root/lib/libcurses
AgeCommit message (Collapse)Author
2002-06-24Properly install links for debug libraries; ok deraadt@Thorsten Lockert
2002-06-22use strtok_rTheo de Raadt
2002-02-18make Booleans signed char, since char is unsigned on powerpc; millert okTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-06mark more signals that I cannot fixTheo de Raadt
2001-07-27stdarg.h, not varargs.hTodd C. Miller
2001-02-28ncurses-5.2-20010224Todd C. Miller
2001-02-25fix enboldening on idcok and immedok in NAME sectionTodd C. Miller
2001-02-25Missing commas in NAME section. Found by an espie script ;-)Todd C. Miller
2001-02-22Make _nc_get_token() take a "silent" argument and only warn if itTodd C. Miller
is not set. Propagate "silent" flag in _nc_parse_entry() to _nc_get_token(). Set the silent flag when reading termcap files, including $TERMCAP.
2001-02-22Update to ncurses-5.2-20010210:Todd C. Miller
o remove macro callPutChar() from tty_update.c, since this is no longer needed (reported by Philippe Blain). o add a null-pointer check in tic.c to handle the case when the input file is really empty. Modify the next_char() function in comp_scan.c to allow arbitrarily long lines, and incidentally supply a newline to files that do not end in a newline. These changes improve tic's recovery from attempts to read binary files, e.g., its output from the terminfo database (reported by Bernhard Rosenkraenzer). o revert change to c++/demo.cc from 20001209, which changed definition of main() apparently to accommodate cygwin linker, but broke the demo program.
2001-02-21#ifdef out the "older tic versions may treat the description fieldTodd C. Miller
as an alias" warning since it hits people with $TERMCAP set when there is no terminfo file present. A better fix would be to make _nc_get_token() take a quiet flag.
2001-01-22Missed changes in ncurses-5.2-20010114 commitTodd C. Miller
2001-01-22Update to ncurses-5.2-20010114Todd C. Miller
2000-12-17data base -> databaseTodd C. Miller
2000-12-06use __x__ formats for __attribute__ arguments; guenther@gac.eduTheo de Raadt
2000-11-08another MLINKTheo de Raadt
2000-10-24Crank major because the type of the "ospeed" variable changed fromTodd C. Miller
speed_t (u_int) to short to match historic termcap usage.
2000-10-22update to ncurses 5.2Todd C. Miller
2000-10-20Don't attempt to free uninitialized variable; guenther@gac.eduTodd C. Miller
2000-10-10Don't ignore $TERMCAP, $TERMINFO, $TERMINFO_DIRS, $TERMPATH, and $HOMETodd C. Miller
if root but not setugid. Fix select usage to deal with an arbitrary number of fd's. This code is not compiled since we use poll(2).
2000-10-09Add check for NUL home that got missed in the last mergeTodd C. Miller
2000-10-08update to ncurses-5.1-20001007Todd C. Miller
2000-10-02Don't call cgetset() on $TERMCAP if setugid. The logic has been reworkedTodd C. Miller
a bit to make it clear what is supposed to happen. Also fix some policy wrt setugid in code we don't actually compile for consistency's sake.
2000-10-02Don't look in ~/.terminfo if setugid. This is consistent with theTodd C. Miller
behavior of checking ~/.terminfo.db and ~/.termcap.db
2000-08-03fix xref: info_mkdb -> cap_mkdb; ok millert@Christian Weisgerber
2000-08-02$HOME paranoia: never use getenv("HOME") w/o checking for NULL and non-zeroTodd C. Miller
2000-07-24Update to ncurses-5.1-20000722Todd C. Miller
2000-07-10ncurses 5.1Todd C. Miller
2000-06-19ncurses-5.0-20000617Todd C. Miller
2000-04-17Move some misplaced periods outside of the parentheses.Aaron Campbell
2000-04-14Check $TERMCAP for a termcap entry even when we are using the system'sTodd C. Miller
getcap(3) routines.
2000-04-04Update to ncurses-5.0-20000401:Todd C. Miller
o change unctrl() to render C1 characters (128-159) as ~@, ~A, etc. o trace() function is provided only if TRACE is defined, e.g., in the debug library. Modify related calls to _tracechar() to use unctrl() instead.
2000-03-29more MLINKSTheo de Raadt
2000-03-26Update to ncurses-5.0-20000325Todd C. Miller
2000-03-13update to ncurses-5.0-20000311Todd C. Miller
2000-03-10Update to ncurses-5.0-20000304Todd C. Miller
2000-02-06ncurses-5.0-20000205Todd C. Miller
2000-01-23Update to ncurses-5.0-20000122Todd C. Miller
2000-01-16Update to ncurses-5.0-20000115:Todd C. Miller
+ additional fixes for non-bce terminals (handling of delete_character) to work when assume_default_colors() is not specified. + modify warning message from _nc_parse_entry() regarding extended capability names to print only if tic/infocmp/toe have the -v flag set, and not at all in ordinary user applications. Otherwise, this warning would be shown for screen's extended capabilities in programs that use the termcap interface. + modify use of _nc_tracing from programs such as tic so their debug level is not in the same range as values set by trace() function. + small panel header cleanup (patch by Juergen Pfeifer).
2000-01-09Update to ncurses-5.0-20000108:Todd C. Miller
+ add prototype for erase() to curses.h + add TRACE_DATABASE flag for trace(). + formatting changes (style)
2000-01-08Enable extended cap names. Previously, the only allowed cap names wereTodd C. Miller
those explicitly listed in term.h. With extended names, non-standard terminfo/termcap capabilities are passed through for those programs that want to use them (screen for instance). This changes struct term and therefor requires a library major increment. It also requires changing how the terminfo.db file is parsed. Previously, it was parsed like: foreach cap (all_possible_caps) if ( is_listed(cap) ) add_cap(cap) However, now that we can't know the set of all possible capabilities we need to convert the buffer we get back from cgetent into one that looks more like a terminfo entry and pass it through to the ncurses terminfo parsing routines. This also enables tic's -x flag.
2000-01-02+ corrected conversion from terminfo rs2 to termcap rs (cf: 980704)Todd C. Miller
+ make conversion to termcap ug (underline glitch) more consistently applied. + modify read_termtype(), fixing 'toe', which could dump core when it found an incomplete entry such as "dumb" because it did not initialize its buffer for _nc_read_file_entry(). + use explicit VALID_NUMERIC() checks in a few places that had been overlooked, and add a check to ensure that init_tabs is nonzero, to avoid divide-by-zero (reported by Todd C Miller).
1999-12-28When reading an entry from terminfo.db, do not try to set a capabilityTodd C. Miller
to be 'not present' since that has already been done for us in _nc_init_entry(). This fixes some core dumps caused by a divide by 0 bug deep within ncurses that resulted from using the old way to specify that a capability was 'not present'.
1999-12-28document ncruses extensionsTodd C. Miller
1999-12-28neglected to update NCURSES_VERSION_PATCHTodd C. Miller
1999-12-28Update to ncurses-19991218Todd C. Miller
o reorder tests during mouse initialization to allow for gpm to run in xterm, or for xterm to be used under OS/2 EMX. Also drop test for $DISPLAY in favor of kmous=\E[M or $TERM containing "xterm" (report by Christian Weisgerber <naddy@mips.rhein-neckar.de>). o modify raw() and noraw() to clear/restore IEXTEN flag which affects stty lnext on systems such as FreeBSD (report by Bruce Evans <bde@zeta.org.au>, via Jason Evans <jasone@canonware.com>). o add manual-page for ncurses extensions, documented curses_version(), use_extended_names().
1999-12-12Update to ncurses-19991211:Todd C. Miller
o treat as untranslatable to termcap those terminfo strings which contain non-decimal formatting, e.g., hexadecimal or octal. o correct commented-out capabilities that cannot be translated to termcap, which did not check if a colon must be escaped. o correct termcap translation for "%>" and "%+", which did not check if a colon must be escaped, for instance. o use save_string/save_char for _nc_captoinfo() to eliminate fixed buffer (originally for _nc_infotocap() in 960301 -TD). o correct expression used for terminfo equivalent of termcap %B, adjust regent100 entry which uses this. o some cleanup and commenting of ad hoc cases in _nc_infotocap(). o eliminate a fixed-buffer in tic, used for translating comments. o add manpage for infotocap.
1999-12-06update to ncurses-5.0-19991204Todd C. Miller
1999-11-28#ifdef BROKEN_LINKER -> #if BROKEN_LINKERTodd C. Miller