aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Slight cleanup of the ETA / BPS code. Avoid a division by zero.Dag-Erling Smørgrav2003-01-231-14/+12
| | | | Notes: svn path=/head/; revision=109735
* Document netrc support.Dag-Erling Smørgrav2003-01-221-0/+11
| | | | Notes: svn path=/head/; revision=109703
* Add -N option to specify a netrc file.Dag-Erling Smørgrav2003-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. Notes: svn path=/head/; revision=109702
* kenv(1) has been repo copied from usr.bin to bin.David E. O'Brien2003-01-204-251/+0
| | | | | | | Sometimes we need kenv(1) in /etc/rc.diskless*. Notes: svn path=/head/; revision=109574
* Sync with upstream again:Tony Finch2003-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. Notes: svn path=/head/; revision=109567
* If we're going to build and install this on ia64, we might as wellMarcel Moolenaar2003-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... Notes: svn path=/head/; revision=109457
* Style fixes: brackets around the argument of return, and removal ofTony Finch2003-01-171-36/+36
| | | | | | | | | excess space. Obtained from: OpenBSD Notes: svn path=/head/; revision=109437
* Add a necessary cast, because ptrdiff_t isn't necessarily the same as int.Tony Finch2003-01-171-1/+1
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=109436
* Implement nonblocking tpc-connections. rpcgen -m does stillMartin Blapp2003-01-162-5/+33
| | | | | | | | | | | produce backcompatible code. Reviewed by: rwatson Obtained from: NetBSD MFC after: 1 day Notes: svn path=/head/; revision=109363
* Change the handling of non-anchored global substitutions of the emptyMarcel Moolenaar2003-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 Notes: svn path=/head/; revision=109337
* Like sh_types, dt_tags just aren't in consecutive order, so we have to moveDavid E. O'Brien2003-01-151-9/+78
| | | | | | | away from indexing into an array. Also add Sun and GNU specific tags. Notes: svn path=/head/; revision=109332
* The defined sh_types's just aren't in consecutive order, so we have to moveDavid E. O'Brien2003-01-151-5/+32
| | | | | | | away from indexing into an array. Notes: svn path=/head/; revision=109329
* Hookup elfdump.David E. O'Brien2003-01-151-0/+1
| | | | Notes: svn path=/head/; revision=109314
* Add a BSDL'ed util that displays information about ELF files.David E. O'Brien2003-01-152-0/+1010
| | | | | | | | | This is simular to readelf(1) and objdump(1). Submitted by: jake Notes: svn path=/head/; revision=109313
* o Typo/Grammar fixesMike Makonnen2003-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 Notes: svn path=/head/; revision=109234
* Add my birthdayChristian Brueffer2003-01-141-0/+1
| | | | | | | Approved by: ceri (mentor) Notes: svn path=/head/; revision=109212
* Prevent infinite substitution of the empty string by forcing non-Marcel Moolenaar2003-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@ Notes: svn path=/head/; revision=109209
* Bow to the whining masses and change a union back into void *. RetainMatthew Dillon2003-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. Notes: svn path=/head/; revision=109153
* Change struct file f_data to un_data, a union of the correct structMatthew Dillon2003-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. Notes: svn path=/head/; revision=109123
* Make 'sysctl vm.vmtotal' work properly using updated patch from Hiten.Matthew Dillon2003-01-112-2/+2
| | | | | | | | | | (the patch in the PR was stale). PR: kern/5689 Submitted by: Hiten Pandya <hiten@unixdaemons.com> Notes: svn path=/head/; revision=109097
* The return-path is optional in a headline, therefore don't skip aMike Heffner2003-01-091-5/+12
| | | | | | | | | | message if it is missing the return-path. PR: bin/40314 (slightly different patch) MFC after: 2 weeks Notes: svn path=/head/; revision=108988
* Correct a few more definitions, capitalize header fields consistently.Mike Heffner2003-01-091-5/+5
| | | | Notes: svn path=/head/; revision=108982
* Clarify ~. escape definition, remove duplicate entry, and shorten aMike Heffner2003-01-091-4/+3
| | | | | | | definition. Notes: svn path=/head/; revision=108980
* Document the ~. and ~? command escapes.Mike Heffner2003-01-091-0/+4
| | | | Notes: svn path=/head/; revision=108978
* Add "ifstat" display:Poul-Henning Kamp2003-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> Notes: svn path=/head/; revision=108684
* When we close a display, mark it as not-initialized so that we willPoul-Henning Kamp2003-01-041-0/+1
| | | | | | | | | properly open it again next time. Submitted by: Trent Nelson <trent@arpa.com> Notes: svn path=/head/; revision=108683
* Unifdef has got some crack-smoking exit values:Peter Wemm2003-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. Notes: svn path=/head/; revision=108679
* Complete the bzip2 suite.David E. O'Brien2003-01-042-0/+12
| | | | Notes: svn path=/head/; revision=108667
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-018-11/+11
| | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* Fix typos; add FreeBSD Id where missing.Jens Schweikhardt2003-01-016-11/+14
| | | | Notes: svn path=/head/; revision=108532
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/Jens Schweikhardt2002-12-3012-12/+14
| | | | | | | Add FreeBSD Id tag where missing. Notes: svn path=/head/; revision=108470
* Back out rev 1.20; getbsize(3)'s original interface has been restored.Mike Barcroft2002-12-301-3/+1
| | | | | | | Approved by: markm Notes: svn path=/head/; revision=108454
* Back out rev 1.27; getbsize(3)'s original interface has been restored.Mike Barcroft2002-12-301-2/+1
| | | | | | | Approved by: markm Notes: svn path=/head/; revision=108453
* Move elf2aout back to /usr/bin -- it is a general development tool, notDavid E. O'Brien2002-12-301-0/+1
| | | | | | | a sysadmin tool. Notes: svn path=/head/; revision=108439
* Use the offical sys/endian.h rather than reaching way over into anotherDavid E. O'Brien2002-12-302-2/+1
| | | | | | | binary's directory to use a private header. Notes: svn path=/head/; revision=108438
* Adjust path to crunchide.David E. O'Brien2002-12-301-3/+3
| | | | Notes: svn path=/head/; revision=108437
* Adjust max WARNs for sparc64.David E. O'Brien2002-12-301-2/+1
| | | | Notes: svn path=/head/; revision=108436
* Style cleanup.David E. O'Brien2002-12-301-11/+10
| | | | Notes: svn path=/head/; revision=108435
* Make WARNS=5 clean.David E. O'Brien2002-12-302-5/+3
| | | | | | | Tested on: sparc64, Athlon[32] Notes: svn path=/head/; revision=108434
* This builds fine with WARNS.David E. O'Brien2002-12-301-1/+0
| | | | | | | Tested on: sparc64, athlon[32] Notes: svn path=/head/; revision=108431
* Diff-reduction WRT crypto telnet; replace "#if 0" code removed by anMark Murray2002-12-291-0/+41
| | | | | | | earlier invocation of unifdef(1). Notes: svn path=/head/; revision=108385
* english(4) police.Jens Schweikhardt2002-12-2711-12/+12
| | | | Notes: svn path=/head/; revision=108317
* Clarify the distinction between the Proclamation of the Province ofGreg Lehey2002-12-252-1/+2
| | | | | | | South Australia and the date of the Proclamation Day holiday. Notes: svn path=/head/; revision=108275
* mdoc(7) police: Deal with self-xrefs.Ruslan Ermilov2002-12-246-12/+12
| | | | Notes: svn path=/head/; revision=108257
* Check NULL pointer to avoid SIGSEGVDavid Xu2002-12-241-1/+2
| | | | Notes: svn path=/head/; revision=108254
* Fixed the abuses of .Ql visible on stderr in troff mode.Ruslan Ermilov2002-12-235-68/+68
| | | | | | | PR: docs/37176 Notes: svn path=/head/; revision=108221
* mdoc(7) police: most -mdoc macros can take multiple arguments.Ruslan Ermilov2002-12-231-2/+1
| | | | Notes: svn path=/head/; revision=108215
* mdoc(7) police: markup nits.Ruslan Ermilov2002-12-231-2/+2
| | | | Notes: svn path=/head/; revision=108214
* mdoc(7) police: more `The .Nm utility' + markup nit.Ruslan Ermilov2002-12-231-5/+5
| | | | Notes: svn path=/head/; revision=108213
* Correct minor grammos.Jens Schweikhardt2002-12-221-3/+3
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=108181