Commit Graph

29 Commits

Author SHA1 Message Date
abhinav dcf78ec2af Add a FILES section and add references to terminfo(3), terminfo(5) in SEE ALSO.
Ok by wiz
2016-06-24 12:03:22 +00:00
abhinav 8dc887f792 Make all the global variables and functions static.
While there, remove unused variables and function prototypes.
Ok from christos
2016-06-23 03:58:13 +00:00
abhinav 762c2184ca Make the function static in the definition (prototype was already declared static).
Missed in my last commit.
2016-06-13 14:58:57 +00:00
abhinav 736d303b6e Add libutil to the DPADD variable. 2016-06-12 14:28:26 +00:00
abhinav 89e188185f Fix a buffer overflow when reading from files containing extra long lines.
Instead of using a statically allocated buffer, manage the buffer at run-time
and reallocate as needed.

It was dumping core for following two cases:
man evrpc | ul
man xdm | ul

While there, also remove __P macro from function prototypes.

Ok from Christos.
2016-06-12 13:29:29 +00:00
roy 258cf0abec Add capfile(5) to describe the termcap format.
Adjust various man pages and other documentation to point to capfile(5)
instead of termcap(5).
Remove getcap(3) as curses hasn't been building it for a long time.
Punt wrterm.c as tset no longer uses it.
2012-04-21 12:27:24 +00:00
matt d34c2845b8 Use C89 function definitions 2012-03-20 20:34:57 +00:00
roy 98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
lukem f76ec3edcf Fix -Wcast-qual issues 2009-04-14 05:46:25 +00:00
lukem 98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
wiz 1c9dacf400 Sort sections. 2001-12-08 19:19:41 +00:00
christos 1703d1eee6 Update to the new t_agetstr() API. 2001-11-02 18:27:00 +00:00
wiz d4dde9f188 Add section to xref. Sort SEE ALSO. Lowercase nroff in xref. Fix
reference to setenv.
2001-04-04 09:49:35 +00:00
blymn 717e8dad36 Use new termcap interface. 2000-05-28 10:27:13 +00:00
simonb d88dfea295 Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
lukem 88d3d7c59e update after change to return value of tputs() third argument 1999-10-04 23:26:59 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
christos 23933685ff braces 1998-12-19 23:21:24 +00:00
lukem 92e718980b remove WARNS=0 1997-10-20 02:09:46 +00:00
lukem 69ac758a21 WARNSify, fix .Nm usage, getopt returns -1 not EOF, use ANSI <string.h> funcs 1997-10-20 02:08:29 +00:00
lukem 2122942c25 WARNSify, use <termcap.h>, rename setmode() to setulmode() to prevent nameclash 1997-10-14 01:40:20 +00:00
mikel a41241b92a /etc/termcap -> /usr/share/misc/termcap. Fixes misc/1401. 1996-11-12 07:50:11 +00:00
jtc db5284ed0a merge in changes from 1.1 release branch 1995-11-28 20:58:08 +00:00
jtc 7a51c22113 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-07 00:28:21 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 75ff3a90bd Add RCS identifiers. 1993-07-30 23:49:23 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00