Commit Graph

29 Commits

Author SHA1 Message Date
agc
eb7c1594f1 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
wiz
472351e13d Use
.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.
2003-04-16 13:34:34 +00:00
wiz
9b1e07f4f6 Add some markup, fix some markup, begin sentences on new lines. 2002-09-26 01:03:02 +00:00
pooka
337a91ae52 fix prototype for t_freent, and sprinkle const where necessary 2002-08-19 10:11:42 +00:00
wiz
67aecfc942 Punctuation nit. 2002-02-20 11:35:21 +00:00
ross
814f296b77 Generate <>& symbolically. 2002-02-07 07:00:09 +00:00
wiz
bed5b7e260 Whitespace nit. 2002-01-15 02:53:28 +00:00
christos
a6265aca19 PR/10266: Jason R. Thorpe: curses programs totally broken.
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-11-02 18:24:20 +00:00
christos
69a55bf430 fix spelling mistake and mention when the t_* functions appeared. 2001-01-05 23:05:08 +00:00
blymn
04a0fa29b3 * Fixed Makefile to proper set includes path
* Added new function t_setinfo to allow setting the termcap info when
  termcap entry found.
2000-05-28 09:58:15 +00:00
blymn
22a94f7041 * Removed variable names from ansi style prototype
* Add -I. to CPPFLAGS
* Added new function t_agetstr which dynamically allocates area buffer.
2000-05-20 13:55:10 +00:00
blymn
fac11bb07f Update man page to document new tgetent behaviour. 2000-05-10 11:13:35 +00:00
blymn
c833debc98 Added new function t_getterm to return the name string of a termcap
entry since the "new" interface hid this information away.
2000-04-19 13:41:28 +00:00
lukem
26df59590e Change third arg of tputs() from void (*)(int)' to int (*)(int)'.
This is in line with the Single UNIX Spec, Solaris, Linux, FreeBSD, ...
1999-10-04 23:16:50 +00:00
blymn
540421553f Added minor tweak to t_getstr, by passing a NULL area pointer the size
of the requested capability will be returned in the limit parameter.
1999-08-17 12:13:24 +00:00
blymn
c04ccf9dbf Updated library minor version and fixed small type glitch (limit is now
size_t not int)
1999-08-16 08:34:33 +00:00
blymn
1bb0398527 Added new interface to termcap that allows the manipulation of multiple
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-08-15 10:59:01 +00:00
simonb
6bf3aa19f9 More trailing white space. 1999-07-02 15:46:05 +00:00
garbled
38c96853cf Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Wheee!
1999-03-22 19:44:33 +00:00
fair
1628920950 Fix man to mdoc conversion mistakes, mostly of the form ^\.[A-Z][A-Z] 1998-04-28 07:19:28 +00:00
perry
312aca536f add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
lukem
22630e700a install <termcap.h> (was from libedit), and use here... 1997-10-13 16:11:41 +00:00
lukem
ecf9b458f4 remove leading 'l' in "-l ltermcap" (should be "-l termcap") 1997-01-06 04:38:41 +00:00
pk
74dedb6ee2 Correct tputs() prototype (PR#2645). 1996-08-03 18:55:40 +00:00
pk
41621edd10 Prototypes (PR#1103). 1995-06-05 19:45:48 +00:00
cgd
41f1c39f00 clean up import, roll forward local fixes, clean up Ids 1995-02-27 10:18:34 +00:00
cgd
8c87352d27 fix from gordon@sneaky.lonestar.org (Gordon Burditt)
Description:
	The second argument of tgetstr() is a char **, not a char *,
	as documented in /usr/share/man/man3/termcap.3.
1993-11-14 08:59:39 +00:00
mycroft
dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00