summaryrefslogtreecommitdiff
path: root/lib/libtermlib/getterm.c
AgeCommit message (Collapse)Author
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-16othe envariable is COLUMNS, not COLSTodd C. Miller
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-09-03fix buf oflows betterTheo de Raadt
1996-09-03Protect against buffer overflowThorsten Lockert
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-07-22Add support for terminfo.db files; same format as termcap.db but withThorsten Lockert
complete entries.
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-05-31Terminfo emulation library; currently understands only about reading fromThorsten Lockert
termcap database using cgetent(3)