summaryrefslogtreecommitdiff
path: root/usr.bin/mail
AgeCommit message (Collapse)Author
2013-07-18document the :c selectors; from Sunil NimmagaddaJason McIntyre
2013-04-29use FD_CLOEXEC instead of 1; from David HillOkan Demirmen
ok otto
2012-11-14use F_OK macro instead of 0 in access() when checking by file existence. ↵Gleydson Soares
make the code easier to read. no functional change. OK millert@
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'Miod Vallat
for chars.
2010-11-07more EXIT STATUS bits; from Daniel DickmanJason McIntyre
2010-01-10remove references to docs we no longer install;Jason McIntyre
2010-01-04Stop installing many of the incredibly dated and un-authoritative share/docTheo de Raadt
files. If any information found in these documents is worthwhile and you miss it, please make the time to work it into the manual pages (which people actually do read). ok guenther
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-09-05Fixed typo in comment.Tobias Stoeckmann
ok millert
2009-07-29- ~<, ~_ are undocumented aliases of ~r, ~:Martynas Venckus
- missing documentation for ~. - use compact list, and .Pp. so that aliases could be listed - reformat to fit aliases in tilde help with help & ok jmc@, sobrado@, millert@
2009-07-28remove core / tilde C. it's useless, doesn't work, never has beenMartynas Venckus
documented, ^\ should be used instead. ok millert@
2009-07-23elide a little bit later, the final list, after From has beenMartynas Venckus
appended. properly removes if there's a dup in from & to. ok millert@
2009-04-23document the "more" command in the help page; ok millertTheo de Raadt
2009-02-10mark these utilities as being largely posix compliant or, in the case ofJason McIntyre
nm, as not being posix compliant;
2008-11-03...and then sync tildehelp and mail9.nr;Jason McIntyre
2008-11-03update the tilde escapes for both these files,Jason McIntyre
and try and keep them in a similar format/order;
2008-11-03poor USD docs, we always forget you! ...document ~xJason McIntyre
2008-11-03add ~x; which is quite handy sometimes. per posixMartynas Venckus
man page tweak&ok jmc@. ok millert@
2008-10-09- add -d to usageJason McIntyre
- sync -f arg name with man page synopsis
2008-10-08document -d. ok millert@Martynas Venckus
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.