summaryrefslogtreecommitdiff
path: root/usr.bin/mail
AgeCommit message (Collapse)Author
2008-08-05fix description of the mail(1) "p" command; from Aaron W. Hsu.Igor Sobrado
ok martynas@
2008-08-03make U (abbreviation of unread) work as man page saysMartynas Venckus
ok millert@, jmc@. sure theo
2008-07-16'no subject' check is never triggered. check if it's actually emptyMartynas Venckus
ok millert@
2008-07-16add -E flag and 'skipempty' option to skip sending messages withMartynas Venckus
empty bodies. useful for sending mails from crontabs. from rivo nurges <rix at estpak dot ee>, with missing 'skipempty' documentation and usage update from me ok millert@
2008-07-16man page tweaks:Martynas Venckus
- for argument of -f flag, name -> file - document TMPDIR, better description from millert@ ok millert@
2008-07-16- use strncmp/strncasecmp instead of comparing by characterMartynas Venckus
- simplify istrlcpy, no need to check for isupper - line[0] is redundant, because strcasecmp will take care of it ok millert@
2008-07-16- err with the pathbuf, if we know itMartynas Venckus
- use tmpdir instead of /tmp ok millert@
2008-07-15- chraise can be replaced with toupper; no need to check for islowerMartynas Venckus
- remove quite some code, use strcasestr instead of reimplementing it each time - use strncasecmp, instead of comparing through each character "looks fine" millert@
2008-07-15set cp to the value of PAGER, so that type1 doesn't try to use itMartynas Venckus
uninitialized (page=1), or use wrong previously-set value of crt (page=0). ok millert@
2007-10-17- Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) byTheo de Raadt
temporarily restoring default behaviour. This is not 100% ideal. But this fixes editor handling in mail... bah, it is really unfortunate that got broken - refactor the restoration code as well, to make it simpler ok ray
2007-10-05check if it's really a newline before removing itCharles Longeau
with the help of ray@ "Looks OK" millert@
2007-09-10Proper use of fseek/fseeko macros.Tobias Stoeckmann
OK joris@, otto@
2007-08-31Copy editit() from sendbug, synchronizing editor calling code.Ray Lai
OK otto, millert, beck, mbalmer, deraadt.
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
and synopsis of commands lots of good ideas by jmc@ ok jmc@
2007-06-19Grammar-o.Ray Lai
OK jmc
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-25"interupt" -> "interrupt" in various comments. Mostly from Diego Casati.Kenneth R Westerback
2007-04-03make it work with height 4 (division by zero)Martynas Venckus
ok millert@
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-02-26more small fixes from Igor Sobrado, tweaked by myself;Jason McIntyre
2007-02-26some small fixes from Igor Sobrado;Jason McIntyre
2007-02-25remove bad comma; from Igor SobradoJason McIntyre
2006-11-16Fix undefined behavior (var = --var).Ray Lai
From Alexey Dobriyan <adobriyan at gmail dot com>. OK moritz@ and jaredy@.
2006-10-10fgets(3) returns NULL on error, not 0. No functional change, but it makesChad Loder
the code easier to read. OK deraadt
2006-05-02Nuke a couple orphaned prototypes.Hugh Graham
quoth deraadt: no problem
2006-04-02use SEEK_* for lseek()Theo de Raadt
2006-03-04the theMiod Vallat
2006-02-01double semicolon; from Daniel Matic in PR 4929Otto Moerbeek
2006-01-06Adapt things to use __type_t instead of _BSD_TYPE_T_Todd C. Miller
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
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