David E. O'Brien
09a80d4867
Quiet warnings about copyright[].
2003-05-01 16:58:57 +00:00
David E. O'Brien
dbd64020dd
Make GCC 3.3 STFU about copyright[].
2003-05-01 14:45:27 +00:00
Tim J. Robbins
005197bb40
Add the -j and -y options to the synopsis.
2003-05-01 02:37:46 +00:00
Jens Schweikhardt
fbc8f8a2dc
Fix references to non-existing or obsoleted man pages.
...
PR: docs/51480 (only a small part)
Submitted by: Diomidis D. Spinellis <dds@aueb.gr>
2003-04-30 19:18:50 +00:00
David E. O'Brien
0d22cdf040
We have to hide copyright[] for gcc33. :-(
2003-04-30 17:40:28 +00:00
Robert Watson
317f1d53c8
When mac_from_text() fails with -Z, print "-" rather than "" so that
...
scripts parsing ls(1) output can still count columns.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2003-04-26 02:31:26 +00:00
Philippe Charnier
2d5506c942
Revert the zombie part of previous commit
2003-04-15 18:49:20 +00:00
Philippe Charnier
b85add5f31
Correct style bugs. Don't skip zombies in cputime(), according to Bruce,
...
zombie CPU times are valid. Adjust array size in strftime(3).
Submitted by: Bruce
2003-04-14 19:51:36 +00:00
Bruce Evans
82fdc5e61b
Include <signal.h> instead of depending on namespace pollution in
...
<sys/param.h>. Include <sys/types.h> instead of of <sys/param.h>
so that further such dependencies don't develop.
2003-04-13 08:47:30 +00:00
Bruce Evans
4901f51b4e
Fixed some style bugs in rev.1.44.
2003-04-13 08:27:35 +00:00
Tim J. Robbins
e2c9ac698c
Display residency and sleep times (re and sl fields) larger than 127 as 127.
...
This is what the manual page says ps should do, and what OpenBSD and NetBSD do.
Based on a patch from Ken Stailey.
PR: 27433, 46232
2003-04-12 10:39:56 +00:00
Tim J. Robbins
88d5eb7147
Refer to 1003.1-2001 in the Standards section now that TC1 allows the
...
traditional BSD behaviour (-n option) and FreeBSD extensions (\c).
2003-04-12 03:49:28 +00:00
Tim J. Robbins
1c35bd9b2b
Document the -L and -P options as being mutually exclusive.
2003-04-12 03:22:54 +00:00
Tim J. Robbins
e9fa8fddd6
Document the -L and -P options to the cd and pwd commands as being
...
mutually exclusive. The fact that the most recent one specified on the
command line is the one that takes effect is an implementation detail and
users should not rely on this.
2003-04-12 03:20:28 +00:00
Matthew N. Dodd
947193d93f
Use the correct data type and qualifier for signal flag.
2003-04-07 12:09:17 +00:00
Matthew N. Dodd
00d321a2b3
Add a SIGINFO handler.
2003-04-07 11:00:56 +00:00
Johan Karlsson
ab46875a2a
Document how to clear flags with negative-logic, currently only
...
the nodump flag.
PR: 46912
Reported by: dave@syix.com <dave@syix.com>
MFC after: 2 weeks
2003-03-24 20:15:58 +00:00
Philippe Charnier
45ebb0c103
The .Nm utility
2003-03-24 16:09:07 +00:00
Tim J. Robbins
5821bf03d8
Flush the output buffers before forking a child process to avoid
...
the child process writing data that the parent should have written.
PR: 50051
MFC after: 2 weeks
2003-03-17 11:28:56 +00:00
Ruslan Ermilov
bfd86a6070
ssize_t is not required to be the same width as size_t by the
...
specs, so cast to intmax_t where appropriate.
Pointed out by: bde
2003-03-15 13:34:48 +00:00
Ruslan Ermilov
024ae00499
Fixed (soon might be fatal) -Wformat warnings.
2003-03-15 07:56:59 +00:00
Marcel Moolenaar
4832865490
Add an -o filename option to have the output written to a file.
...
This option is present on most uuidgen(1) implementations even
though normal file redirection can be used to achieve the same.
Submitted by: Hiten Pandya <hiten@unixdaemons.com>
2003-03-15 02:27:10 +00:00
Mark Murray
7503d74f54
WARNS=4 fixes. This would be WARNS=9 if we were -std=99 instead of
...
-ansi, due to 'long long'.
Reviewed by: green (slightly earlier version)
2003-02-27 18:04:54 +00:00
Marcel Moolenaar
caecb2f4c0
Third attempt at removing machdep.h and using ALIGN from <sys/param.h>.
...
The initial stack_block is staticly allocated and will be aligned
according to the alignment requirements of pointers, which does not
necessarily match the alignment enforced by ALIGN. To solve this a
more involved change is required: remove the static initial stack
and deal with an initial condition of not having a stack at all. This
change is therefore more risky than the previous ones, but unavoidable
(other than not using the platform default alignment).
Discussed with: tjr
Approved and reviewed by: tjr
Tested on: alpha, i386, ia64 and sparc64
2003-02-24 08:07:05 +00:00
Ruslan Ermilov
522ccf3f35
mdoc(7) police: markup laundry.
2003-02-23 01:47:49 +00:00
Ruslan Ermilov
8b6eff89b0
Grammar.
2003-02-23 01:43:45 +00:00
David E. O'Brien
fe79b917d4
We can simplify this Makefile down to a single line now.
2003-02-19 16:56:30 +00:00
David E. O'Brien
e0d2c36186
Add an example to help one manually set the date on one machine taking the out
...
put from another.
2003-02-18 23:12:55 +00:00
David E. O'Brien
f534f8f72b
chflags(1) repo copied, usr.bin->bin.
...
We've been installing chflags(1) into /bin since 2000-11-10, so this
shouldn't cause any problems.
2003-02-18 19:51:59 +00:00
Tim J. Robbins
b228ca4dea
Revert ALIGN change for the second and last time. I can't figure out
...
why this is breaking sparc64.
2003-02-18 02:08:20 +00:00
Tim J. Robbins
decb00f677
Second attempt at removing machdep.h and using ALIGN from <sys/param.h>.
...
The problem with the previous attempt, as noticed by Marcel, was that
stacknxt was being aligned to a pointer boundary instead of an
ALIGNBYTES + 1 boundary, which broke sparc64.
2003-02-17 03:51:44 +00:00
Tim J. Robbins
da5f5439a4
Temporarily back out machdep.h/ALIGN changes. It seems that on sparc64,
...
using the alignment from sys/param.h (16) instead of the alignment
from machdep.h (8) tickled a nasty bug in the memory allocator that I
haven't been able to track down yet.
2003-02-16 03:28:11 +00:00
Tim J. Robbins
457ae4f0d4
Use the ALIGN macro from <sys/param.h> instead of defining our own
...
incorrect version in machdep.h. Delete machdep.h.
2003-02-14 23:53:19 +00:00
Maxim Sobolev
6f15bc16ed
Fix slight disorder that broke sorting. Put in bold warning about the
...
fact that in this case order matters.
Submitted by: Peter Edwards <pmedwards@eircom.net>
2003-02-05 19:22:39 +00:00
Philippe Charnier
53a24b9359
Add FBSDID.
2003-02-05 13:23:46 +00:00
Philippe Charnier
eaed5652bf
Display elapsed time (-o etime) using [[dd-]hh:]mm:ss, which according to
...
Solaris man page is the POSIX way.
Reviewed by: jmallett
2003-02-05 13:18:17 +00:00
Philippe Charnier
e869e50704
Enclose sccsid according to style(9).
...
udp/timed -> timed/udp
2003-02-05 12:56:40 +00:00
Tom Rhodes
b63094f6ec
Remove another unused doc Makefile.
2003-02-04 20:46:23 +00:00
Tom Rhodes
02b911053d
Cross ref chflags(1).
...
Suggested by: Craig Carey <research@ijs.co.nz) on -doc.
2003-02-04 20:38:51 +00:00
Tony Finch
1413f7de53
Improve the layout of the description of the various parameter expansion
...
modifiers. The paragraph that explains the difference between ${foo:-bar}
and ${foo-bar} etc. was not very visible.
2003-02-03 23:03:05 +00:00
Maxime Henrion
572417c7e4
Remove now unnecessary main() prototype.
2003-01-29 21:46:12 +00:00
Tim J. Robbins
c57bc2b10e
Ensure that the TTY file descriptor is greater than or equal to 10 so that
...
it doesn't interfere with the user's redirections.
PR: 47136
MFC after: 1 week
2003-01-27 07:41:12 +00:00
Poul-Henning Kamp
cd967e322a
Don't call DIOCWLABEL on disks, it is not implemented, and calling it
...
like this negated any practical value of the feature.
2003-01-26 11:13:40 +00:00
Tim J. Robbins
6da31df83b
Make this compile with DEBUG defined now that WARNS=0 has been removed
...
from the Makefile:
- Print pointers with %p instead of %x.
- Include missing headers to get prototypes.
Noticed by: benno
2003-01-21 10:06:04 +00:00
Chris Costello
d2e59e8d5d
Reference maclabel(7).
...
Sponsored by: DARPA, Network Associates Laboratories
2003-01-20 21:25:00 +00:00
David E. O'Brien
d8ac087563
kenv(1) has been repo copied from usr.bin to bin.
...
Sometimes we need kenv(1) in /etc/rc.diskless*.
2003-01-20 17:56:25 +00:00
Juli Mallett
78b1878a16
Per-variable\ entry headers, to allow the 'ps -otime -otime=FOO' or similar
...
case to do the right thing and affect exactly one column. This is consistent
with GNU ps(1) in BSD mode, and POLA.
2003-01-19 00:31:16 +00:00
Juli Mallett
fde411d5a1
When inserting a non-user-specified (e.g. not via -o or -O) format, don't dupe
...
one that is already there. This is consistent with GNU ps(1)'s BSD mode, and
POLA.
Reported by: Andy Farkas <andyf@speednet.com.au>
Tested by: Andy Farkas <andyf@speednet.com.au>
2003-01-19 00:22:34 +00:00
Juli Mallett
775bba9fd8
Refer to the process label as proclabel, as there is a function called label,
...
and that's what these locals were called before.
2003-01-18 03:31:30 +00:00
Johan Karlsson
de216a83c2
realpath(3) should use PATH_MAX instead of MAXPATHLEN according to POSIX.
...
This also reverts the PATH_MAX -> MAXPATHLEN part of
rev 1.3 of src/bin/realpath/realpath.c
Requested by: imp
Reviewed by: imp, bde
2003-01-15 21:22:55 +00:00