Commit Graph

1402 Commits

Author SHA1 Message Date
Garrett Wollman
78be319939 Here is my long-threatened revamping of fetch. Jean-Marc probably won't
recognize it any more.  This makes the following significant changes:

- The main body of the program doesn't know a thing about URIs,
  HTTP, or FTP.  This makes it possible to easily plug in other
  protocols.  (The next revision will probably be able to dynamically
  add new recognizers.)

- There are no longer arbitrary timeouts for the protocols.  If you want
  to set one for yourself, use the environment variables.

- FTP proxies are now supported (if I implemented it right).

- The HTTP implementation is much more complete, and can now do restarts,
  preserve modtimes, and mrun in mirror mode.  It's not yet up to 1.1,
  but it's getting there.

- Transaction TCP is now used for sending HTTP requests.  The HTTP/1.1 syntax
  for requesting that the connection be closed after one request is
  implemented.

In all of this, I have doubtless broken somebody.  Please test it and tell me
about the bugs.
1997-01-30 21:43:44 +00:00
Wolfram Schneider
fa363c34a4 The option "fstype" does not handle the argument "msdos" correctly.
This error results from changing the name for the msdos file system
from "pcfs" to "msdos". Close PR #1105

submitted by: Thomas Wintergerst <thomas@lemur.nord.de>,
              Slaven Rezic <eserte@cs.tu-berlin.de>
1997-01-28 13:18:46 +00:00
Wolfram Schneider
7f6f2e9466 Store temp files in current directory instead /tmp. The current
directory is usually not world writable, this avoid security
problems due the evil Berkeleian symlinks.
1997-01-27 00:10:53 +00:00
Jordan K. Hubbard
d87e2a2cc5 Don't dereference NULL pwd on non-existant username (I wonder how long
THAT has been in here!).
1997-01-22 18:36:27 +00:00
David Nugent
5217f56ec6 Fix handling of empty shell field in passwd file (use /bin/sh); problem
was caused by introduction of login classes. Closes PR bin/2550.
Added references to login.conf to manpage, crossreference to login.conf(5).
1997-01-22 02:45:16 +00:00
Garrett Wollman
a5969f5ffc Print out the new uninteresting-multicast-packets statistic. 1997-01-21 21:08:57 +00:00
David Nugent
0a98733422 Activate limits(1). 1997-01-21 15:09:03 +00:00
David Nugent
c03293e593 limits(1): set and display process resources. 1997-01-21 15:05:15 +00:00
John Fieber
aeae2333f4 Make -hdr and -ftr options (to include arbitrary HTML at the
top and bottom of output) work with docbook.
1997-01-19 21:21:18 +00:00
John Fieber
3697c8d8a6 Do the Right Thing(TM) with source files that have extensions
other than .sgml.
1997-01-18 01:48:04 +00:00
John Fieber
0e224fbc11 Add rudimentary docbook support:
sgmlfmt -d docbook -f html myfile.docb

Depreciate undocumented -white option (now default).
1997-01-17 23:38:40 +00:00
Joerg Wunsch
8a641b5f2e Update for the French message catalog.
Submitted by:	charnier@xp11.frmug.org (Philippe Charnier)
1997-01-17 23:01:18 +00:00
John Fieber
3a3cc0fe3e Close PR #2453 (illegal tags in HTML <TITLE> element)
2.2 fodder
1997-01-17 21:44:45 +00:00
Joerg Wunsch
cefe4f6fa2 Fix a genuine off-by-one error that caused join to dump core when
trying to use field numbers tha weren't present in the input data.
1997-01-17 18:55:05 +00:00
Jordan K. Hubbard
ae0fde8e14 Handle timeouts in a slightly less baroque way. 1997-01-17 12:52:12 +00:00
Alexander Langer
8abdc2eb40 Sweep through the tree fixing mmap() usage:
- Use MAP_FAILED instead of the constant -1 to indicate
    failure (required by POSIX).
  - Removed flag arguments of '0' (required by POSIX).
  - Fixed code which expected an error return of 0.
  - Fixed code which thought any address with the high bit set
    was an error.
  - Check for failure where no checks were present.

Discussed with:	bde
1997-01-16 21:58:40 +00:00
Wolfram Schneider
da1ff3cb8a Sort cross references. 1997-01-15 23:25:55 +00:00
Mike Pritchard
d0aa25cbc5 Document the "more" command.
Submitted by:	Julian Coleman <j.d.coleman@ncl.ac.uk>
Obtained from:  NetBSD-bugs PR# 3104
1997-01-15 04:44:08 +00:00
David Nugent
a564e85582 Fix problem with mask passwd to setusercontext() which
prevented uid/group change with non-root target.
1997-01-14 09:24:09 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Garrett Wollman
75fb877061 Print out the interface's multicast addresses using the new
structures.
1997-01-13 21:27:46 +00:00
David Nugent
e888e45a99 Document effect of login class capabilities. 1997-01-13 06:52:24 +00:00
David Nugent
91bcac64b4 Make su login_cap savvy.
As with login(1), LOGIN_CAP_AUTH is not yet enabled since we don't
yet have authorisation modules.
1997-01-13 06:39:19 +00:00
Peter Wemm
6bc56a5735 Report the reason why select unexpectedly failed.. 1997-01-13 02:34:56 +00:00
Steve Price
2b5f199de6 Add RCS id's since these files have left the default branch. 1997-01-12 21:29:55 +00:00
Steve Price
2726ae5b7c This doesn't change any functionality, it simple makes yacc(1)
compile -Wall clean.
1997-01-12 21:16:25 +00:00
Joerg Wunsch
6b5d41d069 Fix the following old problem:
date: 1994/10/09 07:37:18;  author: davidg;  state: Exp;  lines: +7 -1
  #if 0'd out the meat of the swap code until I get a chance to rewrite it.

...mainly by stealing the code from pstat(8).
1997-01-12 19:38:32 +00:00
Mike Pritchard
b82b4e07ee Fix calendar so that you can run it like:
calendar -t 0101 -f file

Previously calendar's time processing routine directly
modified the "0101" argument" which confused getopt.
The time routines now make a copy of the argument
to mess with.
1997-01-12 18:35:14 +00:00
Andrey A. Chernov
faeaf734aa include ctype.h to pick isprint macro 1997-01-12 13:34:13 +00:00
Steve Price
2b6dfbee74 Revert the '-o output_file_name' option changes. 1997-01-12 04:04:52 +00:00
John Polstra
18c0f29eaa Set LD_TRACE_LOADED_OBJECTS to "1" instead of to "". The dynamic linker
now treats empty "LD_*" environment variables as if they were unset, per
the standard SVR4 conventions.
1997-01-12 00:10:57 +00:00
Mike Pritchard
c8cb0990af Add a couple of xrefs. Closes PR# 1280. 1997-01-11 19:58:11 +00:00
Mike Pritchard
1ae7534949 Add a couple of xrefs. 1997-01-11 19:57:47 +00:00
David Nugent
6acc486b3f Makes login login_cap-savvy.
Note that LOGIN_CAP_AUTH code (login authentication) is not (yet) enabled
and requires /usr/libexec/login_<style> authentication program support to
be added at a later date. The Makefile contains a macro LC_AUTH to turn
it on and prevent unnecessarily linking against skey/krb libs and the
addition of klogin.c module.

All other aspects of login_cap support are fully functional.
1997-01-11 07:16:35 +00:00
Bruce Evans
8f1ab0d02b Removed stray DPADD. 1997-01-10 05:08:25 +00:00
John Polstra
775f9cd54d For "ldd -v", print shared object dependencies that were specified as
pathnames (rather than as "-lfoo") correctly.
Closes PR bin/2404.
1997-01-10 02:51:00 +00:00
Andrey A. Chernov
0743315ba6 Make 'skey' command visible through 'help' 1997-01-10 00:29:00 +00:00
Andrey A. Chernov
914860e874 Use -DSKEY instead of wrong -DPATH_SKEY 1997-01-10 00:27:50 +00:00
John Polstra
ae06cb4d32 On failure, return various exit codes from <sysexits.h>. In particular,
return EX_TEMPFAIL if the file was already locked.  This makes it easier
to distinguish between lock collisions and failures within the command
being executed.

Also, don't complain if the unlink() fails in the cleanup handler.  It
doesn't matter anyway, and it obscured the exit status returned from
the command that was executed.
1997-01-09 19:53:21 +00:00
Mike Pritchard
9d16a728b6 Make the man page agree with the actual vmstat output
and options.
1997-01-09 06:49:33 +00:00
John Polstra
8e42672199 Enable lockf. 1997-01-08 20:19:22 +00:00
John Polstra
c8929a4926 Initial import of the lockf utility. It executes an arbitrary command
while holding an exclusive lock on a file.
1997-01-08 20:12:59 +00:00
Joerg Wunsch
c28065c606 Our mmap(2) has a limitation where the `offset' parameter must be
page-aligned.  cmp(1) should know about this flaw, and work around it.

While i was at it, fixed an uninitialized variable as reported by
-Wall.
1997-01-08 12:00:55 +00:00
Andrey A. Chernov
1f18743134 Make eBones/telnet only if MAKE_EBONES defined 1997-01-08 11:38:33 +00:00
Mike Pritchard
5f169eef3e Remove an extra tab. 1997-01-08 07:24:52 +00:00
John Fieber
945a701173 Add an "else" clause to _followrel.
This should be in 2.2.
1997-01-08 01:40:52 +00:00
Paul Traina
e1fb4daa3e TCP statistics are unsigned counters.
Tor Egge reports counter wrap and requests and update to quad_t sized
counters, which is also a good thing to do,  but I'm unhappy about adding
two more instructions into the  code path every time we doink a counter.

Maybe with or after the Lite2 merge...
Submitted by:	Tor Egge <Tor.Egge@idt.ntnu.no>
1997-01-07 20:09:28 +00:00
Paul Traina
b833b30221 Import a few relatively minor fixes from current Borman telnet.
Add some buffer overrun fixes from OpenBSD and myself.
Add skey calculator kludge from OpenBSD.

TODO: do a real merge of dab's sources... probably just make telnet and
	telnetd contrib software.

Obtained from: OpenBSD, dab@bsdi.com
1997-01-07 19:47:58 +00:00
Andrey A. Chernov
5e572a7e34 Fix bugs in runes data handling
Should go into 2.2
Submitted by: Mitsuru IWASAKI <iwasaki@pc.jaring.my>
1997-01-07 09:58:32 +00:00
Bruce Evans
e58b89de25 Fixed DPADD to match LDADD. 1997-01-06 07:14:41 +00:00