Commit Graph

5617 Commits

Author SHA1 Message Date
rse
5b0288dd0c s/progname/procname/ to be consistent with the other occurrences
of the option -c argument in SYNOPSIS and DESCRIPTION.
2002-07-15 11:33:30 +00:00
alfred
0524c94cee revert WARNS=4, it makes the alpha compile sad. 2002-07-15 09:53:34 +00:00
keramida
f7cbdf51ed mdoc fun: add a few more sentence breaks. 2002-07-15 07:51:10 +00:00
keramida
bfae74eab6 Kill excessive whitespace between macro arguments. 2002-07-15 07:35:36 +00:00
keramida
be36fd0f14 mdoc style: break up sentences 2002-07-15 07:16:54 +00:00
jmallett
fed551e328 Bit-width fields should be of type 'int'. 2002-07-15 06:57:25 +00:00
jmallett
35fdcc10ba Use %zu to print size_t. 2002-07-15 06:57:01 +00:00
keramida
f5da93b3aa Fix last hard sentence break. 2002-07-15 06:15:38 +00:00
keramida
402593a44e ^Z suspends any and all programs that don't do anything special about
it.  There's really no reason to explicitly mention it here.

Suggested by:	Mark Valentine <mark@thuvia.demon.co.uk>
2002-07-15 05:54:35 +00:00
tjr
3635de5b6e Support larger files (at least 64-bit offsets) by using off_t instead of
int to store offsets.
2002-07-15 05:31:55 +00:00
jmallett
5cf2af5a27 Kill extraneous whitespace. 2002-07-15 02:15:12 +00:00
keramida
6823a7fabe ^Z doesn't "stop" systat, but it "suspends" it.
PR:		docs/40489
Submitted by:	Dave McCammon <davemac11@yahoo.com>
2002-07-15 01:53:29 +00:00
alfred
c288b01e7d WARNS=4 2002-07-14 18:23:22 +00:00
alfred
adf0fb9f4e WARNS=4, add 2002-07-14 18:21:07 +00:00
alfred
6241f40508 WARNS=2, de-__P() 2002-07-14 18:16:06 +00:00
alfred
b7f8470fdf WARNS=2 2002-07-14 17:55:35 +00:00
alfred
d95d8b89ab - TI-RPC is now the default again for code generation.
- As before, inetd support support is turned of per default.
  Code for inetd can be made with -I.

- Support for ``transport monitors'' and the NLSPROVIDER env
  variable is still there , even if their use is not clear in
  non TLI stream based systems like Free-/NetBSD. It can be activated
  with -P.

- There are a few corrections in rpcgen.1 and usage function to conform
  to the code. Added and documented -P

- I removed the #ifdefs checks for Free-/NetBSD since we are the only
  ones who use this code. MaxOS X may have the same limitations as
  we have, so this code will correctly build for them.

- Generate correct cflags.

Submitted by: mbr, Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
PR: bin/29175, misc/27816
2002-07-14 17:54:00 +00:00
charnier
abd215c87f The .Nm utility 2002-07-14 15:12:00 +00:00
luigi
0a62a25a08 Clear local screen when ^D is typed.
Use setproctitle to remove arguments from 'ps' output.

MFC after: 3 days
2002-07-14 14:08:43 +00:00
ache
662958d09e More Russian holidays
PR:		39578
Submitted by:	Sergey A. Osokin <osa@FreeBSD.org.ru>
2002-07-14 13:29:27 +00:00
jmallett
8dcca6c133 Add a default case to the getopt(3) switch, remove a blank line nearby. 2002-07-14 02:34:37 +00:00
jmallett
868a694e34 Functions declared as <type> <identifier>(<nil>) should be declared as
<type> <identifier>(<void-type>) in ANSI C.
2002-07-14 02:03:23 +00:00
jmallett
1c19cb9624 Remove prototype for main(). 2002-07-14 02:00:45 +00:00
jmallett
62f24912aa Typo fixo: imbedded => embedded 2002-07-13 22:47:40 +00:00
tjr
2665673777 Account for space used by environment variables in a similar way to
xargs(1) when handling -exec ... {} + constructions.
2002-07-13 08:08:46 +00:00
ru
1713155fc2 Make dirty, rotten hack really work. As of rev. 1.16, ${BINDIR}
is only defined after <bsd.prog.mk> is included, and .if make(1)
conditionals are evaluted on the first pass.

Spotted by:	Michael Bretterklieber <mbretter@jawa.at>
2002-07-12 14:49:25 +00:00
joerg
1d2b625a3d Complete rewrite, once again.
This is basically a ``C compilation'' of the former whereis.pl file,
employing the same algorithms, and aiming at being mostly
UI-compatible to the old (legally tainted) 4.3BSD whereis(1).  In
comparision, the 4.4BSD-Lite version is just another variant of
which(1) only, where in particular the option to search for source
directories is sorely missing.

While i was at it, i added two more options which i contemplated doing
long since.  -x will suppress the run of locate(1) to find sources
that could not be found otherwise, potentially saving a lot of time
(but obviously, risking to not find some sources that are well hidden
in the tree).  -q will omit the leading name of the query, so in
particular, you can now do something like:

	cd `whereis -qs ls`

I'd explicitly like to thank johan for his review which was quite a
bit more than an average review, including sending me a lot of diffs.

Reviewed by:	johan
2002-07-11 21:20:54 +00:00
bde
26d377573f Set NO_WERROR to ignore the following warning which is emitted on
alphas:
    .../elf2aout.c:130: warning: cast increases required alignment of
    target type
The warning is about casting ((char *)e + phoff) to a struct pointer,
where e is aligned but phoff might be garbage, so I think the warning
should be emitted on most machines (even on i386's, alignment checking
might be on) and the correct fix would involve validation phoff before
using it.
2002-07-11 18:06:09 +00:00
peter
956c81630a Bring getconf back in from the cold. 2002-07-11 07:28:21 +00:00
dd
e0d563743c Correct a comment: Typing in the root password at the "Key:" prompt
doesn't (and shouldn't) work.
2002-07-10 04:05:33 +00:00
dd
d18ad3c432 Fix indentation: Don't use space where tabs will do; specifically,
don't use spaces at the beginning of a line where tabs are normally
used (the worst thing was that half of this file was right (tabs) and
half was wrong (spaces), making for painful reading).

Reviewed by:	/sbin/md5, diff -b
2002-07-10 04:03:33 +00:00
ache
d9db561695 Remove tcsetpgrp() stuff across suspend/continue because it cause upper level
tcsh killed on resume (fg). It is because tcsh is interactive itself and
do its own things with terminal group.
2002-07-09 19:11:12 +00:00
joerg
d82238c914 Add definitions for the industry-standard DLT density codes.
Obtained from:	Quantum DLT8000 manual
MFC after:	1 week
2002-07-09 11:26:09 +00:00
joerg
53a32e18d8 The rate between EUR and USD has never been as large as our old value
(1.12) since the introductions as a common EU currency.  Anyway, since
the rate now seems to stabilize just around 1.00, fix up our value
here.

MFC after:	1 day
2002-07-09 08:47:03 +00:00
johan
784b48a6bb Add ability to only beep when mail arrives.
comsat:
        only send two bell charecters if S_IXGRP is set and S_IXUSR is not.

biff:
        add new option 'b' to set S_IXGRP.

PR:             10931
Submitted by:   Andrew J. Korty <ajk@purdue.edu>
Approved by:    sheldonh (mentor)
MFC after:      1 month
2002-07-09 02:16:49 +00:00
johan
f271ae2de5 Add DIAGNOSTICS section to describe exit values.
Approved by:    sheldonh (mentor)
MFC after:      1 week
2002-07-09 02:13:26 +00:00
tjr
7cab19d576 Make cspace()'s second argument const. Make `escapes' in lputs() const. 2002-07-08 06:00:55 +00:00
tjr
ae7a40f1aa Silence WARNS=4 by passing a non-const buffer to regerror(). Since it
doesn't actually use the buffer when errbuf_size == 0, pass NULL.
2002-07-08 05:36:24 +00:00
robert
8f46f70dc0 Remove a debug output statement. 2002-07-07 15:29:00 +00:00
robert
2284d5668e - Fix the code in sbuf_need() to double the allocation size until
the new content size fits into the sbuf, instead of assuming
   that allocating twice the old size is enough.
 - Use memmove(3) rather than strcpy(3) to copy overlapping
   strings.

PR:		bin/39930
2002-07-07 15:24:36 +00:00
mike
27f3da3573 Don't depend on pollution in <limits.h> for the definition of
<stdint.h> macros.
2002-07-05 15:58:27 +00:00
tjr
8fe7f967d2 Correct the History section; uniq(1) appeared at least as early as V3.
Move the section to after Standards.
2002-07-05 09:44:47 +00:00
tjr
5fe78a36e5 Remove redundant description of input_file and output_file arguments. 2002-07-05 09:37:34 +00:00
tjr
3594350f00 Use err instead of errx when malloc fails. "malloc" is not a helpful
error message.
2002-07-05 09:28:13 +00:00
johan
02e0ee4130 Restore copyright and RCSID.
Remove duplicate $FreeBSD$, $NetBSD$.

Submitted by:   mike
Approved by:    sheldonh (mentor)
2002-07-04 12:29:39 +00:00
tjr
25aa3182cb Update another mention of <CR><CR> I missed the first time around (rev 1.2) 2002-07-04 05:16:19 +00:00
johan
4d3938381c Reconnect whereis
Approved by:    sheldonh (mentor)
2002-07-03 19:23:50 +00:00
johan
33c8d5df08 Switch to c version
Approved by:    sheldonh (mentor)
2002-07-03 19:22:52 +00:00
johan
ee3a0a0b04 compact synopsis
s/program [program ...]/program .../
        s/program [...]/program .../

Approved by:    sheldonh (mentor)
2002-07-03 19:20:59 +00:00
johan
7e4388a823 Remove -p flag.
OpenBSD's implementation lacks -p, and we don't want to
support the option now, only to lose it if/when we later
switch to OpenBSD's implementation.
This functionality is provided by which(1).

Approved by:    sheldonh (mentor)
2002-07-03 19:19:54 +00:00