summaryrefslogtreecommitdiff
path: root/usr.bin/mail
AgeCommit message (Collapse)Author
2005-07-11Fix off-by-one bug in readtty() and don't assume BUFSIZ == 1024.Todd C. Miller
Based on a patch from Ulf Harnhammar.
2004-12-07remove unsupported paths;Jason McIntyre
from okan demirmen;
2004-09-15avoid aliasing against libc symbolsTheo de Raadt
2004-09-15unused variableTheo de Raadt
2004-06-04sync w/ usd docs;Jason McIntyre
ok millert@
2004-06-04update mail docs w/ reality;Jason McIntyre
help and ok millert@
2004-05-10delint; millert okTheo de Raadt
2004-05-10Get rid of the ancient "clobber" command. It was really only for debuggingTodd C. Miller
purposes. Noticed and OK by deraadt@
2004-04-30missing full stop;Jason McIntyre
2004-04-19- sort SYNOPSISJason McIntyre
- remove a load of unnecessary quoting and some groff cruft - sort options list - add usd doc to SEE ALSO - sync usage()
2004-02-01add paper.txt target;Jason McIntyre
2004-01-03Silence a gcc warning: "initialization from incompatible pointer type"Todd C. Miller
The problem is that while ANSI C allows initialization of unions, the initializer must be valid for the first member of the union. Therefore, add a cast to quiet the compiler. Noticed and Ok pvalchev@
2004-01-03Fix format type mismatch (int vs. ssize_t).Todd C. Miller
2003-12-03Change how the line output from the 'h' command is formatted.Todd C. Miller
Previously if you had an ungodly number of messages the line could wrap the screen. We now format the line in a buffer and then only print as many characters as will fit instead of printing the parts piecemeal.
2003-10-24dont compare int to NULL, millert@ okAnil Madhavapeddy
2003-10-13better realloc. ok deraadt joseTed Unangst
2003-09-04put escapes in the right place;Jason McIntyre
(i.e. stuff I got wrong the first time, or missed) this includes some .Cd's with missing quotes and .Nm abuse in man4;
2003-09-04escape in the wrong place;Jason McIntyre
2003-07-14remove some old groff macros;Jason McIntyre
2003-07-07protosTheo de Raadt
2003-06-28use .Bk/.Ek to align the options in SYNOPSIS;Jason McIntyre
2003-06-25Remove unused c_func0; noticed by deraadt@Todd C. Miller
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-15Use vis() on any remotely created input before displaying it on a screen.Paul Janzen
deraadt@ ok
2003-04-09syetem -> system;Jason McIntyre
from Marko Cehaja closes PR 3187
2003-01-03DEL hasn't sent SIGINTR in a looooong time.Todd C. Miller
2002-11-14use $ or # before commands in examplesTheo de Raadt
2002-10-07 tyopVincent Labrecque
ok deraadt@
2002-08-12Swap args to calloc(3) so they are in the correct order; art@ ok.Aaron Campbell
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-12a real pid_t cleanup.Mike Pechkin
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
2002-04-08Don't do tilde escapes unless we are in interactive mode. Now theTodd C. Miller
behavior matches the man page...
2002-03-14Remove \n from err/errx/warn/warnx().Mike Pechkin
millert@ ok
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-01-24Fix `necesary' typos; Alexander YurchenkoTodd C. Miller
Alas many of these were introduced by yours truly as necessary just doesn't look right to me for some reason ;-)
2002-01-24fix the history refsMichael Shalayeff
2001-12-18We need to adjust where "dot" points when we realloc(message).Todd C. Miller
Problem found by Mike Heffner of the FreeBSD project.
2001-11-28Catch SIGINT in sendmessage() so user can interupt a long messageTodd C. Miller
that is being output. Make statusput() return an int and return -1 if ferror()
2001-11-28Fix typo; SIGTTIN where SIGINT meant and rename a variable for clarity.Todd C. Miller
2001-11-23Revert change to Popen() to only wrap command in a shell if itTodd C. Miller
contains meta characters since people may expect their aliases to work. Instead, just remove the "kill(lock_pid, SIGTERM);" since lockspool now does the right thing when the pipe is closed.
2001-11-21o kill strcpy()Todd C. Miller
o check return values of malloc and friends o use strdup() when sensible
2001-11-21fix arg reversal that was introduced during ANSIficationTodd C. Miller
2001-11-21Fix extern decl of version missed in previous commit.Todd C. Miller
2001-11-21o ANSIfyTodd C. Miller
o Style nits o Use const to silent stupid -Wall warnings o strnc{py,at} -> strlc{py,at} o Use strpbrk() instead of homegrown anyof() o Use NULL instead of #defines with 0 cast to a pointer This still could use a proper audit
2001-11-20In private version of popen(), only wrap a command to be run in aTodd C. Miller
shell if it contains meta chars. Sneaky hack to work around a ksh bug.
2001-11-20Major signal overhaul. We no longer longjmp all over the place.Todd C. Miller
Instead, routines responsible to gathering user input (or in some cases outputting data) catch the signals and set flags as needed. Because of this some handlers are install without the SA_RESTART flag so syscalls are not restarted and we can check the flag. All signal handlers are now safe. This should make the flow of control a bit more grokable but the code is still ugly.
2001-11-17properly bail out of incfile(); millert okTheo de Raadt
2001-11-16Instead of using a longjmp to catch SIGPIPE, just set to SIG_IGN andTodd C. Miller
check the return value on writes for error. Save and restore terminal modes when piping to a command so we end up with a known good state if the command terminates uncleanly.
2001-10-11missing arg to errxTodd C. Miller