summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix indent endless on garbage input (i.e., if it encountered EOF whileobrien2001-02-271-1/+1
| | | | | | waiting for a '}' nesting terminator) Obtained from: OpenBSD rev 1.8
* - An array of 4 32-bit ints for avenrun doesn't work on the alpha becausegallatin2001-02-271-15/+7
| | | | | | | | | | fscale is a (64-bit) long. So just use a struct loadavg. This fixes the recent failure of top on alphas: top: sysctl(vm.loadavg...) failed: Cannot allocate memory - use size_t for sizeof() so as to fix a few int/long warnings on alpha Reviewed by: Thomas Moestl <tmoestl@gmx.net>
* mdoc(7) police: utilize .St macro.ru2001-02-261-1/+3
|
* mdoc(7) police: restore correct order of references in the SEE ALSO.ru2001-02-241-1/+1
|
* Remove directive to install top as group kmem. Remove directive torwatson2001-02-231-2/+1
| | | | install top with setgid bit.
* Adapt the top utility to not use kmem_read to retrieve variables nowrwatson2001-02-231-167/+44
| | | | | | | | available via sysctl(). As a result, top should now be able to run without setgid kmem. Submitted by: Thomas Moestl <tmoestl@gmx.net> Reviewed by: freebsd-audit
* Implement the following options and primaries:knu2001-02-237-7/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | -E Interpret regular expressions followed by -regex and -iregex op- tions as extended (modern) regular expressions rather than basic regular expressions (BRE's). The re_format(7) manual page fully describes both formats. -iname pattern Like -name, but the match is case insensitive. -ipath pattern Like -path, but the match is case insensitive. -regex pattern True if the whole path of the file matches pattern using regular expression. To match a file named ``./foo/xyzzy'', you can use the regular expression ``.*/[xyz]*'' or ``.*/foo/.*'', but not ``xyzzy'' or ``/foo/''. -iregex pattern Like -regex, but the match is case insensitive. These are meant to be compatible with other find(1) implementations such as GNU's or NetBSD's except regexp library differences. Reviewed by: sobomax, dcs, and some other people on -current
* fix usage statement (add missing [-n devs] option)alfred2001-02-221-4/+5
| | | | | | | Submitted by: Maxim Konovalov <maxim@macomnet.ru> Silence a warning by renaming the 'pgtok' #define to 'vmstat_pgtok' so as not to conflict with the 'pgtok' #define in sys/param.h
* Reword the description a little bit more for parallel construction.wollman2001-02-211-1/+1
|
* Destroy the evidence of my misunderstanding of the specification.wollman2001-02-212-29/+2
| | | | Also fix up the phrasing in the man page a bit.
* Introduce support for using OpenSSL ASM optimizations. This is donekris2001-02-191-0/+15
| | | | | | | | | | | | | | | | | | | | | | | through the use of a new build directive, MACHINE_CPU, which contains a list of the CPU generations/features for which optimizations are desired. This feature will be extended to cover the ports tree in the future. Currently OpenSSL provides optimizations for i386, i586 and i686-class CPUs. Currently it has not been tested on an i386 or i486. Teach make(1) to provide sensible defaults for MACHINE_CPU if it is not defined (namely, the lowest common denominator CPU we support for each architecture). Currently this is i386 for the i386 architecture and ev4 for the alpha. sys.mk also sets the variable as a last resort for consistency with MACHINE_ARCH and bootstrapping from very old versions of make. Benchmarks show a significant speed increase even in the i386 case, with additional improvements for i586 and i686 systems. For maximum performance define MACHINE_CPU=i686 i586 i386 in /etc/make.conf. Based on a patch submitted by: Mike Silbersack <silby@silby.com> Reviewed by: current
* Have yacc use a prototype for yygrowstack(void) on ANSI compilers.peter2001-02-191-0/+4
| | | | This fixes a gcc warning with -Wmissing-prototypes.
* Adjust columns for wide nicenesses in 'top -S'.markm2001-02-181-4/+4
|
* Preceed/preceeding are not english words. Use precede and preceding.asmodai2001-02-181-1/+3
| | | | Add $FreeBSD$.
* Preceed/preceeding are not english words. Use precede and preceding.asmodai2001-02-187-8/+8
|
* Do not compile INET6 support if RELEASE_CRUNCH is definedluigi2001-02-181-1/+1
| | | | (used by install floppy/picobsd)
* Fixed some style bugs (bogus cloned Id, null overrides of defaults, andbde2001-02-171-7/+3
| | | | the usual style bugs for DPADD/LDADD).
* Removed some garbage (genassym(8) and its infrastructure).bde2001-02-174-357/+0
|
* Fix `fstat -m' (show memory-mapped files), which was broken byiedowse2001-02-151-2/+2
| | | | | | | revision 1.25. When evaluating the termination condition for the iteration over all map entries, we must take care to use the kernel versions of all pointers. The code was comparing a kernel pointer to a pointer within a local variable, so the loop never terminated.
* Work around the p_comm[] size limit. If the user supplies more thanpeter2001-02-141-1/+1
| | | | | | | 16 characters, only check the first 16 since that is all the kernel records. This isn't ideal, but it is probably the best we can do. Otherwise, "killall communicator-linux-4.76.bin" will not match the process as the kernel only records "communicator-lin".
* mdoc(7) police: replace -hang list with the -tag list,ru2001-02-141-7/+10
| | | | | | add missing .Xo/.Xc to the tags. This only worked due to the off-by-one bug in the -hang lists, which I will hopefully backport from the mdocNG shortly.
* mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.ru2001-02-1316-36/+39
|
* Catch up to new priority interface.jake2001-02-121-6/+6
|
* Uname is in section 3 of the manual pages.dwmalone2001-02-111-1/+1
| | | | | PR: 25008 Submitted by: fullermd@over-yonder.net
* Change localizing to LC_ALLache2001-02-101-1/+1
|
* Localize it (LC_NUMERIC)ache2001-02-101-13/+25
|
* mdoc(7) police: mark LC_NUMERIC with .Dv.ru2001-02-101-1/+2
|
* Fix nasty bug where make(1) assumed that you could read the directory itwill2001-02-101-0/+2
| | | | | | | | | was in. This shall be MFC'd in about three days (probably not a good idea to MFC the stylistic changes though - see below). PR: 19978 Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> Patch by: roam (slightly modified by me to use NULL not NIL)
* Localize it (LC_NUMERIC)ache2001-02-102-0/+10
|
* Fix login so that it exports environmental variables that are set by PAMnectar2001-02-091-0/+58
| | | | | | | | modules (via pam_putenv). The following variables will never be set in this fashion: SHELL, HOME, LOGNAME, MAIL, CDPATH, IFS, PATH any variable starting with `LD_'
* Fix style(9) bugs from previous commit: remove space after functionmikeh2001-02-081-6/+6
| | | | | | names and revert to char *[]. bde by: bde, imp
* Optimize gencat(1) sources in same manner as its libc part some time ago:phantom2001-02-083-299/+151
| | | | | | | | | | | | | | | . remove SYSV compatibility bits . sort #include's . ifdef unused code . cleanup BDECFLAGS warnings . fixed few typos in diagnostics messages . style(9) fixes as part of this cleanup I have changed all K&R declarations to ANSI style. Main reason for doing that was great mix of declarations used here - clean ASNI , clean K&R, ifdef'ed (both). Reviewed by: ache (mostly)
* Remove the manpage since the actual software was put in the Attic.obrien2001-02-081-459/+0
| | | | Noticed by: bde
* De-__P()-ify, convert K&R style declarations to ANSI onesmikeh2001-02-081-13/+8
|
* Prevent string overflows by using safer string functionsmikeh2001-02-081-21/+27
| | | | | | | | | Use tolower() rather than bit or-ing Sanity check user specified printf() format Exit when too many input files are given Remove register from variables Reviewed by: markm, imp
* mdoc(7) police: Change -filled displays (which just happenru2001-02-072-3/+3
| | | | | | to be the same as -ragged in the current implementation) to -ragged. With mdocNG, -filled displays produce the correct output, formatted and justified to both margins.
* Spellingcharnier2001-02-066-50/+25
| | | | Remove unused #includes
* Remove duplicate FreeBSD Idcharnier2001-02-062-6/+2
| | | | | Remoce unused #include Use imperative mode to start flag description
* Rework diagnostics textcharnier2001-02-062-5/+4
| | | | Remove unused #include
* mdoc(7) police: simplify construct.ru2001-02-061-6/+1
|
* Fix typo: compatability -> compatibility.asmodai2001-02-064-6/+6
| | | | Compatability is not an existing english word.
* Fix typo: seperate -> separate.asmodai2001-02-063-3/+3
| | | | Seperate does not exist in the english language.
* Fix typo: seperate -> separate.asmodai2001-02-062-4/+5
| | | | | | Seperate does not exist in the english language. Also add $FreeBSD$ to README.
* Convert if_multiaddrs from LIST to TAILQ so that it can be traversedphk2001-02-061-1/+1
| | | | | | backwards in the three drivers which want to do that. Reviewed by: mikeh
* Fix typo: wierd -> weird.asmodai2001-02-061-1/+1
| | | | There is no such thing as wierd in the english language.
* Fix tftpd and tftp to support file transfers of over 65535 blocksasmodai2001-02-022-2/+7
| | | | | | | (about 31 MB - 32 MB). Submitted (partially) by: Pascal Hofstee <daeron@wit401305.student.utwente.nl>
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-0137-137/+160
|
* De-__P()-ifywill2001-01-281-6/+6
| | | | Reviewed by: markm
* BDECFLAGS: constify; use proper types. Add $FreeBSD$, clean up #ifndef lint.will2001-01-281-10/+13
| | | | Reviewed by: markm
* Fix typophantom2001-01-252-4/+4
|
OpenPOWER on IntegriCloud