summaryrefslogtreecommitdiff
path: root/lib/libcurses/tinfo
AgeCommit message (Collapse)Author
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-10-22update to ncurses 5.2Todd C. Miller
2000-10-20Don't attempt to free uninitialized variable; guenther@gac.eduTodd C. Miller
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-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-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-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-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-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
1999-11-28update to ncurses-5.0-19991127Todd C. Miller
1999-08-22ncurses-5.0-990821Todd C. Miller
1999-08-15Update to ncurses-5.0-990814Todd C. Miller
1999-07-11ncurses-990710:Todd C. Miller
Correct logic in write_entry from split-out of home_terminfo in 980919, which prevented update of $HOME/.terminfo
1999-07-04ncurses-5.0-990703 -- better support for mixing termcap and terminfo/curses ↵Todd C. Miller
routines
1999-06-27ncurses-5.0-990626Todd C. Miller
1999-06-14ncurses-5.0-990612Todd C. Miller
1999-06-06ncurses-4.2-990605Todd C. Miller
1999-05-13dividing by zero is bad++, patch sent to millert@ for forwarding to curses pplAaron Campbell
1999-05-08ncurses-4.2-990424Todd C. Miller
1999-03-15ncurses-4.2-990314Todd C. Miller
1999-03-11ncurses-4.2-990307Todd C. Miller
1999-03-02ncurses-4.2-990301Todd C. Miller
1999-02-24ncurses-4.2-990220; this is a pre-release of 5.0Todd C. Miller
1999-02-24ncurses-990213Todd C. Miller
1999-02-01Bracket protos for _nc_read_bsd_terminfo_entry and _nc_read_bsd_terminfo_fileTodd C. Miller
with #ifdef __OpenBSD__ to make it obvious they are OpenBSD extensions. Update copyright years in tinfo/read_bsd_terminfo.c.
1999-01-31ncurses-4.2-990130Todd C. Miller
1999-01-24ncurses-4.2-990123Todd C. Miller
1999-01-23make _nc_read_file_entry() look in terminfo.db too. Makes the -A and -B ↵Todd C. Miller
flags of infocmp more useful.
1999-01-22Move call to _nc_read_bsd_terminfo_entry() to _nc_read_entry() so readingTodd C. Miller
terminfo.db is transparent. This requires us to be able to tell which of the entries in pathvec held the terminfo entry. To make that work we only pass one pathname to cgetent(3) at a time. This might be a slight performance hit but should not be noticable in normal use.