Commit Graph

2795 Commits

Author SHA1 Message Date
des
abb30c230a Don't use STDOUT_TOP.
Submitted by:	Christopher Masto <chris@netmonger.net>
1999-05-01 11:31:19 +00:00
hoek
c58ef3f1c2 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
phk
a158d89a46 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
hoek
f1cf11464c 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
jkoshy
925059c78e 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
7486c3d75e 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
c80be589b5 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
imp
b8d073ef7a 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
88bebbbbaa The infrastructure to build these fellows has been replaced with kld. 1999-04-24 21:04:04 +00:00
ache
87502a7032 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
ache
763523f45e 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
jhay
e5d86bb31b 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
billf
0acab1e897 IPX address formatting nit.
PR:		bin/11179
Submitted by:	Dan Nelson <dnelson@emsphone.com>
1999-04-20 22:04:31 +00:00
jkoshy
ba38161ab5 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
imp
43aecb550e 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
c1bf938957 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
dda1c7c4a6 Disconnect modload/modunload/modstat from their Makefiles.. 1999-04-18 15:56:20 +00:00
peter
09399dc41e 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
obrien
69434f9fde Turn off f2c. Superseeded by EGCS's g77. 1999-04-18 09:51:43 +00:00
luoqi
1f6efaac8b 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
des
b13fdc3f7e Nuke lsock(1). 1999-04-15 13:43:22 +00:00
des
ad44567e6e lsock(1) -> sockstat(1) 1999-04-15 13:42:48 +00:00
des
010438dfb3 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
des
a004afb5f0 Activate lsock(1). 1999-04-14 16:17:52 +00:00
des
4bc4aab417 Import lsock(1), a Perl script for listing open Internet sockets. 1999-04-14 16:17:34 +00:00
ghelmer
797893c462 Typo fix.
PR:		docs/11022
1999-04-13 02:32:12 +00:00
foxfair
082e788c1c Correct a link problem with zh_TW.BIG5, make the display reasonable. 1999-04-10 12:22:25 +00:00
brian
be14570409 Don't perform the trimdomain() functionality twice,
trimdomain() now works as expected.
1999-04-07 14:05:03 +00:00
dt
7c674ec6a1 Rename a function to avoid conflict with the new syscall 'pwrite'. 1999-04-04 21:47:11 +00:00
cracauer
22e30fd9eb 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
cracauer
b5cc56859c Back out part of previous commit.
Arguments with whitespaces are easy to fix, but in combination with
shell metachars that should not be evaluated it is very hard, probably
impossible to fix without going to a line-oriented solution.

Next time I will believe Henry Spencer when he says "this looks easy
to fix but isn't".
1999-04-04 00:25:39 +00:00
cracauer
a4f8ac3fd8 1) Fix the case where a shellscript using getopt is called with a
parameter that has space in it, both in getopt.c and in the manpage
   example.

2) Fix the example in the manpage. The set(1) command is required to
   return 0 (POSIX 1003.2, section 3.14.11), so you can't test for
   getopt's exit status like the example did:

  #! /bin/sh
  set -- `getopt abo: $*`
  if test $? != 0  # wrong, tests for set's exit status, which is
                   # always zero, no for getopt(1)'s.

Fixes PR bin/5845, which thought it was getopt's fault, but in fact
the manpage was wrong.

I also updated the example to be more useful and updated the BUGS
section.

PR:		bin/5845
1999-04-03 22:24:36 +00:00
ache
c1a2210272 fix sign extension bug
Submitted by: Nikolai Saoukh <nms@ethereal.ru>
1999-04-01 10:22:48 +00:00
brian
5903778a46 Get things right for tty names of length UT_LINESIZE.
Cosmetic: Don't shadow the `p' variable.
          Remove two unused variables.
PR:	3638
1999-03-31 21:01:39 +00:00
phk
c0ff066c07 malloc(3) need to allocate one byte more.
PR:		10855
Submitted by:	Petteri Holländer <pete@iki.fi>
1999-03-29 13:18:16 +00:00
helbig
307c270e59 Due to the switch form Julian to Gregorian calender,
even a whole month might be missing.
This caused a bug for the LN -calender, whose switch was
on Dec 12, 9999.
1999-03-27 21:08:13 +00:00
bde
437ab8d6af Display floats with format %*.0f instead of as "*****" if there is
enough space for this but not enough space for the normal %*.*f
format.  Similarly for long doubles.
1999-03-22 03:44:01 +00:00
billf
c9485f3ebf An even number of nodes, not node pairs are required for tsort(1) to work.
Pairs are inherently even.

PR:		docs/9264
Submitted by:	NAGAO Tadaaki <nagao@iij.ad.jp>
1999-03-20 21:24:18 +00:00
foxfair
e08645d99e Supporting locale for Chinese Big5 completely. 1999-03-20 11:49:23 +00:00
imp
c0353ca8a4 Disable setgid kmem for now. 1999-03-16 20:57:19 +00:00
ghelmer
fec9782e39 Reference the sysctl variables related to various limits.
PR:		docs/6764
1999-03-15 15:36:56 +00:00
billf
dd26cb397f Grammar nits, double negatives
PR:		docs/10491
Submitted By:	Tom Hukins <tom@eborcom.com>
1999-03-15 02:57:29 +00:00
mjacob
5899cf012e Fixes alignment of blocksize field to be prettier if
longest density code && density name is used.
Obtained from: Ken Merry
1999-03-10 18:42:20 +00:00
des
f1455f1462 Fix fstat compatibility by printing the address of the tcppcb instead of
that of the regular socket pcb for TCP sockets.

PR:		bin/9963
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1999-03-10 17:25:42 +00:00
roberto
dc0a0dc0be Adds the '-p' option to make time(1) output POSIX.2 compliant.
Updates the manpage as well.

I've rewritten the patch as it was for 2.2.7. It can probably be put
into 3.1-STABLE as well.

PR:		bin/10515
Submitted by:	Jens Schweikhardt <schweikh@noc.dfn.de>
1999-03-10 17:22:12 +00:00
mjacob
134866530d get rid of space padding for compression 1999-03-10 00:48:03 +00:00
wollman
e95e96917b Restore \n at end of usage message.
Complained-about-by: charnier
1999-03-08 19:16:14 +00:00
ghelmer
3668e70e57 Fix display of example usage.
PR:		docs/9833
1999-03-07 19:24:39 +00:00
bde
367d8e03b5 Oops, the test for "no-cpu" was inverted.
Submitted by:	Seigo TANIMURA <tanimura@naklab.dnj.ynu.ac.jp>
1999-03-07 06:55:47 +00:00
bde
8e66690b56 The magic "no-cpu" cpu number is 0xff. Don't misrepresent cpu
numbers as chars or use bogus casts in an attempt to unmisrepresnt
them.  In top, don't assume that 0xff is the only negative cpu
number when cpu numbers are (mis)represented.
1999-03-05 16:38:13 +00:00