Commit Graph

2763 Commits

Author SHA1 Message Date
Jean-Marc Zucconi
619f08032e FIx the output of long command names.
PR:		bin/10027
Submitted by:	Arne Henrik Juul <arnej@math.ntnu.no>
1999-05-21 01:09:45 +00:00
Jean-Marc Zucconi
49936df39b Ignore the MAIL environment variable when the -u flag is set.
PR:		bin/8665
1999-05-20 22:23:04 +00:00
John-Mark Gurney
85020e14f0 make md5 checksums actually work instead of simply calculating the length
of an empty buffer...  the output file wasn't readable...  also warn that
we can't checksum on stdout and print out the base64 encoded version of the
md5 checksum...

Site to actually return md5 digest: web.golux.com
Verified that fetch was broken: Ken Coar <Ken.Coar@Golux.Com>
1999-05-18 19:37:37 +00:00
Wolfram Schneider
4bc71ceab3 Delete debug line.
PR:	bin/9793
Submitted by: Andy Farkas <andyf@speednet.com.au>
1999-05-14 18:45:18 +00:00
Wolfram Schneider
2d3de6c999 Don't overwrite the variable LOCATE_CONFIG
This is useful for people who want index their home directory:

$ env LOCATE_CONFIG=$HOME/.locate.rc /usr/libexec/locate.updatedb

Submitted by: Dmitry Morozovsky <marck@rinet.ru>
1999-05-14 10:18:43 +00:00
Kris Kennaway
4b9cb490c3 Correct an error in a manpage example, add -Wall -W to Makefile (no
warnings given) and modify source to use arc4random() instead of random().

Reviewed by:	ache
1999-05-13 12:18:24 +00:00
Bruce Evans
6930c8618b Backed out the previous commit, except for the parts that reduced
the magicness of 200.  Cleaned up the remaining parts.  Circularisation
of the list of malloc types was a kernel bug (now fixed).  Interfering
with applications' definitions of pgtok is a system header bug (not
fixed).
1999-05-12 11:49:47 +00:00
Dag-Erling Smørgrav
ecb80458eb Brucify. 1999-05-12 06:57:07 +00:00
Peter Wemm
bf0e1ee370 Tidy up references to <sys/rlist.h> and support for the old swap management
that went away in January.
1999-05-11 14:32:18 +00:00
Dag-Erling Smørgrav
6b284d8ad2 Sync usage() with man page.
PR:		11539
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1999-05-11 14:23:16 +00:00
Matt Jacob
dc06ef2775 add and document seteotmodel and geteotmodel commands 1999-05-10 20:05:19 +00:00
Poul-Henning Kamp
38fc822d7f Don't go looking for weird #includes if major isn't a macro. 1999-05-10 18:06:37 +00:00
Warner Losh
7cbb70b303 Sometime since this file was written, the list of kernel malloc types
changed from a simple list to a circular one.  We compensate by only
looping until we see the first address again.  Before, things would
terminate because it was limited to 200 iterations.  This lead to
bogus statistics and repeating stats for memory types.

This should be merged into 3.2, as the same bug is there.
1999-05-10 00:33:32 +00:00
Poul-Henning Kamp
b55099e93d we don't have <sys/disk.h> anymore. 1999-05-08 05:48:54 +00:00
David E. O'Brien
dd5288f3a5 Impliment elements of TCP Wrappers's `safe_finger'.
* if run by root (or root process) drop privs
* ensure output size is not infinate (net finger only)
* ensure output lines are not infinate in length (net finger only)
* do not allow finger client to run longer than 3 minutes (net finger only)
1999-05-08 00:46:06 +00:00
Jordan K. Hubbard
42c4c73e52 Install the right man page. 1999-05-05 07:09:21 +00:00
Guy Helmer
4c8cdf36e8 Add gensetdefs.8 man page.
PR:		docs/10517
Submitted-by:	Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>
1999-05-04 20:31:28 +00:00
Guy Helmer
768229abb0 Add missing parenthesis. Change "hardware block" to "SCSI logical block".
While I'm here, fix dangling "to".

PR:		docs/9940
1999-05-04 18:22:38 +00:00
Greg Lehey
9045b882d5 Clarify when the user gets a prompt for the old password, and that
passwords are not echoed.

Get quotes right in troff.
1999-05-03 00:56:05 +00:00
Tim Vanderhoek
3309076f0b Document another (less-virulent) CRLF-related bug. 1999-05-02 18:17:23 +00:00
Dag-Erling Smørgrav
c0da497e2d Don't use STDOUT_TOP.
Submitted by:	Christopher Masto <chris@netmonger.net>
1999-05-01 11:31:19 +00:00
Tim Vanderhoek
61f74535f6 Change references from "passwordperiod" to "passwordtime", since
"passwordtime" is what passwd(1) has actually been using.  I suspect
passwordperiod was the original intent.  I can't figure-out which,
if either, BSDi uses.  If anyone knows...
1999-04-30 18:19:46 +00:00
Poul-Henning Kamp
4b9c5aabdd Tcopy uses 32 bit unsigned to accumulate a count of bytes read/written.
That doesn't work well for tapes over 4G.

I use tcopy a lot to write images of a tape to tape as tape to tape
copying is terribly slow. Slower than it should be. Quickly found out
tcopy can not rewind a file when doing copy/verify.

PR:		11386
Submitted by:	David Kelly dkelly@hiwaay.net
Reviewed by:	phk
1999-04-30 13:13:32 +00:00
Tim Vanderhoek
d75db65f59 Remove documentation of CRLF bug from more.1. Sync code with manpage.
PR:		bin/961 bin/7296 (fix)
Submitted by:	Garance Alistair Drosehn <gad@eclipse.acs.rpi.edu>
1999-04-29 18:03:38 +00:00
Joseph Koshy
7d64be00b2 Correct reference to '/dev/rst0' to the more correct "/dev/rsa0".
PR:		11347
Submitted by:	Christian Weisgerber
1999-04-28 05:08:13 +00:00
Luigi Rizzo
0024d1db07 Add support for printing bridging statistics with ``-p bdg '' .
If someone has a better flag to use I'll be glad to change it.
1999-04-26 16:11:50 +00:00
Kris Kennaway
d662d4b701 Move an option outside of a nested list and up a bit to live free among
its brothers and sisters.
1999-04-26 14:08:04 +00:00
Warner Losh
96846ff646 More egcs warning fixes:
o main returns int not void
	o use return 0 at end of main when needed
	o use braces to avoid potentially ambiguous else
	o don't default to type int
	o #ifdef 0 -> #if 0

Reviewed by: obrien and chuckr
1999-04-25 22:37:58 +00:00
Peter Wemm
1464cddcdd The infrastructure to build these fellows has been replaced with kld. 1999-04-24 21:04:04 +00:00
Andrey A. Chernov
0514336d66 remove uid switching before login_getpwclass, now done inside libutil
add gid switching before chdir and comment why it needed
1999-04-24 17:26:32 +00:00
Andrey A. Chernov
9587fac012 fix -n with 16-chars hostnames, modified patch from PR
PR: 11286
Submitted by:  Hans Huebner <hans@chaosradio.berlin.ccc.de>
1999-04-22 23:40:56 +00:00
John Hay
e7f807a217 Fix the display of the "nice" value of processes like ntpd that use the
posix sched_setscheduler() to set their priority.

Noticed by:	Mark Allwright <mallwri@orion.didata.co.za>
1999-04-22 14:34:53 +00:00
Bill Fumerola
9baac9f2e9 IPX address formatting nit.
PR:		bin/11179
Submitted by:	Dan Nelson <dnelson@emsphone.com>
1999-04-20 22:04:31 +00:00
Joseph Koshy
0c101fb2e7 Clarify wording to indicate that the arguments to find(1) are path names
(and can be both files or directories).  Show white space between
"(", ")", "!" and their corresponding `expression' arguments as
expected by the expression parser inside find(1).

Prompted by:	David Honig <David.Honig@idt.com> on freebsd-doc
		Message-Id: <199904132055.NAA09432@justinian.Eng.idt.com>
1999-04-19 08:26:00 +00:00
Warner Losh
ab898e2ec9 Add :Q to quote variable expansion to all proper expansion of
variables for recursive makes.  This makes it less painful to cross
build recent NetBSD kernels on FreeBSD.

Obtained from: NetBSD
1999-04-19 07:30:04 +00:00
Steve Price
c91f5974b9 Use const where appropriate.
PR:		10739
Submitted by:	Stephen J. Rosnowski <sjr@home.net>
Obtained from:	NetBSD PR 6151
1999-04-19 04:05:25 +00:00
Peter Wemm
2ec18d8b24 Disconnect modload/modunload/modstat from their Makefiles.. 1999-04-18 15:56:20 +00:00
Peter Wemm
7c71e88713 Clean up the skeleton code a little. There was a #ifdef to avoid
stdlib.h unless on C++.  However, we already included it above, so there
was no point using the redundant declarations instead.
1999-04-18 13:37:49 +00:00
David E. O'Brien
3136806974 Turn off f2c. Superseeded by EGCS's g77. 1999-04-18 09:51:43 +00:00
Luoqi Chen
2483cc6611 X11 include directory may not actually contain any header file, check for
a specific one (X11/X.h).
1999-04-17 01:57:06 +00:00
Dag-Erling Smørgrav
a76ec619d7 Nuke lsock(1). 1999-04-15 13:43:22 +00:00
Dag-Erling Smørgrav
28bfda3471 lsock(1) -> sockstat(1) 1999-04-15 13:42:48 +00:00
Dag-Erling Smørgrav
5827850902 Rename lsock(1) to sockstat(1).
Suggested by:	Sheldon Hearn <sheldonh@iafrica.com>
Approved by:	Peter Wemm <peter@netplex.com.au>
1999-04-15 13:40:43 +00:00
Dag-Erling Smørgrav
aa9e9524c9 Activate lsock(1). 1999-04-14 16:17:52 +00:00
Dag-Erling Smørgrav
508f6b17c4 Import lsock(1), a Perl script for listing open Internet sockets. 1999-04-14 16:17:34 +00:00
Guy Helmer
79deb70e15 Typo fix.
PR:		docs/11022
1999-04-13 02:32:12 +00:00
Foxfair Hu
0ed3fce6d0 Correct a link problem with zh_TW.BIG5, make the display reasonable. 1999-04-10 12:22:25 +00:00
Brian Somers
3a6afd0d44 Don't perform the trimdomain() functionality twice,
trimdomain() now works as expected.
1999-04-07 14:05:03 +00:00
Dmitrij Tejblum
64edd87688 Rename a function to avoid conflict with the new syscall 'pwrite'. 1999-04-04 21:47:11 +00:00
Martin Cracauer
eec64f7486 Further backouts and changes to the example.
getopt in bourne shell is in fact hard. Maybe perl isn't *that* bad
after all...
1999-04-04 13:49:10 +00:00