Commit Graph

44 Commits

Author SHA1 Message Date
Mike Heffner
43acc706ac These aren't all binary options. 2004-03-09 01:20:24 +00:00
Mike Heffner
c92dfc231b Add the -e (mail presence test), -H (header summary mode), and -F
(message save as first recipient) options for standards
conformance.

Submitted by:	Wartan Hachaturow <wart@tepkom.ru> (with some changes)
PR:		standards/61934
2004-02-29 20:44:44 +00:00
Mike Heffner
92739f56c4 Document the ~. and ~? command escapes. 2003-01-09 01:08:33 +00:00
Mike Heffner
0077673e56 Add support for the 'flipr' option per IEEE 1003.1-2001. 2002-06-25 05:34:27 +00:00
Mike Heffner
27c7d5ffd1 Make the 'searchheaders' option behave how it was supposed to. If
enabled, the string '/to:y' will match strings in the To, Cc, and Bcc
header fields. Whereas, '/To:y' will match only the To field. Edit the
manpage and a code comment to indicate the correct behavior.
2002-06-25 05:24:30 +00:00
Mike Heffner
d1821d3da2 Rearrange a little, specifically:
- removed "Option string values" section and divided up amongst mail
  options and environment section
- expanded environment section
- rearranged mail options
- added default values to the mail options for clarification

Reviewed by:	ru
2002-06-25 05:16:11 +00:00
Philippe Charnier
e8937ba009 Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
Philippe Charnier
57906e00c6 Show arguments of command line options
Reviewed by:	ru
2002-01-22 19:49:48 +00:00
Mike Heffner
94ef258fee Link mail(1) to mailx per POSIX. Mail(1) isn't 100% POSIX compliant,
but it is pretty close.

Not objected to by: -standards
2002-01-19 23:47:21 +00:00
Ruslan Ermilov
3e048b5912 mdoc(7) police: oops, forgot about those interim XXX'es. 2002-01-10 14:27:04 +00:00
Ruslan Ermilov
81135783d1 mdoc(7) police: tidy up. 2002-01-10 14:25:34 +00:00
Mike Heffner
69131e4050 Add support for ~_, ~x, ~i, ~a, ~A, ~<, and ~r! tilde-escapes. Improve
tilde-escapes documentation.

Mostly obtained from:	NetBSD
2001-12-22 22:16:48 +00:00
Mike Heffner
856f23ed35 Sync with most of NetBSD's changes, including:
*) Sync with 4.4BSD-Lite2
 *) Set usecs for utimes()
 *) Add 'inc' command and 'autoinc' option that check for new mail
    manually and automatically, respectively
 *) Use POSIX signal handling and tty semantics
 *) Handle long lines correctly when paging messages
 *) Add ability to explicitly search 'To:' line
 *) Various manpage cleanups
 *) Support overriding '~/.mailrc' with $MAILRC
 *) Support 'askbcc' and 'asksub' options
 *) Fix various bugs

Reviewed by:	ru (mail.1)
Obtained from:	NetBSD
2001-12-18 20:52:09 +00:00
Ruslan Ermilov
57e4378bf6 mdoc(7) police: protect trailing full stops of abbreviations
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
Dima Dorfman
f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
Ruslan Ermilov
625003720a mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
Ruslan Ermilov
b7cd452d78 mdoc(7) police: fixed formatting bugs in rev. 1.27. 2001-07-05 06:27:52 +00:00
Mike Heffner
dcd24e2778 Add the -E flag to not send messages that have an empty body. This is
useful for piping cron script error output by mail.

PR:		bin/9494
Obtained from:	NetBSD
MFC after:	2 weeks
2001-06-28 02:40:07 +00:00
Mike Heffner
59c3f4f7ee Respect REPLYTO in mailrc.
PR:		bin/8322
Submitted by:	Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
MFC after:	2 weeks
2001-06-14 01:08:30 +00:00
Ruslan Ermilov
c2d03ea879 Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
Ruslan Ermilov
d0353b836e mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
Ruslan Ermilov
9884911506 mdoc(7) police: fixed broken references. 2001-01-16 11:52:00 +00:00
Ruslan Ermilov
9b88faecd3 Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
Ruslan Ermilov
8fe908ef0c mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
Ruslan Ermilov
726b61ab5f Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
Gregory Neil Shapiro
2216e2a2cd Complete migration of aliases file to /etc/mail/aliases.
The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster
have been contacted so those may be updated as well.
2000-08-13 18:38:58 +00:00
Sheldon Hearn
87faa07bec Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
Joseph Koshy
727c14404a Document startup behaviour of mail(1).
PR:		docs/1577
Submitted by:	Joseph Koshy <koshy@india.hp.com>
1999-11-08 03:54:37 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Steve Price
2d5be945b8 Document the use of sendmail options on the commandline.
PR:		4778
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 00:59:29 +00:00
Joerg Wunsch
99bd6601d7 Teach boring old mail(1) about the use of the REPLYTO environment
variable which is de-facto standard for MUAs.

Teach bomail to generate an in-reply-to header so threading MUAs and
mail->news gateways won't lose context.

While i was at it, removed two gratuitous standard violations for
functions starting with an underscore.
1998-01-02 16:44:13 +00:00
James Raynard
f3456b7e34 Balance parentheses around command abbreviations.
PR:			4888
Submitted by:	h-nokubi@nmit.tmg.nec.co.jp
1997-11-01 00:56:15 +00:00
Peter Wemm
c115df18cd Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
Mike Pritchard
d0aa25cbc5 Document the "more" command.
Submitted by:	Julian Coleman <j.d.coleman@ncl.ac.uk>
Obtained from:  NetBSD-bugs PR# 3104
1997-01-15 04:44:08 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Jordan K. Hubbard
e9b074c385 Allow mail(1) to look for multiple mail.rc files.
Submitted-By: Lyndon Nerenberg VE7TCP <lyndon@orthanc.com>
1996-12-21 22:53:58 +00:00
Jordan K. Hubbard
d34dd13378 Honor the MAIL environment variable.
Submitted-By: Dan Cross <cross@math.psu.edu>
1996-10-06 01:55:32 +00:00
Wolfram Schneider
b8923d4cc0 [HISTORY] command appeared in Version 1 AT&T UNIX
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
1996-08-29 18:06:19 +00:00
Mike Pritchard
e229ffb7e9 Correct some cross references and some path names. 1996-04-06 09:47:30 +00:00
Wolfram Schneider
000ee932d4 filenames corrected 1996-02-02 05:14:04 +00:00
Mike Pritchard
4a8d02835c Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
Mark Murray
ec07fbef21 Correct the man pages, USD doc and online help to refer to /var/mail
instead of {usr|var}/spool/mail
1995-11-20 20:51:42 +00:00
Joerg Wunsch
b5cfa4b2c4 '#' is not a comment if a non-space char follow
Closes PR # bin/657: mail(1): comments in ~/.ma...

Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-08-15 19:40:26 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00