summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Remove vestages of a previous implimentation of "-h".obrien2000-10-311-2/+2
| | | | Submitted by: Tony Finch <dot@dotat.at>
* Now that the amount of (pseudo) interfaces is growing with IPv6,guido2000-10-301-22/+30
| | | | get rid of stupid upperbound on the amount of interfaces (was 8).
* string.h has been repo copied to mystring.hobrien2000-10-302-72/+0
|
* Remove obsolete /dev/drum referencesjedgar2000-10-291-2/+1
| | | | Reviewed by: alex, asmodai, billf
* Add a new "-h" Human-friendly h/m/s output format.obrien2000-10-282-5/+45
| | | | Reviewed by: bde
* Add a MAINTAINER= line so people know who to blamegshapiro2000-10-261-0/+2
|
* While I'm here and got caught by it, add FreeBSD IDs so the next guyobrien2000-10-2684-6/+84
| | | | won't have trouble committing his bits.
* Having a local `string.h' is just asking for trouble. As is having aobrien2000-10-2613-24/+46
| | | | | `struct string'. Rename the struct and effectively rename the header to `mystring.h'
* Use the pathnames from pathnames.h rather than hardcoding them here.obrien2000-10-262-2/+5
| | | | Add RCSIDs.
* Add $FreeBSD$phk2000-10-243-3/+9
| | | | | Rename local offsetof() macro to boffsetof() to avoid clashing with the offsetof() from <stddef.h>
* The -o is the default for "short" display, not the -h.ru2000-10-241-3/+4
|
* -Wall cleanup.ru2000-10-233-13/+10
| | | | PR: 22187
* The last "-iDsym" makes more sense as "-iUsym".obrien2000-10-221-1/+1
|
* Avoid using the semi-bogus include <struct.h>phk2000-10-221-5/+3
| | | | All uses of fldsiz() in this file were wrong anyway.
* Augment the 'ifaddr' structure with a 'struct if_data' to keepjoe2000-10-191-9/+47
| | | | | | | | | | | 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.
* Understand the difference between an empty file and a non-existent file.des2000-10-191-9/+13
| | | | This has been sitting in my tree for ages...
* Fix the build break.n_hibma2000-10-171-15/+9
| | | | | | | 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.
* Backed out part of the revision 1.10.ru2000-10-161-1/+2
| | | | BLOCKSIZE could specify arbitrary block sizes, not exactly 1K blocks.
* Include sys/types.hbrian2000-10-161-0/+3
|
* Include sys/types.hbrian2000-10-162-0/+6
|
* Include sys/types.hbrian2000-10-162-0/+4
|
* Correct the usage of mktemp:alex2000-10-152-2/+9
| | | | | | | | | | 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
* Remove GLOBAL -- it has moved to Ports.obrien2000-10-159-98/+0
| | | | Approved by: unanimous response on arch@freebsd.org (June time frame)
* Change the "in use" percentage metric to actually display a realbmilekic2000-10-151-9/+14
| | | | "in use" percentage. In other words, show how much of mb_map is in use.
* Skip sockets with no SCBdes2000-10-131-0/+2
|
* Fix suffix matching.des2000-10-121-2/+7
| | | | | | | Restore historical behaviour when the first argument is an empty string. Submitted by: Alexander N. Kabaev <ak03@gte.com> Pointed out by: bde
* Fix man page installationgshapiro2000-10-111-6/+4
| | | | | | Style fixes Submitted by: bde
* Use sendmail's version of vacation. It is command line and databasegshapiro2000-10-103-729/+31
| | | | | | | | | 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
* Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and therebywollman2000-10-102-0/+2
| | | | <time.h>).
* Don't overflow in command-line argskris2000-10-091-2/+2
| | | | Submitted by: Mike Heffner <mheffner@vt.edu>
* Add :L and :U variable modifiers. These convert the variable's value towill2000-10-092-0/+38
| | | | | | | | | 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>
* Add :C/// variable modifier, which is similar to :S/// in functionalitywill2000-10-092-0/+414
| | | | | | | | | | | | | | 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
* Initiate deorbit burn sequence for <machine/console.h>.phk2000-10-081-1/+1
| | | | | | | | | 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.
* Use the correct timestamp for the -C -p case when the comparison fails.bde2000-10-081-2/+2
| | | | | A garbage timestamp was used for at least installing /dev/null with -C -p when the target doesn't already exist.
* Document the fact that sockstat now lists Unix domain sockets, and the newdes2000-10-071-3/+27
| | | | command-line options for selecting what to display.
* Total rewrite. This was actually the first non-trivial Perl script I everdes2000-10-071-26/+129
| | | | | | | | | | | | 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)
* List the -t option in usage().alex2000-10-061-1/+1
| | | | | PR: 21734 Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
* List the options in alphabetic order.alex2000-10-061-1/+1
| | | | | PR: 21734 Submitted by: Johan Karlsson <k@numeri.campus.luth.se>
* It may happen so that the local talk daemon is not running.ru2000-10-051-0/+1
| | | | Let the user know...
* Do not allow `finger -m /somefile' as well.ru2000-10-051-3/+3
|
* Replaced unsafe use of sprintf() with snprintf().ru2000-10-031-2/+2
|
* Don't allow finger /somefile, only allow filname expansions frombrian2000-10-021-0/+10
| | | | | | inside /etc/finger.conf PR: 21704
* Instead of printing '(null)' if there is no tty, print 'no tty'.n_hibma2000-10-021-1/+5
| | | | | In the case where the program is executed by a daemon running in the background the terminal might not have a tty. The '(null)' is confusing.
* Assume MAINTAINER. I will be taking the job of merging NetBSD/OpenBSDwill2000-09-291-0/+2
| | | | | | | improvements (including :C & :L, among others). After that, I'll be coming up with other ways to improve make(1). Discussed in spirit with: peter
* Add ia64 support and fix problems when cross-building when the host hasdfr2000-09-291-13/+15
| | | | a different pointer size from the target.
* *** empty log message ***peter2000-09-252-12/+28
|
* Do not call freeaddrinfo(res0) twice.ru2000-09-251-0/+1
| | | | PR: bin/21476
* Don't assume ai0->ai_canonname will always be filled in. Print thewollman2000-09-241-1/+6
| | | | | | user-supplied host name if we can't get a canonical name. Obtained from: contrib/tcp_wrappers/socket.c rev. 1.4 (in spirit)
* Implement IPv6 support. Also restructure the way multi-homed hostswollman2000-09-221-57/+91
| | | | are treated, regardless of protocol.
* Delete a bogus reference to T/TCP -- the problem still exists on Standardwollman2000-09-221-3/+1
| | | | TCP.
OpenPOWER on IntegriCloud