ollow'/>
summaryrefslogtreecommitdiff
path: root/lib/libterm/termcap.3
AgeCommit message (Collapse)Author
2010-02-03Remove termcap as we now use terminfo.roy
OK: core@, jdc@
2009-06-13SuSv2 mandates that tputs should return int instead of void.roy
2009-03-03Bump date for previous.wiz
2009-03-02Only add the ZZ capability for termcap entries that are larger than 1023bad
bytes. This fixes the problem that enabling the titeInhibit Xresource of xterm has no effect, because xterm exports a TERMCAP string without ti/te sequences but doesn't remove the ZZ capability because it doesn't know about it and termcap(3) ignores the stringe because of the ZZ. Discussed with and OK'ed by blymn@.
2006-12-18Update for tgetstr() null areas.kleink
2005-05-15add t_putwschristos
2004-04-23s/the the/the/ (only in sources that aren't regularly imported fromsimonb
elsewhere).
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-04-16Usewiz
.In header.h instead of .Fd #include \*[Lt]header.h\*[Gt] Much easier to read and write, and supported by groff for ages. Okayed by ross.
2002-09-26Add some markup, fix some markup, begin sentences on new lines.wiz
2002-08-19fix prototype for t_freent, and sprinkle const where necessarypooka
2002-02-20Punctuation nit.wiz
2002-02-07Generate <>& symbolically.ross
2002-01-15Whitespace nit.wiz
2001-11-02PR/10266: Jason R. Thorpe: curses programs totally broken.christos
Re-write t_agetstr() so that it does not use realloc so userland programs don't break. We now use an internal buffer to keep track of the memory we allocate. This changes the api of t_agetstr() to take 2 fewer arguments, but there are not many programs that use it. Please note that this does not change binary compatibility with the previous t_agetstr() since the usage was: char *area, *p; *area = NULL; t_agetstr(ti, "ic", &area, &p); ... free(area); Since we don't touch the arguments and free(NULL) is a no-op, nothing breaks. Since we don't break binary compatibility there is no reason to bump the library's major number, but since we change t_agetstr() I'll bump the minor number for good measure.
2001-01-05fix spelling mistake and mention when the t_* functions appeared.christos
2000-05-28* Fixed Makefile to proper set includes pathblymn
* Added new function t_setinfo to allow setting the termcap info when termcap entry found.
2000-05-20* Removed variable names from ansi style prototypeblymn
* Add -I. to CPPFLAGS * Added new function t_agetstr which dynamically allocates area buffer.
2000-05-10Update man page to document new tgetent behaviour.blymn
2000-04-19Added new function t_getterm to return the name string of a termcapblymn
entry since the "new" interface hid this information away.
1999-10-04Change third arg of tputs() from `void (*)(int)' to `int (*)(int)'.lukem
This is in line with the Single UNIX Spec, Solaris, Linux, FreeBSD, ...
1999-08-17Added minor tweak to t_getstr, by passing a NULL area pointer the sizeblymn
of the requested capability will be returned in the limit parameter.
1999-08-16Updated library minor version and fixed small type glitch (limit is nowblymn
size_t not int)
1999-08-15Added new interface to termcap that allows the manipulation of multipleblymn
termcap entries simultaneously and lifts the 1024 byte limit on the termcap entry. The original termcap api is unchanged but also no longer has the 1024 byte limit if the termcap functions are used.
1999-07-02More trailing white space.simonb
1999-03-22Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,garbled
so we shouldn't override it with versions in the manpages. Wheee!
1998-04-28Fix man to mdoc conversion mistakes, mostly of the form ^\.[A-Z][A-Z]fair
1998-02-05add LIBRARY section to man pageperry
1997-10-13install <termcap.h> (was from libedit), and use here...lukem