summaryrefslogtreecommitdiff
path: root/lib/libtermlib
AgeCommit message (Collapse)Author
1998-06-21Remove the advertising clause in my old license, it impedes free useTodd C. Miller
of the code as a large number of similar clauses makes it impossible to write an ad for a product using the code...
1998-01-17-WallTodd C. Miller
1998-01-17Add _ti_get_screensize(), like ncurses's _nc_get_screensize()Todd C. Miller
Crank major number since libcurses will depend on this.
1997-12-16In tgetstr(), check that the copyout parameter is not NULL or a pointerTodd C. Miller
to a NULL as required by XPG4.2.
1997-12-16tparm() now returns NULL for buffers that would be >= 256 (termcapTodd C. Miller
size limit). Also, make _tparm take a size argument. This isn't strictly necesary as we know the size of the buffer and this function is only used internally but this has the added benefit of making _tparm == GNU tparam if we ever want to export it as such. There are reported to be problems with emacs when native libtermlib has tparam() so we keep this private for now.
1997-12-16othe envariable is COLUMNS, not COLSTodd C. Miller
1997-12-09Minor mdoc cleanup.Todd C. Miller
1997-12-09Make reset_prog_mode() and reset_shell_mode() in libtermlib weakTodd C. Miller
symbols so that they get overridden by the ones in libcurses. This is rather gross but the curses versions are tightly coupled to naughty bits private to libcurses. This allows reset_prog_mode() and reset_shell_mode() to operate properly both with an without libcurses linked in.
1997-11-29We don't implement the GNU extension tparam(). It is #ifdef'd outTodd C. Miller
in ncurses to avoid problems with emacs.
1997-11-29Add MLINKSTodd C. Miller
1997-11-29Based on the ncurses curs_terminfo.3x file. Still needs some work.Todd C. Miller
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-04-27COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIPTodd C. Miller
This fixes namespace problems where STRIP is sometimes used as the name of the strip(1) to use and other times used as the flag to send install(1) when stripping (or not). COPY doesn't have this problem (yet) but was poorly named.
1997-03-28Don't allow buffer overflowsThorsten Lockert
1997-01-05HOSTCC; from rahndsTheo de Raadt
1996-12-16strncat botchesTheo de Raadt
1996-12-14Use size_t more placesThorsten Lockert
1996-12-09Be smarter about running tgetent() multiple times; bump major as we haveThorsten Lockert
a binary incompatibility
1996-12-08install -> ${INSTALL}, -c -> ${COPY}Jason Downs
1996-10-12Make mvcur() a weak symbol where supportedThorsten Lockert
1996-09-21Need to include <term.h> here when no weak symbols.Thorsten Lockert
1996-09-21Make it compile without weak symbolsThorsten Lockert
1996-09-21Make vidattr() and vidputs() weak bindings, avoids problems with linking toThorsten Lockert
the curses library on some platforms (and the curses library has more complete implementation of them).
1996-09-16Fix some warningsThorsten Lockert
1996-09-03fix buf oflows betterTheo de Raadt
1996-09-03Protect against buffer overflowThorsten Lockert
1996-08-31Fix thinko in last changeThorsten Lockert
1996-08-31Avoid crashing when buggy applications check for capabilities withoutThorsten Lockert
setting up terminal description first
1996-08-31Fix a typo; change a comment to reflect realityThorsten Lockert
1996-08-27Ensure strings are NUL terminated after strncpyThorsten Lockert
1996-08-07If the user have a TERMCAP variable with a full terminal description in it,Thorsten Lockert
prefer that to terminfo database
1996-08-07Fix think-o in last change; cost padding now worksThorsten Lockert
1996-08-02Get padding output correctThorsten Lockert
1996-07-22Add support for terminfo.db files; same format as termcap.db but withThorsten Lockert
complete entries.
1996-07-20Correct return valueThorsten Lockert
Store attributes so comparing with them works when attributes change
1996-07-13We are not neccecarily running with curses; if we are we won't use thisThorsten Lockert
mvcur() implementation at all; if we are not we need our own rawmode() implementation.
1996-06-21When truncating to long termcap entries, don't leave partial capabilitiesThorsten Lockert
at the end of the capability string
1996-06-21WHen called with a buffer (throug tgetent(3)), never type to copy more thanThorsten Lockert
1023 bytes into the passed buffer. Always make sure the buffer is NUL- terminated after copying a terminal description entry into it as well.
1996-06-18Fix off by one error when setting up ttytype[]Thorsten Lockert
1996-06-18Also emulate old ttytype[] behaviour. Strip off any obsolete 2-characterThorsten Lockert
terminal type found at the head of the name list before saving the list.
1996-06-16tparm() takes the args in the opposite order from tgoto() when usingThorsten Lockert
terminfo style capabilities
1996-06-02Some format strings were not handled entirely right, fixed.Thorsten Lockert
Remove unused argument to internal _tparm
1996-06-02Fix minor problem in translation of termcap capabilities into terminfoThorsten Lockert
1996-06-02setupterm() should return 1 for success, not OKThorsten Lockert
1996-05-31Terminfo emulation library; currently understands only about reading fromThorsten Lockert
termcap database using cgetent(3)