summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Unifdef has got some crack-smoking exit values:peter2003-01-041-10/+1
| | | | | | | | | | | | | | "The unifdef utility exits 0 if the output is an exact copy of the input, 1 if not, and 2 if in trouble." This causes an 'Error code 1 (ignored)' in the world output, which upsets the whereintheworld scripts that the tinderboxes use. However, this stuff here is a relic. We do not enable HAVE_TCL_INTERP nor HAVE_PERL_INTERP.. The Makefile hooks to turn them on have gone ages ago, and this stuff was here for release building purposes only. Rather than fight with the tinderbox builds, clean house a bit and remove the last remaining unused relics of this stuff.
* Complete the bzip2 suite.obrien2003-01-042-0/+12
|
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-018-11/+11
| | | | especially in troff files.
* Fix typos; add FreeBSD Id where missing.schweikh2003-01-016-11/+14
|
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-3012-12/+14
| | | | Add FreeBSD Id tag where missing.
* Back out rev 1.20; getbsize(3)'s original interface has been restored.mike2002-12-301-3/+1
| | | | Approved by: markm
* Back out rev 1.27; getbsize(3)'s original interface has been restored.mike2002-12-301-2/+1
| | | | Approved by: markm
* Move elf2aout back to /usr/bin -- it is a general development tool, notobrien2002-12-301-0/+1
| | | | a sysadmin tool.
* Use the offical sys/endian.h rather than reaching way over into anotherobrien2002-12-302-2/+1
| | | | binary's directory to use a private header.
* Adjust path to crunchide.obrien2002-12-301-3/+3
|
* Adjust max WARNs for sparc64.obrien2002-12-301-2/+1
|
* Style cleanup.obrien2002-12-301-11/+10
|
* Make WARNS=5 clean.obrien2002-12-302-5/+3
| | | | Tested on: sparc64, Athlon[32]
* This builds fine with WARNS.obrien2002-12-301-1/+0
| | | | Tested on: sparc64, athlon[32]
* Diff-reduction WRT crypto telnet; replace "#if 0" code removed by anmarkm2002-12-291-0/+41
| | | | earlier invocation of unifdef(1).
* english(4) police.schweikh2002-12-2711-12/+12
|
* Clarify the distinction between the Proclamation of the Province ofgrog2002-12-252-1/+2
| | | | South Australia and the date of the Proclamation Day holiday.
* mdoc(7) police: Deal with self-xrefs.ru2002-12-246-12/+12
|
* Check NULL pointer to avoid SIGSEGVdavidxu2002-12-241-1/+2
|
* Fixed the abuses of .Ql visible on stderr in troff mode.ru2002-12-235-68/+68
| | | | PR: docs/37176
* mdoc(7) police: most -mdoc macros can take multiple arguments.ru2002-12-231-2/+1
|
OpenPOWER on IntegriCloud