summaryrefslogtreecommitdiffstats
path: root/usr.bin/vis/foldit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* -F requires at least 5 columns for folding, while a tab at start of line ismartijn2020-08-171-1/+5
| | | | | | | | | | | | 8 columns. This causes an infinite loop in the folding logic. Fix this by implementing an escape hatch so that only a single fold can occur. This does mean that a tab with a -F smaller or equal to 8 will always print the newline escape backslash in the 8th column. Bug reported by phillbush <at> cock <dot> li Minor tweak and OK deraadt@
* clarify a simple expressionderaadt2013-11-121-2/+2
|
* simpler prototype repairsderaadt2013-11-121-4/+4
|
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-8/+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
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* kill more registersmpech2001-11-191-3/+3
| | | | millert@ ok
* rcsidderaadt1996-06-261-1/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+81