summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not exit on SIGINT in non-interactive shells, fixes PR 1206,cracauer1998-08-249-45/+92
| | | | | | | | | | | | | | | | | | | | | | | | | i.e. this makes emacs usable from system(3). Programs called from shellscripts are now required to exit with proper signal status. That means, they have to kill themself. Exiting with faked numerical exit code is not sufficient. Exit with proper signal status if script exits on signal. Make the wait builtin interruptable, both with and without traps set. Use volatile sig_atomic_t where (and only where) appropriate. (Almost) fix printing of newlines on SIGINT. Make traps setable from trap handlers. This is needed for shellscripts that catch SIGINT for cleanup work but intend to exit on it, hance have to kill themself from a trap handler. I.e. mkdep. While I'm at it, make it -Wall clean. -Wall is not enabled in Makefile, since vararg warnx() macro calls in usr.bin/printf/printf.c are not -Wall-able. PR: 1206 Obtained from: Basic SIGINT fix from Bruce Evans
* Now that alpha uses FreeBSD syscalls, all these work.jb1998-08-151-7/+3
|
* Silence some warnings when building on the alpha.dfr1998-08-073-6/+6
|
* Fix LIBDIR (for aout/ELF).markm1998-08-061-1/+1
|
* Use sendmail-8.9.1 rmail (with our changes).peter1998-08-043-427/+6
|
* Add missing "else", without whom the prev. commit is a null change.hoek1998-08-021-4/+3
| | | | Fix a 2nd level indentation style bug.
* Fixed printf format errors (time_t is not necessarily long).bde1998-08-021-3/+5
|
* Document behaviour of "-" and "--" on the command line.jkoshy1998-07-301-2/+7
| | | | PR: docs/5399
* Allow env. variable LS_COLWIDTHS to specify minimum column widths,hoek1998-07-294-13/+97
| | | | | | | | | | | effectively overriding the dynamically-sized-column feature. This is mostly useful for non-interactive use, where it may be necessary to ensure that listings taken at different times have columns that line-up correctly. I have been assured that at least one large, well-known program will soon be taking advantage of this. :-) PR: bin/7011 Submitted by: Joel Ray Holveck <joelh@gnu.org>
* Document the printf built-in.nectar1998-07-271-1/+13
|
* csh built-in printf now expands arguments. e.g.nectar1998-07-271-1/+14
| | | | | | | printf '%d\n' `echo 23` now works as expected. PR: bin/2969 Submitted by: Gareth McCaughan <gjm11@dpmms.cam.ac.uk>
* Fix use of -man macro, correct description of the behaviour of the `+n'jkoshy1998-07-211-8/+3
| | | | | | command to match whats there in the source. PR: 7328
* Added a `build-tools' target for internal tools.bde1998-07-071-4/+3
| | | | | | Removed explicit dependencies of foo.o on foo.c. These were mainly placeholders for comments about missing dependencies of tools objects on headers. This problem needs to be handled more generally.
* Pick up kernel variables/constants using sysctl rather than through /dev/memphk1998-06-302-80/+17
| | | | | | | | Use /dev/null for opening the kvm library, we don't need access to /dev/mem anymore. ps can now run without the setgid(kmem) bit. If it does it will not be able to show argv/envp for another uid's processes unless you are root.
* Fixed printf format errors (second round with non-i386 typedefs).bde1998-06-281-2/+3
|
* Fixed printf format errors.bde1998-06-281-3/+3
|
* Oops, the previous log message should have read "Fixed type mismatches -bde1998-06-281-1/+1
| | | | don't assume that time_t is long".
* Fixed printf format errors.bde1998-06-281-4/+7
|
* Fixed printf format errors.bde1998-06-282-5/+7
|
* Remove compile time dependency on ARG_MAX.jkoshy1998-06-171-2/+11
| | | | | PR: 1791 (partial) Reviewed by: Bruce Evans <bde@freebsd.org>, Tor Egge <tegge@freebsd.org>
* Don't attempt to change owner/mode/flags that don't need to changed.peter1998-06-101-15/+29
| | | | | | This should calm down attempts to `cp -p' to a nfs mount or some other filesystem that doesn't accept flags or all combinations of flags. It will warn if it fails to change flags though.
* Print correct error message if we copy an unreadable directory.dt1998-06-091-1/+2
|
* Make sure we don't overflow the path buffer. Exit if we do.imp1998-06-091-2/+4
| | | | Obtained from or inspired by: A similar change in OpenBSD by theo
* Make sure we pass the length - 1 to readlink, since it adds its ownimp1998-06-093-10/+8
| | | | | NUL at the end of the path. Inspired by: OpenBSD's changes in this area by theo de raadt
* Fix a bunch of spelling errors.steve1998-06-041-2/+2
| | | | | PR: 6856 Submitted by: Josh Gilliam <josh@quick.net>
* Fix errors that crept into the previous commit.jkoshy1998-06-041-3/+3
|
* 1. `ps' output now shows 3 characters in the `TT' field, not 2, afterjkoshy1998-06-041-3/+4
| | | | | | | | rev 1.6 of "ps.c". 2. Reword description of `-f' option. PR: 5340 Submitted by: Jorge Goncalves <j@bug.fe.up.pt>
* Correct description of -crtscts.jkoshy1998-06-031-2/+2
| | | | | PR: 6836 Submitted by: Andrew <andrew@ugh.net.au>
* Clarify the example a bit.steve1998-05-311-6/+6
| | | | | PR: 6801 Reviewed by: David Kelly <dkelly@hiwaay.net>
* Fixed imperfections in previous commit (a poor variable name,bde1998-05-311-14/+14
| | | | excessive 64-bit arithmetic, and excessive changes).
* Some cleanups related to timecounters and weird ifdefs in <sys/time.h>.phk1998-05-281-14/+14
| | | | | | | | | | | | | | | | | | | | Clean up (or if antipodic: down) some of the msgbuf stuff. Use an inline function rather than a macro for timecounter delta. Maintain process "on-cpu" time as 64 bits of microseconds to avoid needless second rollover overhead. Avoid calling microuptime the second time in mi_switch() if we do not pass through _idle in cpu_switch() This should reduce our context-switch overhead a bit, in particular on pre-P5 and SMP systems. WARNING: Programs which muck about with struct proc in userland will have to be fixed. Reviewed, but found imperfect by: bde
* "make world" replaces /bin/rmail even when NO_SENDMAIL has been set tophk1998-05-271-2/+6
| | | | | | | | | true in /etc/make.conf. Both qmail and smail use a different rmail, so replacing rmail is a Bad Thing. PR: 6762 Reviewed by: phk Submitted by: Bill Trost <trost@cloud.rain.com>
* Don't append a '/' to the destination directory if theresteve1998-05-251-3/+5
| | | | | | is already one there. PR: 3025
* If no value is present for the login name set it to '-'.steve1998-05-253-5/+39
| | | | | | | Also pretty-up the display of 'ps -Ortprio'. PR: 4947 Submitted by: Martin Kammerhofer <dada@sbox.tu-graz.ac.at>
* Improve description of absolute modes.jkoshy1998-05-191-20/+46
| | | | | Submitted by: Josh Gilliam <josh@quick.net> PR: 6634
* Correct use of .Nm. Add rcsid.charnier1998-05-1812-46/+66
|
* Correct use of .Nm. Add section number to .Xr references. Add rcsid.charnier1998-05-182-8/+10
|
* Add rcsid. Spelling.charnier1998-05-1827-79/+127
|
* Correct use of .Nm. Add rcsid.charnier1998-05-185-36/+37
|
* Correct use of .Nm. Add section number to .Xr references.charnier1998-05-181-6/+6
|
* .Nm rm -> .Nm.charnier1998-05-181-8/+8
|
* kill.1: Remove reference to obsolete sigvec(2) man page. Removedjkoshy1998-05-181-2/+2
| | | | | | | self reference in sigaction(2) man page. Submitted by: Josh Gilliam <josh@quick.net> PR: 6617
* Correct use of .Nm. Add rcsid.charnier1998-05-1525-119/+160
|
* correct use of .Nm. Add rcsid.charnier1998-05-152-7/+9
|
* Correct use of .Nm. Typo.charnier1998-05-151-11/+11
|
* Correct use of .Nm. Add rcsid.charnier1998-05-152-9/+11
|
* .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENTphk1998-05-133-6/+6
| | | | | | PR: 6599 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net>
* Correct use of .Nm. Add rcsid.charnier1998-05-134-15/+19
|
* Correct use of .Nm.charnier1998-05-131-11/+11
|
* Convert to mdoc.charnier1998-05-131-544/+441
|
OpenPOWER on IntegriCloud