Commit Graph

3611 Commits

Author SHA1 Message Date
ps
0837a683d3 -U cannot be an option since some signals start with U. -u is the
documented behavior so only check for that.
2000-11-12 07:43:50 +00:00
dg
3d05ea1832 Changed variable killchar to killch and erasechar to erasech to avoid
a name clash with the library functions of the same name (in libncurses).
This problem was masked when building tset shared (the local symbols had
precedence), but caused tset to core dump when it was built -static.
2000-11-11 23:03:38 +00:00
ru
a6f5d950d8 Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
ru
ad83297f7a Fixed typo: .ar -> .Ar. 2000-11-10 14:40:50 +00:00
obrien
5e5132aa18 Install `chflags' in the root partition, NOT /usr where it is not available
in single user mode.
2000-11-10 05:31:52 +00:00
ru
208f492793 Fixed typo: .FL -> .Fl 2000-11-06 09:29:17 +00:00
ru
97db99868e .UC -> .Os 2000-11-06 09:27:03 +00:00
ru
c0f9d906af Fixed typo: .EL -> .El 2000-11-06 09:20:09 +00:00
obrien
f95e798de3 Switch over to using the Christos Zoulas maintained version in contrib/
This also gives use the same exact results as NetBSD, thus sharing more
code with our bretheren.
2000-11-05 09:06:06 +00:00
sheldonh
2bcb9c36d1 Good-bye cruel world.
This software is obsolete, and its successor has interested parties
looking at it.  Even if nobody was looking at kgzip, this utility
still wouldn't be useful in an environment where aout kernels
are a thing of the past.

PR:		20643
Submitted by:	Peter Pentchev <roam@orbitel.bg>
2000-11-02 10:04:02 +00:00
sheldonh
9efecf837b Disconnect kzip from the build, as it's about to enter late retirement.
PR:		20643
Submitted by:	Peter Pentchev <roam@orbitel.bg>
2000-11-02 10:00:34 +00:00
obrien
7d8c300637 Remove vestages of a previous implimentation of "-h".
Submitted by:	Tony Finch <dot@dotat.at>
2000-10-31 02:26:10 +00:00
guido
4c8593424d Now that the amount of (pseudo) interfaces is growing with IPv6,
get rid of stupid upperbound on the amount of interfaces (was 8).
2000-10-30 11:53:19 +00:00
obrien
516660c161 string.h has been repo copied to mystring.h 2000-10-30 10:04:56 +00:00
jedgar
14485f4b7a Remove obsolete /dev/drum references
Reviewed by:	alex, asmodai, billf
2000-10-29 12:19:52 +00:00
obrien
20c43a6b76 Add a new "-h" Human-friendly h/m/s output format.
Reviewed by:	bde
2000-10-28 21:48:53 +00:00
gshapiro
90b1557dac Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
obrien
0d9cb3fb61 While I'm here and got caught by it, add FreeBSD IDs so the next guy
won't have trouble committing his bits.
2000-10-26 10:07:20 +00:00
obrien
82cfc38d6c Having a local `string.h' is just asking for trouble. As is having a
`struct string'.  Rename the struct and effectively rename the header
to `mystring.h'
2000-10-26 10:00:52 +00:00
obrien
ec81787534 Use the pathnames from pathnames.h rather than hardcoding them here.
Add RCSIDs.
2000-10-26 09:52:06 +00:00
phk
520b5dea3b Add $FreeBSD$
Rename local offsetof() macro to boffsetof() to avoid clashing with
the offsetof() from <stddef.h>
2000-10-24 13:54:31 +00:00
ru
79719d2ea5 The -o is the default for "short" display, not the -h. 2000-10-24 08:47:07 +00:00
ru
7885ad0000 -Wall cleanup.
PR:		22187
2000-10-23 12:18:34 +00:00
obrien
d53b670c65 The last "-iDsym" makes more sense as "-iUsym". 2000-10-22 23:49:29 +00:00
phk
7fb21cfd39 Avoid using the semi-bogus include <struct.h>
All uses of fldsiz() in this file were wrong anyway.
2000-10-22 17:38:32 +00:00
joe
c6d8349444 Augment the 'ifaddr' structure with a 'struct if_data' to keep
statistics on a per network address basis.

Teach the IPv4 and IPv6 input/output routines to log packets/bytes
against the network address connected to the flow.

Teach netstat to display the per-address stats for IP protocols
when 'netstat -i' is evoked, instead of displaying the per-interface
stats.
2000-10-19 23:15:54 +00:00
des
1763356b83 Understand the difference between an empty file and a non-existent file.
This has been sitting in my tree for ages...
2000-10-19 21:05:59 +00:00
n_hibma
f7a4717fd2 Fix the build break.
The solution isn't perfect, instead of printing the first report, it
will the report no report id, but the proper solution is more complex
than this. We would need to iterate over the report descriptor and
figure out all the report id's before starting to print.
2000-10-17 17:13:38 +00:00
ru
cecaff41fb Backed out part of the revision 1.10.
BLOCKSIZE could specify arbitrary block sizes, not exactly 1K blocks.
2000-10-16 10:00:50 +00:00
brian
d01c82cf1a Include sys/types.h 2000-10-16 08:28:50 +00:00
brian
fcbddcd644 Include sys/types.h 2000-10-16 08:22:42 +00:00
brian
9ccce83dc8 Include sys/types.h 2000-10-16 08:13:59 +00:00
alex
16b7b5256b Correct the usage of mktemp:
The old version lists all args as optional.
However, you need at least one arg to get a usable result.

PR:		18667
Reported by:	obrien
Submitted by:	Johan Karlsson <k@numeri.campus.luth.se>
Reviewed by:	sheldonh
2000-10-15 11:35:48 +00:00
obrien
5eab735c6e Remove GLOBAL -- it has moved to Ports.
Approved by:	unanimous response on arch@freebsd.org (June time frame)
2000-10-15 07:10:42 +00:00
bmilekic
95b1ae9f22 Change the "in use" percentage metric to actually display a real
"in use" percentage. In other words, show how much of mb_map is in use.
2000-10-15 06:29:22 +00:00
des
4c9cb1a066 Skip sockets with no SCB 2000-10-13 16:25:37 +00:00
des
51c91a72d9 Fix suffix matching.
Restore historical behaviour when the first argument is an empty string.

Submitted by:	Alexander N. Kabaev <ak03@gte.com>
Pointed out by:	bde
2000-10-12 16:22:15 +00:00
gshapiro
75662c3ef9 Fix man page installation
Style fixes

Submitted by:	bde
2000-10-11 04:53:30 +00:00
gshapiro
4e71ee6c3d Use sendmail's version of vacation. It is command line and database
compatible with the old version but includes new functionality and bug fixes.

Since it is not part of the NO_SENDMAIL make.conf option, libsmdb and
libsmutil should always be built for vacation's sake.

PR:		15227
2000-10-10 18:14:30 +00:00
wollman
c5c43ce91f Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
<time.h>).
2000-10-10 01:50:26 +00:00
kris
fa43aea9dc Don't overflow in command-line args
Submitted by:	Mike Heffner <mheffner@vt.edu>
2000-10-09 05:44:39 +00:00
will
f822197128 Add :L and :U variable modifiers. These convert the variable's value to
all-lower or all-upper case characters, respectively.  These were added
to further reduce differences between NetBSD/OpenBSD and FreeBSD make(1)
to propagate OpenPackages.

PR:		19959
Submitted by:	Gaspar Chilingarav <nm@web.am>
2000-10-09 04:53:36 +00:00
will
f64d032304 Add :C/// variable modifier, which is similar to :S/// in functionality
but allows for regex.  I removed NO_REGEX since no one could give a reason
to have it, and since we don't use make in bootstrap tools, it's not needed.

This is mostly added to synch up with NetBSD/OpenBSD so as to eliminate
roadblocks in the OpenPackages project (see http://www.openpackages.org/).
It's also quite useful, and costs us only about 3 kilobytes of space.

PR:		21605
Submitted by:	Hubert Feyrer <hubertf@NetBSD.org>
Reviewed by:	silence on -arch
Obtained from:	NetBSD
2000-10-09 04:31:43 +00:00
phk
a4f549597e Initiate deorbit burn sequence for <machine/console.h>.
Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.
2000-10-08 21:34:00 +00:00
bde
d0ce9bc4dc Use the correct timestamp for the -C -p case when the comparison fails.
A garbage timestamp was used for at least installing /dev/null with -C -p
when the target doesn't already exist.
2000-10-08 09:17:56 +00:00
des
80571cee96 Document the fact that sockstat now lists Unix domain sockets, and the new
command-line options for selecting what to display.
2000-10-07 14:11:43 +00:00
des
35a375ea90 Total rewrite. This was actually the first non-trivial Perl script I ever
wrote, and as such was not very pretty.

Changes that may cause problems for people who use sockstat in scripts:

 - sockstat(8) now displays Unix domain sockets in addition to IPv4 and IPv6
 - the last period in local and foreign addresses is changed to a colon to
   make the port number easier to spot
 - IPv4 and IPv6 sockets are listed separately (IPv4 first, then IPv6, then
   Unix)
2000-10-07 14:10:37 +00:00
alex
0e384cf691 List the -t option in usage().
PR:		21734
Submitted by:	Giorgos Keramidas <keramida@ceid.upatras.gr>
2000-10-06 12:10:51 +00:00
alex
b97a419f3e List the options in alphabetic order.
PR:		21734
Submitted by:	Johan Karlsson <k@numeri.campus.luth.se>
2000-10-06 12:07:46 +00:00
ru
1e41fdc2cf It may happen so that the local talk daemon is not running.
Let the user know...
2000-10-05 17:39:01 +00:00