summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2007-03-26Save and restore signal handlers. Although we do not install ourRay Lai
own signal handlers, this allows this code to be more easily reused in other programs. OK deraadt@
2007-03-26Restore errno before calling perror().Ray Lai
2007-03-26Check fork() == -1 instead of fork() < 0.Ray Lai
2007-03-26When someone hits ^C in an editor, the editor does exit(130), IRay Lai
don't know why. Something to do with the shell, says deraadt@. Continuing to ignore these signals in the child fixes this. Now editit()'s return value can be reliably checked. OK deraadt@.
2007-03-26more careful waitpid() discussed with ray (plus some knf)Theo de Raadt
2007-03-25fork() does not return EPROCLIM, so don't test for it.Ray Lai
2007-03-25more cleaning :)Theo de Raadt
2007-03-25Change editit() to return -1 on error and 0 on success, like manyRay Lai
other C functions. (Currently this return value is unchecked.)
2007-03-25KNF.Ray Lai
2007-03-25Save errno before calling signal().Ray Lai
2007-03-24Use MAXPATHLEN for buffer, which is only used for path constructionMoritz Jodeit
and fix handling of empty macdefs, which could result in the mac_end ptr beeing smaller than mac_start, resulting in crashes later on. From Nicholas Marriott. ok millert@
2007-03-23correct signal handling and process waiting for the editor spawningTheo de Raadt
code, so that signals in the editor are handled right. written by ray after he started looking at other code that does this better
2007-03-23Since we now have our own program, we can export more things thatTheo de Raadt
matter. Include kern.version, which tells a hell of a lot. ok millert ray
2007-03-23missing .El;Jason McIntyre
2007-03-23add -F to usage();Jason McIntyre
2007-03-23use the proper abbreviation for second: "s"Chris Kuethe
requested by deanna, naddy, otto, steven ok deanna, otto
2007-03-23Add a new flag -F to netstat restricting route display in conjuctionPierre-Yves Ritschard
with -r to routes in the same address family as the destination. ok henning@, claudio@
2007-03-23Document temporary files.Ray Lai
2007-03-23display a timedelta of 0 in seconds, not some other unit.Chris Kuethe
requested by otto, ok otto
2007-03-23Add more bloat to manual.Ray Lai
2007-03-23Flags belong under SYNOPSIS, not NAME.Ray Lai
2007-03-23Alphabetize flags and environment variables.Ray Lai
2007-03-23Replace `&' in gecos field with login, prodded by deraadt@.Ray Lai
2007-03-23simplify cleanup by using an atexit handler. lets us use err() insteadTed Unangst
of a series of warn()/gotos. ok deraadt
2007-03-23re-org something for prettinessTheo de Raadt
2007-03-23support $PR_FORM environment variableTheo de Raadt
2007-03-23Don't insert double slashes ("/tmp//p.XXXXXXXXXX") if TMPDIR endsRay Lai
in "/". Helps emacs and deraadt@.
2007-03-23Support command-line arguments in $EDITOR. Prodded by deraadt@.Ray Lai
2007-03-23spacingTheo de Raadt
2007-03-23-V in usageTheo de Raadt
2007-03-23document -L -V and -P options. still a bit shortTheo de Raadt
2007-03-23add -V (version) supportTheo de Raadt
2007-03-23Get rid of silly gcc warning.Ray Lai
OK deraadt@.
2007-03-23handle the -L and -P options; ok rayTheo de Raadt
2007-03-23Enable our sendbug(1), prodded by deraadt@.Ray Lai
2007-03-23some minor KNF, including sentinals; ok rayTheo de Raadt
2007-03-23Import public domain rewrite of sendbug, written by Ray Lai. =)Ray Lai
Replaces GNU sendbug/sendpr, the wonderful shell script that had trouble dealing with signals, behaved differently depending on what file it read upon startup, and suffered from issues plaguing most large shell scripts. OK deraadt@.
2007-03-23cannot remember what the vax -O0 workaround in 2002 was for. wish theTheo de Raadt
commit message had explained the problem at least vaguely. disable the workaround so that if the bug exists, it can rear it's head again (in 10 minutes of playing around, i could not find any unusual behaviour)
2007-03-23Add a routine to scale timedelta sensors to more meaningful units,Chris Kuethe
like fmt_scaled(3) does. Ranges from picoseconds to days. Also removes a couple of unneeded curses operations. ok deanna, ok deraadt
2007-03-22use MD5_DIGEST_STRING_LENGTH instead of rolling our own lenght.Xavier Santolaria
OK otto@ (before lock).
2007-03-22Remove wrong length check, which ignored the '/' characterMoritz Jodeit
and let snprintf(3) decide if the path fitted into the buffer. Inspired by a diff from Nicholas Marriott. OK millert@ ray@
2007-03-22Fix buffer overflow when parsing the .netrc file.Moritz Jodeit
From Nicholas Marriott. ok millert@ deraadt@
2007-03-21Document the CVSROOT/config file; input and OK's niallo@ jmc@.Xavier Santolaria
2007-03-21tweaks;Jason McIntyre
2007-03-21remove extra *p tests, from charles longeauTed Unangst
ok deraadt millert
2007-03-21describe .wav support in one sentenceUwe Stuehler
2007-03-20Support for playing simple RIFF files (.wav) from Simon Effenberg, savarUwe Stuehler
at schuldeigen de, with some tweaks from me. ok millert, tests ckuethe, liked by some disliked by nobody, but he's not even a real user :)
2007-03-20Set umask to 077 when saving messages in the outbox (not enabledTodd C. Miller
by default). From veenhuizen at users dot sourceforge dot net
2007-03-20sort options; sync synopsis and usage();Jason McIntyre
from Igor Sobrado
2007-03-20- let synopsis and description agree for -fJason McIntyre
- sort FILES - +.Xr ssh-keyscan 1 , from Igor Sobrado