summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
...
* The magic "no-cpu" cpu number is 0xff. Don't misrepresent cpubde1999-03-051-2/+2
| | | | | | numbers as chars or use bogus casts in an attempt to unmisrepresnt them. In top, don't assume that 0xff is the only negative cpu number when cpu numbers are (mis)represented.
* Fix the style of my previous commit.joerg1999-03-031-1/+1
| | | | Submitted by: The Style Police[tm]
* Increase the vector that's used to look for free pty's. We go throughjoerg1999-03-031-1/+1
| | | | | /dev/ttypv right now, but window(1) was only looking up to ttypf, causing an `Out of pseudo-terminals' when i just tried on freefall.
* Make window(1) actually work again. It has been broken for quite somejoerg1999-03-022-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | time now. For whatever reason, the kernel seems to have generated SIGIOs previously without an initial fcntl(...,F_SETOWN), but does no longer. This caused window(1) to wait indefinitely for input. Also, undo rev 1.3 of wwspawn.c, it was not well-thought, and apparently not even tested at all. The blindly (even in a nonsensical place like the comment on top of the function) applied replacement of vfork() by fork() totally ignored that window(1) *does* abuse the feature of vfork() where a modification of the parent's address space is possible (in this case, to notify the parent of an erred exec*). Also, with vfork(), it is guaranteed that the parent is only woken up after the exec*() happened, where the replacement by fork() made the parent to almost always become runnable again before the child, in which case the parent simply told `subprocess died'. Unfortunately, working around _this_ seems to be a lot more of redesign work compared to little gained value, so i think relying on the specifics of vfork() is the simpler way. Submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
* Print actual density code as well as string for density- I dunno about others,mjacob1999-03-021-5/+10
| | | | | but I sure remember 0x15 easier than 'ECMA 17'. Also handle density codes 0 (default) and 0x7f ('same') as special cases.
* Improve error message wording when attempting to link to a non-existentalex1999-03-021-2/+2
| | | | | | | file on the local host. PR: 10042 Submitted by: Chris Costello <phoenix@calldei.com>
* Close PR #10264. Don't bail directly out of passwd/chpass in my_yp_match().wpaul1999-03-011-1/+17
| | | | | | | | | | | Instead, treat the inability to retrieve a record from the server as a match failure and let things take its course. Part of the problem here is that NIS _is_ turned on, however the master server is actually not an NIS server: it's an NIS+ server. And the client is bound to an NIS+ replica server that's running in YP compat mode. The code which tries to figure out of the user is local or NIS gets confused by this.
* Fix disorder introduced by me in the Euro part 2 locale commit.imp1999-03-011-15/+15
| | | | | Submited by: bde (This was uncommitted for too long in my tree, but is well tested)
* Make MACHINE_ARCH sensitive to the environment, as well as using theimp1999-03-011-4/+11
| | | | | | | | compiled in default in case it isn't defined. This is needed to make cross compilation work in some edge cases. It also makes cross compiling on FreeBSD other BSD's easier as well. Obtained from: NetBSD, OpenBSD (predates the split)
* fix PRUNEPATHS assignmentache1999-02-281-2/+2
|
* Deal with broken Web sites which return 302 responses rather than 404wollman1999-02-233-17/+38
| | | | | | and an error document when the requested resource does not exist. Grrr. Requested by: asami
* Change the prompt for the office location field from "Location:"ghelmer1999-02-233-8/+13
| | | | | | | | | | | | | | to "Office Location:" to disambiguate what is expected. Add a note to the man page to indicate that the office location and office phone fields are concatenated and printed with the heading "Office:" by finger(1). Swap the order of the home and office phone fields in the man page to match the order of the fields in the editor. If any programs interact with chpass(1) and expect "Location:" instead of "Office Location:" as the prompt, either this change will have to be reverted or the other programs will have to be changed. PR: docs/7533
* Use `${CC} ${CFLAGS} ${LDFLAGS} -nostdlib -Wl...' instead ofbde1999-02-171-5/+5
| | | | | | | `ld ... <fudged ${LDFLAGS}>' to invoke the linker. This gets the flags and standard library paths right without complications. Unfortunately, it doesn't help for the X11 library paths -- cc only appends /aout for standard library paths.
* Fix off-by-one error.fenner1999-02-161-2/+2
|
* Re-enable doscmd build.luoqi1999-02-161-1/+2
|
* Look for aout X libraries at the right place.luoqi1999-02-161-4/+10
|
* back out obj/colldef PATH hack, it breaks cross-compiling per Bruceache1999-02-151-4/+1
| | | | There is _BUILD_TOOLS hack for. Plase all targets under it.
* Fixed bitrot in usage message and disordering of options in previous commit.bde1999-02-151-7/+7
| | | | | | | I'm not sure why we have `mvstat -z'. `sysctl vm.zone' gives more information. OTOH, `sysctl vm.zone' shouldn't return ASCII data, and reporting of memory use should be integrated, at least as an option.
* Fixed disordering of options in previous commit.bde1999-02-151-4/+4
|
* Don't pass -static in ${LDFLAGS} to ld for building doscmd.kernel,bde1999-02-151-2/+2
| | | | | | since it means -s (strip), and static linkage is forced correctly anyway. Other things in ${LDFLAGS} are still bogusly passed to ld. This only affects the aout case.
* Clean up some .Os macro uses: quotes are not needed, multiple argumentsfenner1999-02-151-2/+2
| | | | | don't really work if the first one isn't "FreeBSD", and "FreeBSD-Experimental" isn't an OS name.
* Remove couple of 'extern int errno'. (They turned to something funny whendt1999-02-142-8/+2
| | | | <errno.h> included).
* Ignore errors from chflags. This makes it possible to make installworlddes1999-02-142-5/+5
| | | | with DESTDIR set to an NFS-mounted file system.
* syntax change: allow symbolic names as substitute first argache1999-02-133-5/+6
| | | | use this to substitute <ss>
* syntax change: allow symbolic names as substitute first argache1999-02-133-41/+39
|
* Add -z option to vmstat to dump data from the zone allocatordillon1999-02-132-12/+77
|
* substitute ssache1999-02-122-4/+6
| | | | Submitted by: "D. Rock" <rock@cs.uni-sb.de>
* add more checks for substitutionache1999-02-121-7/+13
| | | | dissalow substituted character be ordered
* fix Englishache1999-02-122-19/+26
| | | | | detect recursive substitutions allow substituted character not present in the order
* Merge from OpenBSD up to rev 1.7 (matches NetBSD rev 1.4):eivind1999-02-121-10/+16
| | | | Misc small cleanups.
* Merge from OpenBSD up to rev 1.5 (matches NetBSD up to rev 1.3):eivind1999-02-121-4/+3
| | | | * Clean up waitpid parameter handling.
* Back out the NetBSD .Nm changes - we don't have the requiredeivind1999-02-121-6/+6
| | | | infrastructure, and I don't seem to find time to merge it.
* Removed occurrences of consecutive repeated words (such as "the the").alex1999-02-121-2/+2
|
* Don't use an arbitrary hardcoded value for nfds in select() calls.des1999-02-101-6/+8
| | | | PR: bin/9986
* Fix vmstat display problems. The header printout wasn't quite right, andken1999-02-102-13/+10
| | | | | | | | | the display wrapped around. This decreases the default maximum number of disks shown to 2, so things don't wrap around so easily. Also, it fixes the header display issues. Submitted by: Bruce Evans <bde@FreeBSD.ORG>
* Add a prioritization field to the devstat_add_entry() call so thatken1999-02-101-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | peripheral drivers can determine where in the devstat(9) list they are inserted. This requires recompilation of libdevstat, systat, vmstat, rpc.rstatd, and any ports that depend on the devstat code, since the size of the devstat structure has changed. The devstat version number has been incremented as well to reflect the change. This sorts devices in the devstat list in "more interesting" to "less interesting" order. So, for instance, da devices are now more important than floppy drives, and so will appear before floppy drives in the default output from systat, iostat, vmstat, etc. The order of devices is, for now, kept in a central table in devicestat.h. If individual drivers were able to make a meaningful decision on what priority they should be at attach time, we could consider splitting the priority information out into the various drivers. For now, though, they have no way of knowing that, so it's easier to put them in an easy to find table. Also, move the checkversion() call in vmstat(8) to a more logical place. Thanks to Bruce and David O'Brien for suggestions, for reviewing this, and for putting up with the long time it has taken me to commit it. Bruce did object somewhat to the central priority table (he would rather the priorities be distributed in each driver), so his objection is duly noted here. Reviewed by: bde, obrien
* Added myself as maintainer.wosch1999-02-093-1/+11
|
* Include discrete ozfod as well as ozfod/zfod percentage.dillon1999-02-081-7/+7
|
* If there are 4 or fewer disk devices, we have room to display additionaldillon1999-02-082-5/+39
| | | | | VM statistics. zfod is moved and %slo-z ( percentage of zero-fills that were slow, i.e. not pre-zero'd ), and number of pages freed per second.
* Make the ipx part of netstat work again.jhay1999-02-061-5/+7
|
* Don't dump core when p_stat is not in the expected range. This isfenner1999-02-061-3/+9
| | | | | | only likely to happen when you have a kernel<>userland mismatch, but it's really annoying when top dumps core and leaves the terminal in a mangled state; it's much nicer to print nicely formatted gibberish.
* Be nice when no swap is configured in systemdillon1999-02-061-1/+11
|
* Make 'top' handle case w/ new swapper where no swap is configureddillon1999-02-061-2/+2
|
* Print relative (mt_fileno, mt_blkno) position, if known.mjacob1999-02-051-1/+58
| | | | Print driver state if not NIL.
* finally document new commandsmjacob1999-02-051-4/+42
|
* Remove the FTP_PASSIVE_MODE "fix"; libftpio handles this.fenner1999-02-051-3/+1
|
* Print usage via fprintf(stderr, ..) instead of errx() to avoid progname prefix.archie1999-02-051-2/+3
| | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* Warn about collapsing multiple slashes into 1 in ftp URL's.fenner1999-02-032-4/+34
| | | | | | | | | | | Look at the FTP_PASSIVE_MODE environment variable like the man page says. PR: bin/9464 Submitted by: John A. Shue <John.Shue@symmetron.com> Add references to RFC's 1790, 959, 850. PR: doc/6564
* Don't try to parse a colon in a URL as a portfenner1999-02-031-2/+2
| | | | | | | (e.g. http://www.host.name/foo:bar) PR: bin/5072 Submitted by: Takeshi WATANABE <watanabe@komadori.planet.kobe-u.ac.jp>
* Update to the most recent version. Among other things, this also solvesjoerg1999-02-0312-66/+178
| | | | | | | | | | | | | | the function naming problem for complex double function i've recently aksed for in -committers. (The recently committed rev 1.5 of proc.c was actually also part of this update.) Should the mailing lists come to an agreement that f2c better belongs into the ports, this could be done nevertheless. For the time being, we've at least got a current version now. Thanks, Steve! Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
OpenPOWER on IntegriCloud