summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Preserve comma as separator when it is not equal to radix characterache2001-03-031-2/+7
|
* Don't use "," as load avg. separator because it can be precision point in someache2001-03-031-1/+1
| | | | locales, so leads to confusion
* Oops, remove tabs sneaked in wrong placeache2001-03-021-2/+2
|
* Use AM/PM time only when available in localeache2001-03-023-7/+10
|
* Add -g group to usage message.imp2001-03-021-2/+4
| | | | | | | Don't treat pointer as a boolean, but instead test it against NULL. Add warning for groups that don't exist Submitted by: ru
* Include -DDEFSHELL=1 in Makefile.dist so people boostrapping willimp2001-03-011-1/+2
| | | | | | | | have a sane default. Also add $FreeBSD$ while I'm here. Pointed out by: bde
* MAXPATHLEN includes the trailing NUL.imp2001-03-012-6/+6
| | | | | | | Correct array sizes to reflect this. Correct NUL termination after strncpy. # Didn't to strncpy -> strlcpy change.
* MAXPATHLEN contains the trailing NUL.imp2001-03-012-2/+2
|
* MAXPATHLEN is enough.imp2001-03-011-2/+1
| | | | | Also, snprinf is guaranteed by the new ansi standard to NUL terminate the string, so we don't need to do that ourselves.
* All temperature scales are centigrades. Use "Celsius" instead.dcs2001-03-011-1/+1
|
* MAXPATHLEN already accounts for the trailing NUL, so no need to add one in.imp2001-03-011-1/+1
| | | | | In addition, since we pass readlink MAXPATHLEN - 1, we would have never have used that extra byte anyway.
* MAXPATHLEN includes the trailing NUL character, so there's no need to add 1imp2001-03-011-1/+1
| | | | to it for the size of path.
* Remove redundant declaration of optind. It has been declared in unistd.himp2001-03-011-1/+0
| | | | for ages.
* o Add support for wall -g. This will send a message to all members ofimp2001-03-013-27/+71
| | | | | | | a given group. o Minor code style cleanups while I'm here Reviewed by: bde, kris, markm, audit@
* The secure temporary directory is always created, so always remove it.jhay2001-02-281-5/+1
|
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.ru2001-02-282-3/+3
|
* Use EV_SET() macro to initialize kevent structure.jlemon2001-02-281-7/+5
|
* Add missing prefix for nano, I presume this was missing 'cos of thedwmalone2001-02-281-10/+16
| | | | | | | prefix recusrion bug. Remove units which can be derived using prefixes and other units. Add new prefixes for 2^10, 2^20, etc...
* Give units a bit of a cleanup:dwmalone2001-02-281-32/+26
| | | | | | | | | | | | | | 1) Fix a bug where the recursion on prefixes where if recusrion failed then the next attempt started too far along the string. 2) Up some internal limits that we were about to hit off. 3) Change the constness and signedness of some things and complete missing prototypes. 4) Remove the readerror function 'cos it could print out the wrong wrong file name. Replace it with more useful error messages. 5) Use sizeof when passing buffers to fgets. 6) Warn about empty prefix definitions. Reviewed by: iedowse
* Update HISTORY.obrien2001-02-281-1/+5
|
* 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_'
OpenPOWER on IntegriCloud