Commit Graph

26 Commits

Author SHA1 Message Date
brooks
eff99d7356 Replace our (un)vis(1) commands with implementations from NetBSD to
match our import of the (un)vis(3) APIs.

This adds support for multibyte encoding and the -h and -m flags which
support HTTP and MIME encoding respectively.

PR:		bin/175418
Obtained from:	NetBSD
2013-03-15 00:05:50 +00:00
ed
66190ef17d Add missing static keywords to vis(1) 2011-11-06 08:18:42 +00:00
joel
29af67e52c Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with:	imp, rwatson
2010-12-11 08:32:16 +00:00
delphij
9106a674a7 Use ANSI prototype for foldit(). 2009-12-13 04:14:55 +00:00
delphij
0842b7d53f Revert most part of 200420 as requested, as more review and polish is
needed.
2009-12-13 03:14:06 +00:00
delphij
b963db4652 Remove unneeded header includes from usr.bin/ except contributed code.
Tested with:	make universe
2009-12-11 23:35:38 +00:00
ru
46c72e9240 Nits. 2006-12-23 19:15:39 +00:00
ru
1541af42f1 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ru
5cba13498c Nit. 2004-07-02 22:25:40 +00:00
ru
fb1d8b3724 Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
tjr
0660990c44 Copy the warning about incorrect multibyte character handling from vis(3). 2004-06-24 16:08:02 +00:00
dwmalone
b4339b74ad ANSIify function definitions.
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.

Reviewed by:	md5
2002-09-04 23:29:10 +00:00
charnier
ad8a79e6a5 Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
imp
0b20191705 remove __P 2002-03-22 01:42:45 +00:00
markm
b4090206eb WARNS=2 fix, add externs.h to centralise external prototypes,
use __FBSDID(), kill register keyword.
2001-12-11 23:02:44 +00:00
dwmalone
2d98aab133 Some warns cleanups - I think this is still not warns clean on the alpha. 2001-12-03 21:40:07 +00:00
ru
36f138439b mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nik
6578739ddb Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:24:20 +00:00
charnier
bfcfa0d6a6 Use err(3). Add usage() and prototypes. 1997-08-25 06:37:37 +00:00
max
badcdaac83 Typo.
PR:		3385
Submitted by:	Josh Gilliam <soil@quick.net>
1997-04-25 20:47:15 +00:00
imp
141381e1cb compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
wollman
3d45bf42be Fix an itinerant cross-reference. 1996-07-25 18:11:30 +00:00
ache
2d15e6d04b Add setlocale LC_CTYPE 1995-10-26 22:26:15 +00:00
rgrimes
a14d555c87 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00