Commit Graph

2736 Commits

Author SHA1 Message Date
wollman
34c6333130 Deal with broken Web sites which return 302 responses rather than 404
and an error document when the requested resource does not exist.  Grrr.

Requested by:	asami
1999-02-23 18:51:13 +00:00
ghelmer
6b7db68bbc Change the prompt for the office location field from "Location:"
to "Office Location:" to disambiguate what is expected.  Add a note
to the man page to indicate that the office location and office phone
fields are concatenated and printed with the heading "Office:" by
finger(1).  Swap the order of the home and office phone fields in the
man page to match the order of the fields in the editor.

If any programs interact with chpass(1) and expect "Location:" instead
of "Office Location:" as the prompt, either this change will have to be
reverted or the other programs will have to be changed.

PR:		docs/7533
1999-02-23 02:41:26 +00:00
bde
2e57affe5f Use `${CC} ${CFLAGS} ${LDFLAGS} -nostdlib -Wl...' instead of
`ld ... <fudged ${LDFLAGS}>' to invoke the linker.  This gets the
flags and standard library paths right without complications.
Unfortunately, it doesn't help for the X11 library paths -- cc
only appends /aout for standard library paths.
1999-02-17 13:48:07 +00:00
fenner
eb83564f14 Fix off-by-one error. 1999-02-16 19:05:09 +00:00
luoqi
fe610030f3 Re-enable doscmd build. 1999-02-16 17:57:25 +00:00
luoqi
619ae2ec5f Look for aout X libraries at the right place. 1999-02-16 14:57:58 +00:00
ache
00b88b4c30 back out obj/colldef PATH hack, it breaks cross-compiling per Bruce
There is _BUILD_TOOLS hack for. Plase all targets under it.
1999-02-15 15:11:07 +00:00
bde
10dcd94aff Fixed bitrot in usage message and disordering of options in previous commit.
I'm not sure why we have `mvstat -z'.  `sysctl vm.zone' gives more
information.  OTOH, `sysctl vm.zone' shouldn't return ASCII data,
and reporting of memory use should be integrated, at least as an
option.
1999-02-15 14:15:28 +00:00
bde
8a88563e32 Fixed disordering of options in previous commit. 1999-02-15 13:57:18 +00:00
bde
1390c560f7 Don't pass -static in ${LDFLAGS} to ld for building doscmd.kernel,
since it means -s (strip), and static linkage is forced correctly
anyway.  Other things in ${LDFLAGS} are still bogusly passed to ld.
This only affects the aout case.
1999-02-15 12:36:21 +00:00
fenner
bcb8a8bf5f Clean up some .Os macro uses: quotes are not needed, multiple arguments
don't really work if the first one isn't "FreeBSD", and "FreeBSD-Experimental"
isn't an OS name.
1999-02-15 08:34:14 +00:00
dt
9804e1af95 Remove couple of 'extern int errno'. (They turned to something funny when
<errno.h> included).
1999-02-14 22:22:54 +00:00
des
5e764fdd0e Ignore errors from chflags. This makes it possible to make installworld
with DESTDIR set to an NFS-mounted file system.
1999-02-14 13:56:15 +00:00
ache
1092206a31 syntax change: allow symbolic names as substitute first arg
use this to substitute <ss>
1999-02-13 14:15:25 +00:00
ache
6c47401ce1 syntax change: allow symbolic names as substitute first arg 1999-02-13 14:14:47 +00:00
dillon
b784d9407a Add -z option to vmstat to dump data from the zone allocator 1999-02-13 09:59:24 +00:00
ache
fe9a4f0693 substitute ss
Submitted by: "D. Rock" <rock@cs.uni-sb.de>
1999-02-12 21:14:41 +00:00
ache
ac02832785 add more checks for substitution
dissalow substituted character be ordered
1999-02-12 20:56:49 +00:00
ache
626782d096 fix English
detect recursive substitutions
allow substituted character not present in the order
1999-02-12 20:39:06 +00:00
eivind
a49fef752c Merge from OpenBSD up to rev 1.7 (matches NetBSD rev 1.4):
Misc small cleanups.
1999-02-12 15:06:55 +00:00
eivind
45d4d7ca2c Merge from OpenBSD up to rev 1.5 (matches NetBSD up to rev 1.3):
* Clean up waitpid parameter handling.
1999-02-12 14:42:31 +00:00
eivind
554eccb620 Back out the NetBSD .Nm changes - we don't have the required
infrastructure, and I don't seem to find time to merge it.
1999-02-12 13:24:45 +00:00
alex
52e14d9a01 Removed occurrences of consecutive repeated words (such as "the the"). 1999-02-12 02:12:08 +00:00
des
58c2137614 Don't use an arbitrary hardcoded value for nfds in select() calls.
PR:		bin/9986
1999-02-10 18:08:51 +00:00
ken
e2929defe4 Fix vmstat display problems. The header printout wasn't quite right, and
the display wrapped around.

This decreases the default maximum number of disks shown to 2, so things
don't wrap around so easily.  Also, it fixes the header display issues.

Submitted by:	Bruce Evans <bde@FreeBSD.ORG>
1999-02-10 00:46:27 +00:00
ken
890d6b3f5d Add a prioritization field to the devstat_add_entry() call so that
peripheral drivers can determine where in the devstat(9) list they are
inserted.

This requires recompilation of libdevstat, systat, vmstat, rpc.rstatd, and
any ports that depend on the devstat code, since the size of the devstat
structure has changed.  The devstat version number has been incremented as
well to reflect the change.

This sorts devices in the devstat list in "more interesting" to "less
interesting" order.  So, for instance, da devices are now more important
than floppy drives, and so will appear before floppy drives in the default
output from systat, iostat, vmstat, etc.

The order of devices is, for now, kept in a central table in devicestat.h.
If individual drivers were able to make a meaningful decision on what
priority they should be at attach time, we could consider splitting the
priority information out into the various drivers.  For now, though, they
have no way of knowing that, so it's easier to put them in an easy to find
table.

Also, move the checkversion() call in vmstat(8) to a more logical place.

Thanks to Bruce and David O'Brien for suggestions, for reviewing this, and
for putting up with the long time it has taken me to commit it.  Bruce did
object somewhat to the central priority table (he would rather the
priorities be distributed in each driver), so his objection is duly noted
here.

Reviewed by:	bde, obrien
1999-02-10 00:04:13 +00:00
wosch
8e7edf802b Added myself as maintainer. 1999-02-09 17:23:03 +00:00
dillon
0d6e96cf9b Include discrete ozfod as well as ozfod/zfod percentage. 1999-02-08 02:39:45 +00:00
dillon
466b9cc773 If there are 4 or fewer disk devices, we have room to display additional
VM statistics.  zfod is moved and %slo-z ( percentage of zero-fills that
    were slow, i.e. not pre-zero'd ), and number of pages freed per second.
1999-02-08 02:11:52 +00:00
jhay
5c7943db96 Make the ipx part of netstat work again. 1999-02-06 19:12:48 +00:00
fenner
40cf948f68 Don't dump core when p_stat is not in the expected range. This is
only likely to happen when you have a kernel<>userland mismatch,
but it's really annoying when top dumps core and leaves the terminal
in a mangled state; it's much nicer to print nicely formatted gibberish.
1999-02-06 16:58:50 +00:00
dillon
f19db5c1a7 Be nice when no swap is configured in system 1999-02-06 06:43:56 +00:00
dillon
5fbde81658 Make 'top' handle case w/ new swapper where no swap is configured 1999-02-06 06:33:55 +00:00
mjacob
c7b99ff629 Print relative (mt_fileno, mt_blkno) position, if known.
Print driver state if not NIL.
1999-02-05 02:46:21 +00:00
mjacob
5d33ad6be3 finally document new commands 1999-02-05 02:45:08 +00:00
fenner
c1aab95fad Remove the FTP_PASSIVE_MODE "fix"; libftpio handles this. 1999-02-05 01:01:17 +00:00
archie
1e47ad0e99 Print usage via fprintf(stderr, ..) instead of errx() to avoid progname prefix.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1999-02-05 00:42:14 +00:00
fenner
3921a7302d Warn about collapsing multiple slashes into 1 in ftp URL's.
Look at the FTP_PASSIVE_MODE environment variable like the man page says.

PR:		bin/9464
Submitted by:	John A. Shue <John.Shue@symmetron.com>

Add references to RFC's 1790, 959, 850.

PR:		doc/6564
1999-02-03 20:43:29 +00:00
fenner
9f60d2da79 Don't try to parse a colon in a URL as a port
(e.g. http://www.host.name/foo:bar)

PR:		bin/5072
Submitted by:	Takeshi WATANABE <watanabe@komadori.planet.kobe-u.ac.jp>
1999-02-03 20:24:53 +00:00
joerg
444d5c878b Update to the most recent version. Among other things, this also solves
the function naming problem for complex double function i've recently
aksed for in -committers.  (The recently committed rev 1.5 of proc.c
was actually also part of this update.)

Should the mailing lists come to an agreement that f2c better belongs
into the ports, this could be done nevertheless.  For the time being,
we've at least got a current version now.

Thanks, Steve!

Submitted by:	Steve Kargl <sgk@troutmask.apl.washington.edu>
1999-02-03 17:23:49 +00:00
eivind
46bcd927f7 Merge from NetBSD: cut.1 rev 1.6 to 1.8
cut.c rev 1.9 to 1.13
* Man page internal cleanups
* 8-bit characters cast to unsigned for is*()
* Misc cleanups for egcs -Wall compatibility
1999-02-02 15:48:04 +00:00
eivind
2d04124cf9 Bring in use of strsep() to handle bad input better, and clean up
some text.

Obtained from:	Merge from OpenBSD
(cut.1 up to OpenBSD rev 1.3, cut.c up to OpenBSD rev 1.6)
1999-02-02 14:56:55 +00:00
eivind
9052fec707 Merge from NetBSD cut.1 rev 1.6 and cut.c rev 1.9, respectively. This
makes us conform to IEEE Std1003.2-1992 (``POSIX.2'').

Obtained from:	NetBSD (but with slight modifications).
1999-02-02 14:26:39 +00:00
ache
d81a0f0d8f Add -R for .RU domains 1999-02-02 01:49:14 +00:00
archie
25d7560c89 Add new option '-p pattern' for splitting files based on matching lines in
the file with a regular expression. Useful for e.g. 'cvs diff' output.
Also compile cleanly with -Wall and fix a few style bugs.
PR:		bin/9405
1999-02-01 21:16:45 +00:00
wosch
9a7b5dbeec Added xref to nologin(5) 1999-02-01 21:04:15 +00:00
wollman
6e2de72862 Update the -d flag to use the new .MIL NIC address (from PR 9802)
and add a -g flag to use the new .GOV NIC.  Also convert the
SEE ALSO reference into a proper bibliographic one.

PR:	9802 (in part)
1999-02-01 19:22:27 +00:00
newton
2ebd2a721a Added "SVR4" as an acceptable brand 1999-01-30 06:16:48 +00:00
billf
dd2dfd2c62 Typo.
PR:		docs/9752
Submitted by:	horikawa@jp.FreeBSD.org
1999-01-28 19:22:22 +00:00
eivind
2295cf9dcf Use __XSTRING() from cdefs.h instead of rolling my own. 1999-01-25 11:25:24 +00:00