summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* o Modify format of /etc/fbtab to accept glob matching patterns forrwatson2001-10-251-35/+23
| | | | | | | | | | | | | | target devices, not just individual devices and directories. This permits activities such as: ttyv0 0600 /dev/dsp* Whereas previously that was not supported. This change is backwards-compatible, except where device names included globbing characters, which is not the case for any devices listed in MAKEDEV. Submitted by: Maxime Henrion <mux@qualys.com> MFC after: 3 weeks
* Update Labour Day in New Zealand. It's definitely not today. Thisgrog2001-10-251-1/+1
| | | | | year it was on 22 October, which makes me think that it's the 4th Monday in October. At least this way it's correct for this year.
* Fix typo.murray2001-10-231-1/+1
| | | | | PR: docs/31388 Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
* Add ia64 support (stubs, just like i386, alpha)peter2001-10-233-0/+61
|
* This program uses sysexits(3), so it does not exit 1 on failure.dd2001-10-231-3/+1
| | | | PR: 31415
* Back out part of previous commit: remove #include <sys/proc.h>.des2001-10-222-2/+0
|
* #include <sys/proc.h> where needed (for the stop event definitions) anddes2001-10-227-29/+49
| | | | reorder includes everywhere to conform to style(9).
* Teach truss(1) to display sockaddrs. It currently knows about AF_INET,des2001-10-212-3/+82
| | | | | | | | | AF_INET6 and AF_UNIX sockaddrs, and will recognize accept(), bind(), connect(), getpeername() and getsockname() as syscalls taking sockaddr arguments. Some enterprising soul might want to add (and test) support for the send() / recv() family of syscalls as well. MFC after: 1 week
* Properly handle backslash newline within an identifier or keyword.schweikh2001-10-191-1/+11
| | | | | | | | PR: bin/6015 Submitted by: myself (schweikh) Patch by: Alexey V.Neyman <alex.neyman@auriga.ru> Tested by: indenting my chess problem solver and running its test suite MFC after: 3 weeks
* Fixed most style bugs in previous commit.bde2001-10-191-14/+11
|
* Fixed missing DPADD and misplaced $FreeBSD$ in previous commit.bde2001-10-191-1/+2
|
* Print statistics for AF_IPX.mdodd2001-10-191-0/+2
| | | | Note that the IPX code doesn't update these correctly yet, but should.
* Add libedit support to tftp.mdodd2001-10-192-8/+46
|
* Remove some EOL whitespace. Update usage() to current reality.mike2001-10-171-5/+5
|
* Use whois.example.com rather than non-existent.host in an example.mike2001-10-171-2/+2
|
* If the remote uptime is less than one minute, print the uptime infenner2001-10-171-0/+2
| | | | seconds instead of leaving the uptime field blank.
* Use strlcpy(3) instead of strcpy(3) to copy optarg into a fixed-size buffer.sobomax2001-10-162-2/+2
| | | | MFC after: 2 weeks
* Removed unused include of kernel-only file <sys/lock.h>.bde2001-10-131-1/+0
|
* o Treat a buffer as a non-NUL terminated string, because the whoismike2001-10-121-34/+24
| | | | | | | | | | | | | | server may not return a new line character on the final line. o Remove the whois.networksolutions.com fallback code, which is no longer needed. o Instead of determining a hostname by terminating it when we see whitespace, only allow hostname characters and terminate the string when it's not such a character. o Add a small optimization in a for loop. PR: 30968 Reviewed by: -audit MFC after: 4 days
* Minor cleanup, no functional changes:tg2001-10-125-96/+108
| | | | | | - Add/change some comments, - remove superfluous `if (1||x)' and re-indent, - fix initialization of floppyinfo[] to get rid of warning.
* Fixed bugs from revision 1.27. Specifically:ru2001-10-111-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Restore the ability to look up network names in the networks(5) database by passing getnetbyaddr(3) shifted network numbers, but without duplicating the old bug that was fixed in 1.27 (we now only shift netnums with standard netmasks). For example: Before: $ netstat -r [...] 127.0.1/24 localhost UGSc 0 0 lo0 127.0.2/24 localhost UGSc 0 0 lo0 After: $ netstat -r [...] subnet1/24 localhost UGSc 0 0 lo0 subnet2/24 localhost UGSc 0 0 lo0 - Only try to lookup with the forged netmask if the mask was not explicitly specified, like it was before 1.27. For example: Before: $ netstat -r net-44.ampr.org/25 localhost UGSc 0 0 lo0 net-44.ampr.org/25 localhost UGSc 0 0 lo0 After: 44.108.2/25 localhost UGSc 0 0 lo0 44.108.2.128/25 localhost UGSc 0 0 lo0 - Make sure to null-terminate the resulting string. MFC after: 1 week
* Compensate for "Compensate for header dethreading" by backing it out.bde2001-10-109-9/+0
|
* Make this build on ia64.dfr2001-10-091-1/+4
|
* Remove greatly outdated comment that systat(1) takes 2-10% of the CPU time.sobomax2001-10-091-1/+0
| | | | This isn't true nowadays.
* Pad input with null characters if it is not a multiple of 3.ru2001-10-092-1/+7
| | | | | PR: bin/31156 MFC after: 1 week
* The previous change also disaligned lines with AF_IPX and AF_NSru2001-10-091-10/+10
| | | | | addresses. Unshrink "Network" width to the previous value, and make sure everything is aligned again.
* Update for FILE v3.37.ru2001-10-092-5/+23
|
* Minor output formatting for 'netstat -i':mdodd2001-10-091-7/+7
| | | | | - Right align Mtu - Print AF_INET family with correct field width.
* Update for FILE v3.37.obrien2001-10-081-6/+2
| | | | | FreeBSD no longer needs the daylight hack. (we really should sync our timezone code up ...)
* Clarify foundation of GDR/DDR.grog2001-10-071-1/+1
|
* Document -depthobrien2001-10-061-0/+13
|
* Add an entry with my birthday.keramida2001-10-061-0/+1
| | | | Approved by: nik
* Properly static'ize increase_maxtable().obrien2001-10-051-1/+1
| | | | Submitted by: db@db.net
* Fix the output so it really does dynamically resize the table.obrien2001-10-051-14/+44
| | | | Submitted by: Diane Bruce <db@db.net>
* Increase the table size by an order of magnitude.obrien2001-10-051-1/+1
| | | | | | | The previous version was too small and YACC core dumped on the during the hybrid-7 build. Submitted by: Diane Bruce <db@db.net>
* Remove duplicate entries.grog2001-10-042-2/+0
|
* - First shot at PIC emulation;tg2001-10-0213-589/+741
| | | | | | | | - better 8250 emulation; - fake vertical retrace bit in Input Status #1 register (this was lost in the VGA emu rewrite). Submitted by: Igor Serikov <bt@turtle.pangeatech.com>
* Allow "obsolete" (but commonly-used) command line style to be usedfenner2001-10-021-2/+3
| | | | | | with -F, e.g. tail -1 -F /var/log/messages. Submitted by: Maxim Konovalov <maxim@macomnet.ru>
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-012-2/+2
|
* mdoc(7) police: make double quotes in #include statement visible.ru2001-10-011-1/+1
|
* mdoc(7) police: s/FreeBSD/.Fx/, bump document date.ru2001-10-011-2/+4
|
* Adjust to the libedit enhancements some functions now take more parameters.obrien2001-10-013-3/+5
| | | | Partially submitted by: kris
* Add description for calendar.freebsd.grog2001-10-011-0/+2
|
* Correct spelling of Labour Day in Australia, and clarify which states ↵grog2001-10-011-4/+6
| | | | | | | | | observe it. Add Queen's Birthday in WA. Expand unnecessary abbreviation. Correct rules for German Buss- und Betttag. Disunite Ivory Coast and Panama.
* Re-enable mbtypes statistics in the mbuf allocator. I disabled thesebmilekic2001-09-302-77/+62
| | | | | | | | | | | | | | | | | when I changed the allocator bits. This implements per-CPU mbtypes stats by keeping net number of decrements/increments of a given mbtype per-CPU and then summing all of the per-CPU mbtypes to produce the total net number of allocated mbufs of the given mbtype. Counters are carefully balanced to avoid/prevent underflows/overflows. mbtypes stats are re-enabled with the idea that we may occasionally (although very rarely) observe slight inconsistencies in the stat reporting. Most of the time, we should be fine, though. Also make appropriate modifications to netstat(1) and systat(1) to do the necessary reporting. Submitted by: Jiangyi Liu <jyliu@163.net>
* use openpty() instead of rolling a custom function (which didn't supportbillf2001-09-282-30/+18
| | | | the full range of ptys anyways)
* Clarify that -h implies -c.obrien2001-09-241-0/+5
|
* Don't print running stats unless we're the foreground process.des2001-09-231-0/+11
| | | | PR: 30764
* Don't add space after comma unless there was already one (prevents amikeh2001-09-231-4/+4
| | | | | | | | rare overflow). Optimize loop slightly. Don't exit if realloc can't shrink a buffer (just continue and use the larger buffer). Obtained from: OpenBSD MFC after: 2 weeks
* blah, remove debugging code that crept in with last commit.obrien2001-09-231-1/+0
|
OpenPOWER on IntegriCloud