1981 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