summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Add __unused to the declaration of yyrcsid in a more portable way.davidc2003-02-121-1/+4
| | | | Discussed with: alfred, bde, jmallett, obrien
* Get Fox Talbot's birth year right. How could anybody have expectedgrog2003-02-111-1/+1
| | | | photography in the 15th century?
* - Determine the size of buffers with sizeof() instead of usingrobert2003-02-101-7/+7
| | | | | plain magic numbers - one of them was apparently wrong but unharmful. - Remove empty line.
* Make this work without COMPAT_43 by using tcgetattr()/tcsetattr() insteadtjr2003-02-101-10/+10
| | | | of ioctl TIOCGETP/TIOCSETP.
* Backout my previous commit as requested. This solution generatesdavidc2003-02-081-2/+1
| | | | parsers that are non-portable.
* Use waitpid() instead of wait() since we know the pid of the process wedes2003-02-081-1/+2
| | | | are waiting for, and we don't want to reap the wrong process.
* I seem to have never added myself to the FreeBSD birthday calendar.chris2003-02-081-0/+1
|
* Add __unused to the declaration of yyrcsid.davidc2003-02-071-1/+2
|
* Fix singular/plural confusion in a printf.mike2003-02-061-1/+2
| | | | | | PR: 47953 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> MFC after: 3 days
* Pass the correct, verified username to PAM instead of getlogin().des2003-02-061-1/+1
|
* Do not start err(3) strings with uppercase nor dot terminate them.charnier2003-02-052-9/+8
| | | | Standard sccsid[] area according to style(9).
* Header was included twice. Hardcode program name in usage string.charnier2003-02-051-5/+1
|
* Wrap long line. Use .Ar instead of .Nm where appropriate.charnier2003-02-051-8/+9
|
* Remove 2 more unused doc Makefiles.trhodes2003-02-042-23/+0
|
* Remove another unused Makefile.trhodes2003-02-031-8/+0
|
* Add a man page.obrien2003-02-032-1/+118
|
* Make WARNS=5 clean even on 64-bit platforms.obrien2003-02-032-35/+36
|
* Make WARNS=5 on i386, (WARNS=1 on 64-bit platforms).obrien2003-02-032-59/+59
| | | | Submitted by: dwmalone (tweaked by me)
* Try to tighten up the types a little bit to help debugging with GDB.obrien2003-02-021-35/+36
|
* Add my birthday.rushani2003-02-011-0/+1
| | | | Approved by: hrs (mentor)
* The newly appointed .org registrar has a pecular output format soroberto2003-01-311-1/+15
| | | | | | | | whois doesn't follow the link to the authoritative registrar. Fix it. PR: bin/47770 Submitted by: Alain Thivillon <at@rominet.net> MFC after: 7 days
* A few changes for clarity.trhodes2003-01-271-13/+17
| | | | | PR: 47170 Submitted by: Gary W. Swearingen <swear@attbi.com> (original version)
* Don't try to fseek before the beginning of the file; POSIX requires thatfenner2003-01-271-7/+8
| | | | | | this return an error. This re-enables display of the first entry in /var/account/acct instead of the error "lastcomm: /var/account/acct: Invalid argument"
* Add a reference to talkd(8) as a hint that talk(1) depends on akeramida2003-01-231-1/+2
| | | | | | service to work correctly. Inspired by: P. U. Kruppa <520023893678-0001@t-online.de>
* Slight cleanup of the ETA / BPS code. Avoid a division by zero.des2003-01-231-14/+12
|
* Document netrc support.des2003-01-221-0/+11
|
* Add -N option to specify a netrc file.des2003-01-221-29/+66
| | | | | | | Fix handling of -v option. Don't treat negative offsets as valid positive ones. Clean up the ETA and transfer rate code. Show transfer rate along with ETA if the verbose level is higher than 1.
* kenv(1) has been repo copied from usr.bin to bin.obrien2003-01-204-251/+0
| | | | Sometimes we need kenv(1) in /etc/rc.diskless*.
* Sync with upstream again:fanf2003-01-203-59/+148
| | | | | | | | | | | | | | * Be less strict about multi-line preprocessor directives (e.g. those with comments hanging off the right-hand end) since they're more of a problem in practise than I expected. Prompted by phk. * Fix the handling of "ignore" symbols. * Style pedantry from OpenBSD and Ted Unangst <tedu@stanford.edu>, including some whitespace fixes and removal of strcpy() (and not including excessively strict KNF enforcement). * Fix some typos and terminological inconsistencies.
* If we're going to build and install this on ia64, we might as wellmarcel2003-01-181-7/+20
| | | | | | teach it about ia64 specific section types, dynamic tags and machine type. This is a mostly insignificant change given the amount of work that this tool obviously needs...
* Style fixes: brackets around the argument of return, and removal offanf2003-01-171-36/+36
| | | | | | excess space. Obtained from: OpenBSD
* Add a necessary cast, because ptrdiff_t isn't necessarily the same as int.fanf2003-01-171-1/+1
| | | | Obtained from: OpenBSD
* Implement nonblocking tpc-connections. rpcgen -m does stillmbr2003-01-162-5/+33
| | | | | | | | produce backcompatible code. Reviewed by: rwatson Obtained from: NetBSD MFC after: 1 day
* Change the handling of non-anchored global substitutions of the emptymarcel2003-01-151-8/+9
| | | | | | | | | | | | | | | | | | | string from a silent implicit non-global substitution to a non-silent explicit fatal error. Archored substitutions are those containing '^' or '$'. The problem with changing the substitution to prevent an infinite number of matches is that it doesn't provide the necessary feedback to the user that there's a bug in the/a makefile. Reporting the bug without making the condition fatal makes the feedback mostly useless due to the way that make fails to prefix the error with program name, makefile file name and line number information. Note that global substitutions of the empty string anchored with '^' (start of string) or '$' (end of string) do not cause an infinite number of matches and are therefore not reported and hence are non- fatal. Suggested by: bde Tested with: buildworld
* Like sh_types, dt_tags just aren't in consecutive order, so we have to moveobrien2003-01-151-9/+78
| | | | away from indexing into an array. Also add Sun and GNU specific tags.
* The defined sh_types's just aren't in consecutive order, so we have to moveobrien2003-01-151-5/+32
| | | | away from indexing into an array.
* Hookup elfdump.obrien2003-01-151-0/+1
|
* Add a BSDL'ed util that displays information about ELF files.obrien2003-01-152-0/+1010
| | | | | | This is simular to readelf(1) and objdump(1). Submitted by: jake
* o Typo/Grammar fixesmtm2003-01-143-10/+18
| | | | | | | | o Added mini-function to correctly handle singular/plural of words ending in 'ly' Approved by: markm (mentor) Not objected to by: -audit
* Add my birthdaybrueffer2003-01-141-0/+1
| | | | Approved by: ceri (mentor)
* Prevent infinite substitution of the empty string by forcing non-marcel2003-01-131-0/+11
| | | | | | | | global substitution. In general it's a makefile bug to globally substitute the empty string, but it's a bug in make(1) if a bug in the makefile yields an infinite running time of make(1). Not objected to by: arch@
* Bow to the whining masses and change a union back into void *. Retaindillon2003-01-132-6/+6
| | | | | removal of unnecessary casts and throw in some minor cleanups to see if anyone complains, just for the hell of it.
* Change struct file f_data to un_data, a union of the correct structdillon2003-01-122-8/+6
| | | | | | | | | | pointer types, and remove a huge number of casts from code using it. Change struct xfile xf_data to xun_data (ABI is still compatible). If we need to add a #define for f_data and xf_data we can, but I don't think it will be necessary. There are no operational changes in this commit.
* Make 'sysctl vm.vmtotal' work properly using updated patch from Hiten.dillon2003-01-112-2/+2
| | | | | | | (the patch in the PR was stale). PR: kern/5689 Submitted by: Hiten Pandya <hiten@unixdaemons.com>
* The return-path is optional in a headline, therefore don't skip amikeh2003-01-091-5/+12
| | | | | | | message if it is missing the return-path. PR: bin/40314 (slightly different patch) MFC after: 2 weeks
* Correct a few more definitions, capitalize header fields consistently.mikeh2003-01-091-5/+5
|
* Clarify ~. escape definition, remove duplicate entry, and shorten amikeh2003-01-091-4/+3
| | | | definition.
* Document the ~. and ~? command escapes.mikeh2003-01-091-0/+4
|
* Add "ifstat" display:phk2003-01-048-2/+785
| | | | | | | | | | | | | | | ifstat Display the network traffic going through active interfaces on the system. Idle interfaces will not be displayed until they receive some traffic. For each interface being displayed, the current, peak and total statistics are displayed for incoming and outgoing traffic. By default, the ifstat display will automatically scale the units being used so that they are in a human-read- able format. The scaling units used for the current and peak traffic columns can be altered by the scale command. Submitted by: Trent Nelson <trent@arpa.com>
* When we close a display, mark it as not-initialized so that we willphk2003-01-041-0/+1
| | | | | | properly open it again next time. Submitted by: Trent Nelson <trent@arpa.com>
OpenPOWER on IntegriCloud