.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
.\"
-.TH mutt 1 "July 2000" Unix "User Manuals"
+.TH mutt 1 "June 2001" Unix "User Manuals"
.SH NAME
.PP
mutt \- The Mutt Mail User Agent
.PP
.IP "EDITOR"
Editor to invoke when composing a message.
+.IP "EMAIL"
+The user's e-mail address.
.IP "HOME"
Full path of the user's home directory.
.IP "MAIL"
.\" -*-nroff-*-
.\"
.\"
-.\" Copyright (C) 1996-2000 Thomas Roessler <roessler@guug.de>
+.\" Copyright (C) 1996-2000 Thomas Roessler <roessler@does-not-exist.org>
.\"
.\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.PP
.B flea
and this manual page were written by Thomas Roessler
-<roessler@guug.de>.
+<roessler@does-not-exist.org>.
FREE (&token.data);
}
+ if ((p = getenv ("EMAIL")) != NULL)
+ From = rfc822_parse_adrlist (NULL, p);
+
mutt_set_langinfo_charset ();
mutt_set_charset (Charset);
{ "forw_quote", DT_SYN, R_NONE, UL "forward_quote", 0 },
/*
*/
- { "from", DT_ADDR, R_NONE, UL &From, UL "" },
+ { "from", DT_ADDR, R_NONE, UL &From, 0 },
/*
** .pp
** When set, this variable contains a default from address. It
** can be overridden using my_hdr (including from send-hooks) and
** ``$$reverse_name''.
+ ** .pp
+ ** Defaults to the EMAIL environment variable's content.
*/
{ "gecos_mask", DT_RX, R_NONE, UL &GecosMask, UL "^[^,]*" },
/*