Commit Graph

1931 Commits

Author SHA1 Message Date
steve
c61e376617 #include <unistd.h> for getopt(3) call. 1997-08-07 21:47:31 +00:00
charnier
2996a416cc Use err(3), so eliminate use of `argv0'. 1997-08-07 06:50:02 +00:00
charnier
c20801fff5 Use err(3) instead of local definition.
Cosmetic in man page: do not start describing a flag with `The option -X ..'.
1997-08-07 06:46:45 +00:00
charnier
c1ea49e6b1 Use err(3). Add usage(). Rewrote man page in mdoc format. 1997-08-07 06:42:37 +00:00
charnier
f80921726b Use err(3), cosmetic in usage(). 1997-08-06 06:49:06 +00:00
charnier
4dfc83bbfa Use err(3), cosmetic in usage(), remove `cmdname'. 1997-08-06 06:47:41 +00:00
ache
fbd1e32f91 Add -t option which turns T/TCP off as workaround for some broken servers
Submitted by: Marc Slemko <marcs@znep.com>
1997-08-05 20:18:39 +00:00
charnier
b064615bee Use err(3). Document -l flag.
Obtained from: OpenBSD
1997-08-05 06:46:46 +00:00
charnier
828df579fb Document that multiple args are allowed, i.e Ar file -> Ar file ... 1997-08-05 06:44:28 +00:00
charnier
86e0f07edd Use err(3). Add usage() and prototypes. 1997-08-05 06:42:48 +00:00
charnier
cb98d74e8d Cosmetic in usage string. 1997-08-05 06:41:26 +00:00
asami
96aaabc320 Remove bogus malloc() decl. 1997-08-05 03:40:04 +00:00
charnier
ba2544a6f0 Use err(3). Use #include "" instead of <> for local headers. 1997-08-04 06:48:25 +00:00
charnier
e7d0804666 Use err(3). Cosmetic in usage string. Typo in man page. 1997-08-04 06:45:11 +00:00
charnier
a42c5ad2d7 Correct Synopsys section. 1997-08-04 06:42:51 +00:00
charnier
cbad2a9a3c environmental -> environment. 1997-08-04 06:40:41 +00:00
charnier
ae524091d6 Cosmetic and typos. 1997-08-04 06:39:19 +00:00
wollman
b3575f9ae8 Document the bogus standard requirement of delaying the close.
Also include a reference to the FINGER RFC.
1997-08-01 20:26:47 +00:00
wollman
9233cdeb45 So somebody actually found language in the FINGER RFC which requires
implementations to leave the client side open until the server closes.
While this is totally idiotic, it seems as if some servers actually require
it (e.g., the one at mit.mit.edu).  So, we bow to the weight of the bogus
standard and disable the initial close.  Hopefully now fetch(1) can serve
the role of T/TCP demonstration application.
1997-08-01 20:10:44 +00:00
charnier
491754a358 Use err(3). Add prototypes. Silent -Wall. 1997-07-31 06:59:26 +00:00
charnier
9aa2e32f16 Cosmetic in usage string and err() messages. 1997-07-31 06:57:47 +00:00
charnier
7364d57a33 Use err(3). 1997-07-31 06:54:45 +00:00
charnier
7714fda3a9 Use err(3). Add missing flags in usage string. 1997-07-31 06:53:36 +00:00
wpaul
e0aba351e5 Modify passwd and chpass to use new AF_LOCAL RPC interface instead of
old kludged-up 'yppasswd_comm' support.
1997-07-29 15:45:36 +00:00
charnier
7711e701aa Add usage(), use err(3).
Rewrote man page in mdoc format.
1997-07-29 06:54:16 +00:00
charnier
e97a8f1bb5 Remove prog, unused variables.
Cosmetic in usage string.
1997-07-29 06:51:41 +00:00
charnier
ffd60e72c2 Use err(3) instead of local redefinition. 1997-07-29 06:49:16 +00:00
charnier
4255455054 Use err(3).
sprintf -> snprintf from OpenBSD.
Add usage(), prototypes.
Use MAXPATHLEN instead of 128 from OpenBSD.
Obtained from: OpenBSD
1997-07-29 06:47:18 +00:00
charnier
fd6672a69f Add usage(). 1997-07-29 06:42:33 +00:00
charnier
d22bd4cd5e Cosmetic in usage string. 1997-07-28 07:01:02 +00:00
wollman
4f60b2e680 Work around a brokenness in the HTTP spec by generating the Host header
for ftp: URLs as well.  This can't possibly be done in the general case,
but since we only claim to support http and ftp, we'll adhere to the
bogus requirement (RFC 2068, s. 14.25) anyway...  >sigh<

Submitted by: =?iso-8859-1?Q?=C5ge_R=F8bekk?= <aagero@aage.priv.no>
1997-07-26 20:18:43 +00:00
wollman
183f1f7031 Fix the error message for when mirroring and restarting are rejected
due to the output not being a regular file.  Also split the error message
in any error case here to be on two lines to lessen the likelihood of it
being too long to fit on just one.
1997-07-26 20:00:05 +00:00
wollman
989de48b81 Implement HTTP 1.1's ``chunked'' Transfer-Encoding (ick). This hasn't
been extensively tested, but I now can successfully retrieve
<http://www.apache.org/index.html>, so I guess that's a victory of some
sort.

Also move the initialization of ``autherror'' to hopefully eliminate
the reported loop involving authentication.  Still need to implement
MD5 digest authentication.
1997-07-26 19:25:56 +00:00
wollman
021417e0de Provide a new `-b' flag to work around some broken HTTP/TCP implementations
that can't deal with a half-closed connection.
1997-07-25 19:35:44 +00:00
charnier
572da9743b Use err(3), add usage(), silent -Wall. 1997-07-24 07:05:02 +00:00
charnier
87d786e314 Add includes and prototype. 1997-07-24 07:02:55 +00:00
charnier
d2463fce84 .Nm mkdep -> .Nm. 1997-07-24 07:01:18 +00:00
charnier
49ace60aee Add usage(). 1997-07-24 07:00:17 +00:00
charnier
f61512bf13 Use err(3). Cosmetic in usage string. 1997-07-24 06:58:08 +00:00
charnier
2df2878db2 Use err(3). 1997-07-24 06:56:33 +00:00
charnier
4c63237bb0 Use err(3) instead of local redefinition. Remove progname. 1997-07-23 06:50:06 +00:00
charnier
5553dde7e9 Typo. 1997-07-23 06:48:01 +00:00
charnier
d3106d444a Use err(3) instead of local redefinition. 1997-07-23 06:46:10 +00:00
charnier
f14112b4c1 = -> ==, strcpy -> strncpy from OpenBSD.
update man page. Add usage().
Obtained from: OpenBSD
1997-07-22 07:39:43 +00:00
charnier
651e4c7782 Use err(3). 1997-07-22 07:33:48 +00:00
charnier
d2c83baea4 lockf: usage : lockf -> usage: lockf by using fprintf instead of errx. 1997-07-22 07:32:23 +00:00
wosch
f380543fc8 Add ref to idprio(1). 1997-07-21 23:05:06 +00:00
bde
f501609a9b Added top.1 to CLEANFILES. 1997-07-21 16:06:00 +00:00
charnier
8df0f01f58 Use err(3). Add usage(). 1997-07-21 12:09:34 +00:00
charnier
f85d3627d4 Use err(3). Use .Pa macro for filenames in man page. 1997-07-21 12:08:14 +00:00
charnier
197677263f Cosmetic in usage string. Typos in man page. 1997-07-21 12:06:18 +00:00
charnier
12747632ef Check fgets' return value, silent -Wall.
Obtained from: OpenBSD
1997-07-21 12:04:31 +00:00
charnier
6fc33a9dac Cosmetic in usage string. 1997-07-21 12:01:47 +00:00
jfieber
dd12b6c2e5 Remove SGML tools from -current. 1997-07-19 15:19:08 +00:00
wosch
2eae819025 A not initialized variable forced malloc to abort if the user
press ^Z (undelete line).

Detected by: /etc/malloc.conf -> AJ
1997-07-18 13:51:54 +00:00
charnier
7cb730f7e3 Use err(3) instead of local redefintion. Add usage() as a separate
function. Rewrote man page in mdoc format.
1997-07-18 06:43:15 +00:00
charnier
41ee770120 Use err(3). Mdoc'ify man page. 1997-07-18 06:40:46 +00:00
charnier
2865fd3c1b Cosmetic in usage string. 1997-07-17 06:45:22 +00:00
charnier
4ec9a9279f Mdoc'ify man page. 1997-07-17 06:44:11 +00:00
charnier
e2ee52463e Use err(3). Mdoc'ify man page. 1997-07-17 06:42:26 +00:00
davidn
d4fc811b59 Fix typos.
PR:		4101
Submitted by:	Horikawa Kazuo <k-horik@mail.yk.rim.or.jp>
1997-07-16 11:35:18 +00:00
charnier
9b1c747b1b Rewrote man page in mdoc format. 1997-07-16 06:52:13 +00:00
charnier
97c57a650f Use err(3). Rewrote man page in mdoc format. 1997-07-16 06:51:12 +00:00
charnier
7eee0066ae Use err(3). Correct incomplete man page. 1997-07-16 06:49:49 +00:00
charnier
922557a4f6 Use err(3) instead of local redefinition. Add usage(). 1997-07-15 09:59:30 +00:00
charnier
58b419d0c3 Cosmetic in usage string. 1997-07-15 09:57:28 +00:00
charnier
783e86e99e Add rcsid, Remove unused vars. 1997-07-15 09:55:59 +00:00
charnier
59438faa4f Add rcsid. Cosmetic in usage string. Typo in man page. 1997-07-15 09:54:34 +00:00
charnier
bc62cc22d4 Use err(3) instead of local redefinition. Add usage(). 1997-07-15 09:50:59 +00:00
charnier
793ad1484d Use err(3) instead of local redefinition. Silent -Wall. 1997-07-15 09:48:49 +00:00
charnier
f673b0ac7c Revert to original style. 1997-07-15 08:04:40 +00:00
peter
18d0d6f155 Hack to work around the large username field... scan for the largest
username present on the system at startup and use that for the field width.
It's not ideal but (I think) better than it was before.  The width is
limited to within 8..16.
1997-07-14 09:06:46 +00:00
bde
20aa44a88c 32-bit counters aren't large enough for 100+MHz clocks. Use 64-bit
counters.  `4' in GPROF4 and gprof4 now means 8.  gprof4 needs to be
recompiled to match the kernel.
1997-07-13 16:38:39 +00:00
peter
486333fcfd kill the undead 1997-07-13 14:26:00 +00:00
guido
9b98d67c6f Remove -I/sys 1997-07-13 11:51:42 +00:00
bde
112cf7fc76 The m4 doc sources aren't in Lite* or FreeBSD, and Lite2 removed this
unused Makefile.
1997-07-13 07:58:56 +00:00
peter
a6c3d5ca85 Add an alias for master.passwd -> master.passwd.byname to the list
of convenience map aliases.
1997-07-12 14:34:26 +00:00
peter
4787e78f21 Dynamically adapt to smp mode at runtime. This stops the cpu column
appearing on uniprocessor systems since the smp->current merge.
1997-07-12 10:51:54 +00:00
charnier
4320b92868 Setting eval to 1 after calling warn was the original behaviour. 1997-07-11 06:13:18 +00:00
charnier
aad076cc73 Fix typo I introduced during last commit. 1997-07-11 06:11:35 +00:00
jdp
b55cfe9f16 Fix breakage induced by read-only copyright string.
Submitted by:	Chris Timmons <skynyrd@opus.cts.cwu.edu>
1997-07-11 02:08:56 +00:00
charnier
c4ced555e1 Use err(3) instead of local redefinition, incorporate `hd' in usage str. 1997-07-10 06:48:24 +00:00
charnier
6ebe32537f Use err(3) instead of local redefinition. 1997-07-10 06:46:13 +00:00
charnier
3e5d2f9ca5 Use err(3). 1997-07-10 06:45:02 +00:00
charnier
fecd0ac4cd Add usage(), use err(3). 1997-07-10 06:43:41 +00:00
charnier
4765108b7f Typo. 1997-07-10 06:41:33 +00:00
charnier
a905367e59 Use err(3), remove unused variables. 1997-07-08 11:05:59 +00:00
charnier
0b74b1044e Use err(3) instead of local redefinition. 1997-07-08 11:04:19 +00:00
charnier
47dc77937c Use err(3). 1997-07-08 11:02:48 +00:00
charnier
c82bc63df1 Use err(3). Add prototypes. 1997-07-08 11:01:35 +00:00
charnier
3354e4d90e Add usage(), use err(3). 1997-07-08 10:59:50 +00:00
bde
08b8316452 This commit was generated by cvs2svn to compensate for changes in r27241,
which included commits to RCS files with non-trunk default branches.
1997-07-06 06:54:14 +00:00
bde
4d7f45e259 Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,
pascal and vmstat.sparc.  All changed files on the vendor branch should
already have been imported.
1997-07-06 06:54:14 +00:00
bde
ebe9ad428e Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,
pascal and vmstat.sparc.  All changed files on the vendor branch should
already have been imported.
1997-07-06 06:54:14 +00:00
bde
c1c1220cb1 Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,
pascal and vmstat.sparc.  All changed files on the vendor branch should
already have been imported.
1997-07-06 06:54:14 +00:00
bde
e9b5b21c35 Import from Lite2 again to fix up mis-importing of Lite2's bdes.
This leaves a bogus rev.1.1.1.2.
1997-07-06 06:27:25 +00:00
bde
050dfa22f8 Removed mis-imported files. 1997-07-06 06:15:35 +00:00
bde
b384805a36 Import Lite2's src/usr.bin/bdes. This was too hard to check at home
since bdes is not on the export cdrom.
1997-07-06 06:06:57 +00:00
bde
3d45709a10 This commit was generated by cvs2svn to compensate for changes in r27237,
which included commits to RCS files with non-trunk default branches.
1997-07-06 06:06:57 +00:00
bde
fc4d399f76 Import Lite2's src/usr.bin/bdes. This was too hard to check at home
since bdes is not on the export cdrom.
1997-07-06 06:06:57 +00:00
bde
1f76f6ead5 Import Lite2's src/usr.bin/tn3270. mset/3270.5 is still on the vendor
branch and importing it just changes the formatting.
1997-07-06 05:25:43 +00:00
bde
8436cb1352 This commit was generated by cvs2svn to compensate for changes in r27235,
which included commits to RCS files with non-trunk default branches.
1997-07-06 05:25:43 +00:00
bde
3f0aace088 Import Lite2's src/usr.bin/telnet. The README is still on the vendor
branch and importing it gives some anachronisms.  tn3270.c is still on
the vendor branch and importing it just changes a memcpy to memmove.
1997-07-06 05:14:28 +00:00
bde
390b1c941e This commit was generated by cvs2svn to compensate for changes in r27233,
which included commits to RCS files with non-trunk default branches.
1997-07-06 05:14:28 +00:00
bde
f7ce8e6d24 Merge from Lite2 (print "??" instead NULL if devname() fails). More
faithful stealing from pstat would have given this already.
1997-07-06 04:37:22 +00:00
bde
a7e4624113 Importing Lite2 broke lookup() to return -1 for the nmatches == 0 case.
Fixed.
1997-07-06 04:13:20 +00:00
bde
8e49bc41a2 Import Lite2's src/usr.bin/systat. cmds.c is still on the vendor branch
and this import just breaks it.
1997-07-06 04:02:30 +00:00
bde
71773196f6 This commit was generated by cvs2svn to compensate for changes in r27229,
which included commits to RCS files with non-trunk default branches.
1997-07-06 04:02:30 +00:00
bde
aed802936a Import Lite2's src/usr.bin/leave. The man page is still on the vendor
branch and this import just makes a cosmetic change.
1997-07-06 03:45:58 +00:00
bde
7ecaf287d1 This commit was generated by cvs2svn to compensate for changes in r27227,
which included commits to RCS files with non-trunk default branches.
1997-07-06 03:45:58 +00:00
bde
5deeab0f5c Merge from Lite2 (reject widths <= 0 instead of pretending that they are 80). 1997-07-06 03:39:37 +00:00
bde
c986b01159 Import Lite2's src/usr.bin/banner. The man page is still on the vendor
branch and this import converts it to mdoc format.
1997-07-06 03:28:40 +00:00
bde
c51869ac71 This commit was generated by cvs2svn to compensate for changes in r27224,
which included commits to RCS files with non-trunk default branches.
1997-07-06 03:28:40 +00:00
bde
c3956c3fb1 Default to cksum' instead of to sum' for unusual program names.
Mention `sum' in the usage message.
1997-07-06 03:18:13 +00:00
bde
1576c35fbe Merge from Lite2 (make the command sum' an alias for cksum -o 1', and
reject -o args other than "1" or "2").
1997-07-06 03:03:10 +00:00
bde
a8de850f7b Import Lite2's src/usr.bin/cksum. The Makefile is still on the vendor
branch and will temporarily give bogus hard links cksum[.1] -> sum[.1].
1997-07-06 02:22:28 +00:00
bde
31a3731a3f This commit was generated by cvs2svn to compensate for changes in r27219,
which included commits to RCS files with non-trunk default branches.
1997-07-06 02:22:28 +00:00
peter
fbd9d6ffad .if exists(../eBones) tests the obj dir, not the source dir's existance.
The existance of a stale obj dir does not imply the source too.
1997-07-05 14:22:15 +00:00
charnier
e800470198 Add rcsid, prototypes. Use err(3). 1997-07-03 07:19:46 +00:00
charnier
4f0a8d27ea Add rcsid, usage(). Silent -Wall. Use warn(3). 1997-07-02 06:34:51 +00:00
charnier
71f3417bb9 Nm does not always need an argument. 1997-07-02 06:30:51 +00:00
charnier
3f6defdfaa One newline should be enough. 1997-07-02 06:28:32 +00:00
wosch
9bb985006b Add forgotten newline.
Submitted by: Solaris gencat
1997-07-01 19:46:22 +00:00
charnier
cce3170ff8 Do not use argv[0] in usage(). 1997-07-01 06:37:34 +00:00
charnier
392cc87247 Add usage(), rcsid. Use getopt().
Obtained from: OpenBSD.
1997-07-01 06:34:31 +00:00
charnier
f3aa4e706e Use EX_USAGE in usage(). 1997-06-30 11:24:18 +00:00
charnier
46627309b6 Remove lines inside #ifdef 0/#endif. 1997-06-30 11:10:18 +00:00
charnier
bcc829f0c5 Add usage(). 1997-06-30 06:51:20 +00:00
charnier
761cfebef5 Document -k flag. 1997-06-30 06:50:07 +00:00
charnier
136480890d Use err(3) instead of local redefinition. Change argument name in man
page to sync with usage string.
1997-06-30 06:48:46 +00:00
charnier
c33fef67f8 Add usage string. Typo in man page. 1997-06-30 06:45:53 +00:00
charnier
a9bd3dc31f Uncompress is under .Nm not .Ar. 1997-06-30 06:44:07 +00:00
charnier
f6e53120d8 Mdoc'ify man page. Use err(3). Remove whoami. 1997-06-30 06:42:43 +00:00
charnier
6f0d89b1c2 Use err(3). Add DIAGNOSTIC section name in man page. 1997-06-30 06:40:16 +00:00
charnier
2f5131f6ac Add missing -s flag in usage string. 1997-06-30 06:37:15 +00:00
obrien
4e5976e297 Add magic for FIGlet fonts and controlfiles
Obtained from:	Figlet v2.2 release.
1997-06-29 10:06:56 +00:00
pst
1b991716a4 NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".
NOPIC is used to not generate a shared library, not NOSHARED.
Make NOSHARED advisory where appropriate.
Remove bogus NOSHARED (kbdio).
1997-06-29 06:03:42 +00:00
steve
70ac32a720 Some minor cosmetic tweaks.
PR:			docs/3941
Partially submitted by:	uenami@imasy.or.jp
1997-06-28 19:27:51 +00:00
ache
404cec1eb8 Replace hand-made tolower conversions with real tolower from ctype 1997-06-27 10:21:22 +00:00
ache
ca7a350053 Protect isspace by isascii to not count high spaces 1997-06-27 10:09:50 +00:00
ache
13eedc9f63 Activate collate to sort local files properly for completion 1997-06-27 09:38:07 +00:00
ache
fae8900137 Localize it (ctype)
8bit ctype clean fixes
(I can't input 8bit chars otherwise in this new ftp, it beeps)
1997-06-27 09:30:15 +00:00
charnier
58f4514cd9 Use err(3) instead of local redefinition. 1997-06-26 11:26:20 +00:00
charnier
d9b3513e3c Add usage(). Put program name in bold in the man page. 1997-06-26 11:25:17 +00:00
charnier
948c4a67c3 Remove use of progname. Add usage(). 1997-06-26 11:23:47 +00:00
charnier
6b6d733955 Correct usage string. Program name converted to bold in man page. 1997-06-26 11:22:12 +00:00
tegge
588fb5df8a Treat no match as a failure. This is the normal behaviour on SunOS. 1997-06-25 21:02:12 +00:00
msmith
89334bc82c Import substantial improvements to ftp(1) from NetBSD, largely the
work of Luke Mewburn.

This includes, but is not limited to :

 - commandline editing and history.
 - local and remote filename completion.
 - a new progress display.
 - the ability to access files using either the ftp or http protocols,
   and use http proxies for ftp transfers.

The FreeeBSD "restricted ports" functionality was preserved.

Obtained from:	NetBSD
1997-06-25 08:56:46 +00:00
charnier
a7f2d3da85 Update manpage to newer version. Use err(3). 1997-06-25 07:02:03 +00:00
charnier
8a89f6079c Free a malloc'ed variable before exiting. Compute line number when parsing
input file, it helps finding errors.
Obtained from: OpenBSD.
1997-06-25 06:59:55 +00:00