Steve Price
9d19feb501
#include <unistd.h> for getopt(3) call.
1997-08-07 21:47:31 +00:00
Philippe Charnier
692bc4fdc9
Use err(3), so eliminate use of `argv0'.
1997-08-07 06:50:02 +00:00
Philippe Charnier
ed43a0f914
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
Philippe Charnier
e25f6756fb
Use err(3). Add usage(). Rewrote man page in mdoc format.
1997-08-07 06:42:37 +00:00
Philippe Charnier
81c44dca8a
Use err(3), cosmetic in usage().
1997-08-06 06:49:06 +00:00
Philippe Charnier
0e76f40d09
Use err(3), cosmetic in usage(), remove `cmdname'.
1997-08-06 06:47:41 +00:00
Andrey A. Chernov
f4e4504f06
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
Philippe Charnier
4c26232f70
Use err(3). Document -l flag.
...
Obtained from: OpenBSD
1997-08-05 06:46:46 +00:00
Philippe Charnier
f03377a6c9
Document that multiple args are allowed, i.e Ar file -> Ar file ...
1997-08-05 06:44:28 +00:00
Philippe Charnier
0bb6b796dd
Use err(3). Add usage() and prototypes.
1997-08-05 06:42:48 +00:00
Philippe Charnier
321e481502
Cosmetic in usage string.
1997-08-05 06:41:26 +00:00
Satoshi Asami
308f1befca
Remove bogus malloc() decl.
1997-08-05 03:40:04 +00:00
Philippe Charnier
ee461acc1a
Use err(3). Use #include "" instead of <> for local headers.
1997-08-04 06:48:25 +00:00
Philippe Charnier
9d63ad4978
Use err(3). Cosmetic in usage string. Typo in man page.
1997-08-04 06:45:11 +00:00
Philippe Charnier
69d8513530
Correct Synopsys section.
1997-08-04 06:42:51 +00:00
Philippe Charnier
43b70d782d
environmental -> environment.
1997-08-04 06:40:41 +00:00
Philippe Charnier
b637dfa85f
Cosmetic and typos.
1997-08-04 06:39:19 +00:00
Garrett Wollman
4c33feed58
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
Garrett Wollman
a32cbefa87
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
Philippe Charnier
1e133604e1
Use err(3). Add prototypes. Silent -Wall.
1997-07-31 06:59:26 +00:00
Philippe Charnier
7e19b1ec24
Cosmetic in usage string and err() messages.
1997-07-31 06:57:47 +00:00
Philippe Charnier
7eb436730f
Use err(3).
1997-07-31 06:54:45 +00:00
Philippe Charnier
885a85b6c1
Use err(3). Add missing flags in usage string.
1997-07-31 06:53:36 +00:00
Bill Paul
d4a27db19e
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
Philippe Charnier
f2abddceac
Add usage(), use err(3).
...
Rewrote man page in mdoc format.
1997-07-29 06:54:16 +00:00
Philippe Charnier
5d422d6aa7
Remove prog, unused variables.
...
Cosmetic in usage string.
1997-07-29 06:51:41 +00:00
Philippe Charnier
ff456ca439
Use err(3) instead of local redefinition.
1997-07-29 06:49:16 +00:00
Philippe Charnier
e46a3508d0
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
Philippe Charnier
096118ee27
Add usage().
1997-07-29 06:42:33 +00:00
Philippe Charnier
053f348568
Cosmetic in usage string.
1997-07-28 07:01:02 +00:00
Garrett Wollman
12b7829739
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
Garrett Wollman
efd4ad4cd2
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
Garrett Wollman
2ec04c7076
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
Garrett Wollman
0c8cc99e5b
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
Philippe Charnier
2487a449d3
Use err(3), add usage(), silent -Wall.
1997-07-24 07:05:02 +00:00
Philippe Charnier
3974610c18
Add includes and prototype.
1997-07-24 07:02:55 +00:00
Philippe Charnier
1988cbc558
.Nm mkdep -> .Nm.
1997-07-24 07:01:18 +00:00
Philippe Charnier
7501dcaa36
Add usage().
1997-07-24 07:00:17 +00:00
Philippe Charnier
950622c987
Use err(3). Cosmetic in usage string.
1997-07-24 06:58:08 +00:00
Philippe Charnier
0e11b68bdd
Use err(3).
1997-07-24 06:56:33 +00:00
Philippe Charnier
9510535891
Use err(3) instead of local redefinition. Remove progname.
1997-07-23 06:50:06 +00:00
Philippe Charnier
176d344d18
Typo.
1997-07-23 06:48:01 +00:00
Philippe Charnier
9baefe4a3f
Use err(3) instead of local redefinition.
1997-07-23 06:46:10 +00:00
Philippe Charnier
9c9cb2bffe
= -> ==, strcpy -> strncpy from OpenBSD.
...
update man page. Add usage().
Obtained from: OpenBSD
1997-07-22 07:39:43 +00:00
Philippe Charnier
df0715563d
Use err(3).
1997-07-22 07:33:48 +00:00
Philippe Charnier
3ec665d482
lockf: usage : lockf -> usage: lockf by using fprintf instead of errx.
1997-07-22 07:32:23 +00:00
Wolfram Schneider
b5b5fc9dc3
Add ref to idprio(1).
1997-07-21 23:05:06 +00:00
Bruce Evans
745ec60f07
Added top.1 to CLEANFILES.
1997-07-21 16:06:00 +00:00
Philippe Charnier
a4a2bc1716
Use err(3). Add usage().
1997-07-21 12:09:34 +00:00
Philippe Charnier
bef3ca0315
Use err(3). Use .Pa macro for filenames in man page.
1997-07-21 12:08:14 +00:00