summaryrefslogtreecommitdiffstats
path: root/usr.bin/tput/tput.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-4/+5
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* userland reallocarray audit.doug2014-10-081-2/+3
| | | | | | | Replace malloc() and realloc() calls that may have integer overflow in the multiplication of the size argument with reallocarray(). ok deraadt@
* unsigned char cast was on a wrong place.yasuoka2013-11-271-2/+2
| | | | ok okan
* unsigned char for ctypederaadt2013-11-271-3/+5
| | | | ok okan
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-14/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* fix an overflow in the handling of -Sjaredy2004-10-051-9/+9
| | | | ok millert
* Sync with share/misc/license.template and add missing DARPA creditmillert2003-06-171-9/+9
| | | | where applicable.
* mostly ansi cleanup; pval okderaadt2003-06-101-11/+8
|
* Use an ISC-tyle license for all my code; it is simpler and more permissive.millert2003-06-031-28/+13
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-7/+7
|
* correct type on last arg to execl(); nordin@cse.ogi.eduderaadt2001-07-091-3/+3
|
* correct exit value; noted by shinobi@monkey.orgmillert1999-09-121-6/+3
|
* For "tput init" set margins and 8 character tabs, for "tput reset" set marginsmillert1999-07-021-9/+55
|
* Heavily modified to support both terminfo and termcap attributes.millert1999-06-291-130/+254
| | | | | Now links with -lcurses (ncurses), not -locurses. TODO: set tabs/margins for init/reset pseudo-attributes.
* back out changes that should not have escaped my local treemillert1999-03-061-61/+39
|
* add missing reference to infocmpmillert1999-03-061-39/+61
|
* Add #include for string.h to get declaration for strrchr()dgregor1997-06-241-2/+3
|
* Integrate clear into tput itself with silly argv munching.gene1997-03-071-3/+12
|
* getopt(3) returns -1 when out of args, not EOF, whee!millert1997-01-151-3/+3
|
* rcsidderaadt1996-06-261-1/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+238