he
|
275c432125
|
Make this compile again. Cast char variable to int before comparing
> 0x7f, so that this gives the same result for machines with signed
and unsigned char.
|
2003-03-13 20:49:11 +00:00 |
mjl
|
79ea3ffca9
|
Fix handling of control and non-ascii charachters. Print a space
instead of what happens to be at that position (out of bounds)
in the char array. Prompted by OpenBSD PR/3147.
|
2003-03-13 12:13:43 +00:00 |
mjl
|
15e3b4e9bf
|
Correct handling of empty arguments as reported in OpenBSD PR/3146.
While there use strlcpy instead of strncpy and STDOUT_FILENO instead of 1.
|
2003-03-13 11:57:23 +00:00 |
cgd
|
c2bdafab79
|
use getprogname()
|
2001-02-20 23:51:59 +00:00 |
mjl
|
8f69642d30
|
getopt(3) returns -1 not EOF.
Add usage().
Un-__P and ANSIfy.
|
2000-10-04 19:50:52 +00:00 |
matt
|
fcd0fb118f
|
Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
|
2000-07-03 02:51:12 +00:00 |
sjg
|
023a2d6df4
|
Allow the LPD font to be selected at runtime rather than compile time.
Also added -f fg and -b bg switches to control the fore/back ground
"colors". One can now do inverse :-)
|
2000-05-30 12:03:31 +00:00 |
lukem
|
80baf83f8c
|
WARNSify, fix .Nm usage
|
1997-10-18 12:12:38 +00:00 |
cgd
|
5d58f7faee
|
clean up RCS Ids, etc.
|
1995-04-09 06:00:15 +00:00 |
cgd
|
b83d704e42
|
a /usr/bin/banner clone, written by Simon J. Gerraty
|
1995-04-09 05:53:04 +00:00 |