~ubuntu-branches/ubuntu/precise/mutt/precise

« back to all changes in this revision

Viewing changes to doc/gettingstarted.html

  • Committer: Package Import Robot
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy)
  • Date: 2010-12-17 14:28:28 UTC
  • mfrom: (16.2.3 experimental)
  • Revision ID: package-import@ubuntu.com-20101217142828-ve8yy0xf1zomtnx9
Tags: 1.5.21-1ubuntu1
* Merge with Debian experimental (LP: #691512), remaining changes:
  + debian/control, debian/patches/debian-specific/build_doc_adjustments.diff:
    Use w3m (main) instead of elinks (universe) for generating documentation.
  + Drop libtokyocabinet-dev (universe) from Build-Depends, use always
    libgdbm-dev and also use gdbm for the header cache backend. (lp: #607448)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
 
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Chapter 2. Getting Started</title><meta name="generator" content="DocBook XSL Stylesheets V1.74.3" /><link rel="home" href="index.html" title="The Mutt E-Mail Client" /><link rel="up" href="index.html" title="The Mutt E-Mail Client" /><link rel="prev" href="intro.html" title="Chapter 1. Introduction" /><link rel="next" href="configuration.html" title="Chapter 3. Configuration" /><style xmlns="" type="text/css">
 
3
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Chapter 2. Getting Started</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="The Mutt E-Mail Client" /><link rel="up" href="index.html" title="The Mutt E-Mail Client" /><link rel="prev" href="intro.html" title="Chapter 1. Introduction" /><link rel="next" href="configuration.html" title="Chapter 3. Configuration" /><style xmlns="" type="text/css">
4
4
      body { margin-left:2%; margin-right:2%; font-family:serif; }
5
5
.toc, .list-of-tables, .list-of-examples { font-family:sans-serif; }
6
6
h1, h2, h3, h4, h5, h6 { font-family:sans-serif; }
22
22
div.note h3 { font-size:small; font-style:italic; font-variant: small-caps; }
23
23
div.note h3:after { content: ":" }
24
24
div.note { margin-bottom: 5px; }
25
 
strong.command { font-family: monospace; font-weight: normal; }
 
25
.command { font-family: monospace; font-weight: normal; }
 
26
.command strong { font-weight: normal; }
26
27
tr { vertical-align: top; }
 
28
.comment { color:#707070; }
27
29
 
28
 
    </style></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 2. Getting Started</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="intro.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="configuration.html">Next</a></td></tr></table><hr /></div><div class="chapter" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title"><a id="gettingstarted"></a>Chapter 2. Getting Started</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="gettingstarted.html#core-concepts">1. Core Concepts</a></span></dt><dt><span class="sect1"><a href="gettingstarted.html#concept-screens-and-menus">2. Screens and Menus</a></span></dt><dd><dl><dt><span class="sect2"><a href="gettingstarted.html#intro-index">2.1. Index</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#intro-pager">2.2. Pager</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#intro-browser">2.3. File Browser</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#intro-help">2.4. Help</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#intro-compose">2.5. Compose Menu</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#intro-alias">2.6. Alias Menu</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#intro-attach">2.7. Attachment Menu</a></span></dt></dl></dd><dt><span class="sect1"><a href="gettingstarted.html#menus">3. Moving Around in Menus</a></span></dt><dt><span class="sect1"><a href="gettingstarted.html#editing">4. Editing Input Fields</a></span></dt><dd><dl><dt><span class="sect2"><a href="gettingstarted.html#editing-intro">4.1. Introduction</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#editing-history">4.2. History</a></span></dt></dl></dd><dt><span class="sect1"><a href="gettingstarted.html#reading">5. Reading Mail</a></span></dt><dd><dl><dt><span class="sect2"><a href="gettingstarted.html#index-menu">5.1. The Message Index</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#pager-menu">5.2. The Pager</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#threads">5.3. Threaded Mode</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#reading-misc">5.4. Miscellaneous Functions</a></span></dt></dl></dd><dt><span class="sect1"><a href="gettingstarted.html#sending">6. Sending Mail</a></span></dt><dd><dl><dt><span class="sect2"><a href="gettingstarted.html#sending-intro">6.1. Introduction</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#edit-header">6.2. Editing the Message Header</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#sending-crypto">6.3. Sending Cryptographically Signed/Encrypted Messages</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#ff">6.4. Sending Format=Flowed Messages</a></span></dt></dl></dd><dt><span class="sect1"><a href="gettingstarted.html#forwarding-mail">7. Forwarding and Bouncing Mail</a></span></dt><dt><span class="sect1"><a href="gettingstarted.html#postponing-mail">8. Postponing Mail</a></span></dt></dl></div><p>
29
 
This section is intended as a brief overview of how to use Mutt.  There are
30
 
many other features which are described elsewhere in the manual.  There
31
 
is even more information available in the Mutt FAQ and various web
32
 
pages. See the <a class="ulink" href="http://www.mutt.org/" target="_top">Mutt homepage</a> for more details.
33
 
</p><p>
34
 
The keybindings described in this section are the defaults as distributed.
35
 
Your local system administrator may have altered the defaults for your site.
36
 
You can always type “<span class="quote">?</span>” in any menu to display the current bindings.
37
 
</p><p>
38
 
The first thing you need to do is invoke Mutt, simply by typing <code class="literal">mutt</code>
39
 
at the command line.  There are various command-line options, see
40
 
either the Mutt man page or the <a class="link" href="reference.html#commandline" title="1. Command-Line Options">reference</a>.
41
 
</p><div class="sect1" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="core-concepts"></a>1. Core Concepts</h2></div></div></div><p>
 
30
    </style></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 2. Getting Started</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="intro.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="configuration.html">Next</a></td></tr></table><hr /></div><div class="chapter" title="Chapter 2. Getting Started"><div class="titlepage"><div><div><h2 class="title"><a id="gettingstarted"></a>Chapter 2. Getting Started</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="gettingstarted.html#core-concepts">1. Core Concepts</a></span></dt><dt><span class="sect1"><a href="gettingstarted.html#concept-screens-and-menus">2. Screens and Menus</a></span></dt><dd><dl><dt><span class="sect2"><a href="gettingstarted.html#intro-index">2.1. Index</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#intro-pager">2.2. Pager</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#intro-browser">2.3. File Browser</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#intro-help">2.4. Help</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#intro-compose">2.5. Compose Menu</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#intro-alias">2.6. Alias Menu</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#intro-attach">2.7. Attachment Menu</a></span></dt></dl></dd><dt><span class="sect1"><a href="gettingstarted.html#menus">3. Moving Around in Menus</a></span></dt><dt><span class="sect1"><a href="gettingstarted.html#editing">4. Editing Input Fields</a></span></dt><dd><dl><dt><span class="sect2"><a href="gettingstarted.html#editing-intro">4.1. Introduction</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#editing-history">4.2. History</a></span></dt></dl></dd><dt><span class="sect1"><a href="gettingstarted.html#reading">5. Reading Mail</a></span></dt><dd><dl><dt><span class="sect2"><a href="gettingstarted.html#index-menu">5.1. The Message Index</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#pager-menu">5.2. The Pager</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#threads">5.3. Threaded Mode</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#reading-misc">5.4. Miscellaneous Functions</a></span></dt></dl></dd><dt><span class="sect1"><a href="gettingstarted.html#sending">6. Sending Mail</a></span></dt><dd><dl><dt><span class="sect2"><a href="gettingstarted.html#sending-intro">6.1. Introduction</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#edit-header">6.2. Editing the Message Header</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#sending-crypto">6.3. Sending Cryptographically Signed/Encrypted Messages</a></span></dt><dt><span class="sect2"><a href="gettingstarted.html#ff">6.4. Sending Format=Flowed Messages</a></span></dt></dl></dd><dt><span class="sect1"><a href="gettingstarted.html#forwarding-mail">7. Forwarding and Bouncing Mail</a></span></dt><dt><span class="sect1"><a href="gettingstarted.html#postponing-mail">8. Postponing Mail</a></span></dt></dl></div><p>
 
31
This section is intended as a brief overview of how to use Mutt.  There
 
32
are many other features which are described elsewhere in the manual.
 
33
There is even more information available in the Mutt FAQ and various web
 
34
pages. See the <a class="ulink" href="http://www.mutt.org/" target="_top">Mutt homepage</a>
 
35
for more details.
 
36
</p><p>
 
37
The keybindings described in this section are the defaults as
 
38
distributed.  Your local system administrator may have altered the
 
39
defaults for your site.  You can always type <span class="quote">“<span class="quote">?</span>”</span> in any
 
40
menu to display the current bindings.
 
41
</p><p>
 
42
The first thing you need to do is invoke Mutt, simply by typing
 
43
<code class="literal">mutt</code> at the command line.  There are various
 
44
command-line options, see either the Mutt man page or the <a class="link" href="reference.html#commandline" title="1. Command-Line Options">reference</a>.
 
45
</p><div class="sect1" title="1. Core Concepts"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="core-concepts"></a>1. Core Concepts</h2></div></div></div><p>
42
46
Mutt is a text-based application which interacts with users through
43
47
different menus which are mostly line-/entry-based or page-based. A
44
 
line-based menu is the so-called “<span class="quote">index</span>” menu (listing all messages of
45
 
the currently opened folder) or the “<span class="quote">alias</span>” menu (allowing you to
46
 
select recipients from a list). Examples for page-based menus are the
47
 
“<span class="quote">pager</span>” (showing one message at a time) or the “<span class="quote">help</span>” menu listing
48
 
all available key bindings.
 
48
line-based menu is the so-called <span class="quote">“<span class="quote">index</span>”</span> menu (listing all
 
49
messages of the currently opened folder) or the <span class="quote">“<span class="quote">alias</span>”</span>
 
50
menu (allowing you to select recipients from a list). Examples for
 
51
page-based menus are the <span class="quote">“<span class="quote">pager</span>”</span> (showing one message at a
 
52
time) or the <span class="quote">“<span class="quote">help</span>”</span> menu listing all available key
 
53
bindings.
49
54
</p><p>
50
55
The user interface consists of a context sensitive help line at the top,
51
56
the menu's contents followed by a context sensitive status line and
59
64
configuration files readable and commentable.
60
65
</p><p>
61
66
Because Mutt allows for customizing almost all key bindings, there are
62
 
so-called “<span class="quote">functions</span>” which can be executed manually (using the
63
 
command line) or in macros. Macros allow the user to bind a sequence of
64
 
commands to a single key or a short key sequence instead of repeating a
65
 
sequence of actions over and over.
 
67
so-called <span class="quote">“<span class="quote">functions</span>”</span> which can be executed manually (using
 
68
the command line) or in macros. Macros allow the user to bind a sequence
 
69
of commands to a single key or a short key sequence instead of repeating
 
70
a sequence of actions over and over.
66
71
</p><p>
67
72
Many commands (such as saving or copying a message to another folder)
68
73
can be applied to a single message or a set of messages (so-called
69
 
“<span class="quote">tagged</span>” messages). To help selecting messages, Mutt provides a rich
70
 
set of message patterns (such as recipients, sender, body contents, date
71
 
sent/received, etc.) which can be combined into complex expressions
72
 
using the boolean <span class="emphasis"><em>and</em></span> and <span class="emphasis"><em>or</em></span>
73
 
operations as well as negating. These patterns can also be used to (for
74
 
example) search for messages or to limit the index to show only matching
75
 
messages.
 
74
<span class="quote">“<span class="quote">tagged</span>”</span> messages). To help selecting messages, Mutt
 
75
provides a rich set of message patterns (such as recipients, sender,
 
76
body contents, date sent/received, etc.) which can be combined into
 
77
complex expressions using the boolean <span class="emphasis"><em>and</em></span> and
 
78
<span class="emphasis"><em>or</em></span> operations as well as negating. These patterns
 
79
can also be used to (for example) search for messages or to limit the
 
80
index to show only matching messages.
76
81
</p><p>
77
 
Mutt supports a “<span class="quote">hook</span>” concept which allows the user to execute
78
 
arbitrary configuration commands and functions in certain situations
79
 
such as entering a folder, starting a new message or replying to an
80
 
existing one. These hooks can be used to highly customize Mutt's
81
 
behaviour including managing multiple identities, customizing the
 
82
Mutt supports a <span class="quote">“<span class="quote">hook</span>”</span> concept which allows the user to
 
83
execute arbitrary configuration commands and functions in certain
 
84
situations such as entering a folder, starting a new message or replying
 
85
to an existing one. These hooks can be used to highly customize Mutt's
 
86
behavior including managing multiple identities, customizing the
82
87
display for a folder or even implementing auto-archiving based on a
83
88
per-folder basis and much more.
84
89
</p><p>
86
91
tool only send messages. It also supports a
87
92
<code class="literal">mailx(1)</code>-compatible interface, see <a class="xref" href="reference.html#tab-commandline-options" title="Table 9.1. Command line options">Table 9.1, “Command line options”</a> for a complete list of command-line
88
93
options.
89
 
</p></div><div class="sect1" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="concept-screens-and-menus"></a>2. Screens and Menus</h2></div></div></div><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="intro-index"></a>2.1. Index</h3></div></div></div><p>
 
94
</p></div><div class="sect1" title="2. Screens and Menus"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="concept-screens-and-menus"></a>2. Screens and Menus</h2></div></div></div><div class="sect2" title="2.1. Index"><div class="titlepage"><div><div><h3 class="title"><a id="intro-index"></a>2.1. Index</h3></div></div></div><p>
90
95
The index is the screen that you usually see first when you start
91
96
Mutt. It gives an overview over your emails in the currently opened
92
97
mailbox. By default, this is your system mailbox.  The information you
95
100
replied to, tagged email, ...), the date when email was sent, its
96
101
sender, the email size, and the subject. Additionally, the index also
97
102
shows thread hierarchies: when you reply to an email, and the other
98
 
person replies back, you can see the other's person email in a
 
103
person replies back, you can see the other person's email in a
99
104
"sub-tree" below.  This is especially useful for personal email between
100
105
a group of people or when you've subscribed to mailing lists.
101
 
</p></div><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="intro-pager"></a>2.2. Pager</h3></div></div></div><p>
 
106
</p></div><div class="sect2" title="2.2. Pager"><div class="titlepage"><div><div><h3 class="title"><a id="intro-pager"></a>2.2. Pager</h3></div></div></div><p>
102
107
The pager is responsible for showing the email content. On the top of
103
108
the pager you have an overview over the most important email headers
104
109
like the sender, the recipient, the subject, and much more
114
119
show different things in the pager with different colors. Virtually
115
120
everything that can be described with a regular expression can be
116
121
colored, e.g. URLs, email addresses or smileys.
117
 
</p></div><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="intro-browser"></a>2.3. File Browser</h3></div></div></div><p>
 
122
</p></div><div class="sect2" title="2.3. File Browser"><div class="titlepage"><div><div><h3 class="title"><a id="intro-browser"></a>2.3. File Browser</h3></div></div></div><p>
118
123
The file browser is the interface to the local or remote file
119
124
system. When selecting a mailbox to open, the browser allows custom
120
125
sorting of items, limiting the items shown by a regular expression and a
121
126
freely adjustable format of what to display in which way. It also allows
122
127
for easy navigation through the file system when selecting file(s) to
123
128
attach to a message, select multiple files to attach and many more.
124
 
</p></div><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="intro-help"></a>2.4. Help</h3></div></div></div><p>
 
129
</p></div><div class="sect2" title="2.4. Help"><div class="titlepage"><div><div><h3 class="title"><a id="intro-help"></a>2.4. Help</h3></div></div></div><p>
125
130
The help screen is meant to offer a quick help to the user. It lists the
126
131
current configuration of key bindings and their associated commands
127
132
including a short description, and currently unbound functions that
128
133
still need to be associated with a key binding (or alternatively, they
129
134
can be called via the Mutt command prompt).
130
 
</p></div><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="intro-compose"></a>2.5. Compose Menu</h3></div></div></div><p>
 
135
</p></div><div class="sect2" title="2.5. Compose Menu"><div class="titlepage"><div><div><h3 class="title"><a id="intro-compose"></a>2.5. Compose Menu</h3></div></div></div><p>
131
136
The compose menu features a split screen containing the information
132
137
which really matter before actually sending a message by mail: who gets
133
138
the message as what (recipients and who gets what kind of
135
140
whether to sign, encrypt or sign and encrypt a message with/for what
136
141
keys. Also, it's used to attach messages, to re-edit any attachment
137
142
including the message itself.
138
 
</p></div><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="intro-alias"></a>2.6. Alias Menu</h3></div></div></div><p>
 
143
</p></div><div class="sect2" title="2.6. Alias Menu"><div class="titlepage"><div><div><h3 class="title"><a id="intro-alias"></a>2.6. Alias Menu</h3></div></div></div><p>
139
144
The alias menu is used to help users finding the recipients of
140
145
messages. For users who need to contact many people, there's no need to
141
146
remember addresses or names completely because it allows for searching,
142
147
too. The alias mechanism and thus the alias menu also features grouping
143
148
several addresses by a shorter nickname, the actual alias, so that users
144
149
don't have to select each single recipient manually.
145
 
</p></div><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="intro-attach"></a>2.7. Attachment Menu</h3></div></div></div><p>
 
150
</p></div><div class="sect2" title="2.7. Attachment Menu"><div class="titlepage"><div><div><h3 class="title"><a id="intro-attach"></a>2.7. Attachment Menu</h3></div></div></div><p>
146
151
As will be later discussed in detail, Mutt features a good and stable
147
152
MIME implementation, that is, it supports sending and receiving messages
148
153
of arbitrary MIME types. The attachment menu displays a message's
150
155
part (which gives a true tree structure), which type is of what type and
151
156
what size.  Single parts may saved, deleted or modified to offer great
152
157
and easy access to message's internals.
153
 
</p></div></div><div class="sect1" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="menus"></a>3. Moving Around in Menus</h2></div></div></div><p>
 
158
</p></div></div><div class="sect1" title="3. Moving Around in Menus"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="menus"></a>3. Moving Around in Menus</h2></div></div></div><p>
154
159
The most important navigation keys common to line- or entry-based menus
155
 
are shown in <a class="xref" href="gettingstarted.html#tab-keys-nav-line" title="Table 2.1. Most common navigation keys in entry-based menus">Table 2.1, “Most common navigation keys in entry-based menus”</a> and in
156
 
<a class="xref" href="gettingstarted.html#tab-keys-nav-page" title="Table 2.2. Most common navigation keys in page-based menus">Table 2.2, “Most common navigation keys in page-based menus”</a> for page-based menus.
157
 
</p><div class="table"><a id="tab-keys-nav-line"></a><p class="title"><b>Table 2.1. Most common navigation keys in entry-based menus</b></p><div class="table-contents"><table summary="Most common navigation keys in entry-based menus" border="1"><colgroup><col /><col /><col /></colgroup><thead><tr><th>Key</th><th>Function</th><th>Description</th></tr></thead><tbody><tr><td>j or &lt;Down&gt;</td><td><code class="literal">&lt;next-entry&gt;</code></td><td>move to the next entry</td></tr><tr><td>k or &lt;Up&gt;</td><td><code class="literal">&lt;previous-entry&gt;</code></td><td>move to the previous entry</td></tr><tr><td>z or &lt;PageDn&gt;</td><td><code class="literal">&lt;page-down&gt;</code></td><td>go to the next page</td></tr><tr><td>Z or &lt;PageUp&gt;</td><td><code class="literal">&lt;page-up&gt;</code></td><td>go to the previous page</td></tr><tr><td>= or &lt;Home&gt;</td><td><code class="literal">&lt;first-entry&gt;</code></td><td>jump to the first entry</td></tr><tr><td>* or &lt;End&gt;</td><td><code class="literal">&lt;last-entry&gt;</code></td><td>jump to the last entry</td></tr><tr><td>q</td><td><code class="literal">&lt;quit&gt;</code></td><td>exit the current menu</td></tr><tr><td>?</td><td><code class="literal">&lt;help&gt;</code></td><td>list all keybindings for the current menu</td></tr></tbody></table></div></div><br class="table-break" /><div class="table"><a id="tab-keys-nav-page"></a><p class="title"><b>Table 2.2. Most common navigation keys in page-based menus</b></p><div class="table-contents"><table summary="Most common navigation keys in page-based menus" border="1"><colgroup><col /><col /><col /></colgroup><thead><tr><th>Key</th><th>Function</th><th>Description</th></tr></thead><tbody><tr><td>J or &lt;Return&gt;</td><td><code class="literal">&lt;next-line&gt;</code></td><td>scroll down one line</td></tr><tr><td>&lt;Backspace&gt;</td><td><code class="literal">&lt;previous-line&gt;</code></td><td>sroll up one line</td></tr><tr><td>K, &lt;Space&gt; or &lt;PageDn&gt;</td><td><code class="literal">&lt;next-page&gt;</code></td><td>move to the next page</td></tr><tr><td>- or &lt;PageUp&gt;</td><td><code class="literal">&lt;previous-page&gt;</code></td><td>move the previous page</td></tr><tr><td>&lt;Home&gt;</td><td><code class="literal">&lt;top&gt;</code></td><td>move to the top</td></tr><tr><td>&lt;End&gt;</td><td><code class="literal">&lt;bottom&gt;</code></td><td>move to the bottom</td></tr></tbody></table></div></div><br class="table-break" /></div><div class="sect1" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="editing"></a>4. Editing Input Fields</h2></div></div></div><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="editing-intro"></a>4.1. Introduction</h3></div></div></div><p>
158
 
Mutt has a built-in line editor for inputting text, e.g. email
159
 
addresses or filenames. The keys used to manipulate text input are
160
 
very similar to those of Emacs. See <a class="xref" href="gettingstarted.html#tab-keys-editor" title="Table 2.3. Most common line editor keys">Table 2.3, “Most common line editor keys”</a> for a full
161
 
reference of available functions, their default key bindings, and
162
 
short descriptions.
 
160
are shown in <a class="xref" href="gettingstarted.html#tab-keys-nav-line" title="Table 2.1. Most common navigation keys in entry-based menus">Table 2.1, “Most common navigation keys in entry-based menus”</a> and in <a class="xref" href="gettingstarted.html#tab-keys-nav-page" title="Table 2.2. Most common navigation keys in page-based menus">Table 2.2, “Most common navigation keys in page-based menus”</a> for page-based menus.
 
161
</p><div class="table"><a id="tab-keys-nav-line"></a><p class="title"><b>Table 2.1. Most common navigation keys in entry-based menus</b></p><div class="table-contents"><table summary="Most common navigation keys in entry-based menus" border="1"><colgroup><col /><col /><col /></colgroup><thead><tr><th>Key</th><th>Function</th><th>Description</th></tr></thead><tbody><tr><td>j or &lt;Down&gt;</td><td><code class="literal">&lt;next-entry&gt;</code></td><td>move to the next entry</td></tr><tr><td>k or &lt;Up&gt;</td><td><code class="literal">&lt;previous-entry&gt;</code></td><td>move to the previous entry</td></tr><tr><td>z or &lt;PageDn&gt;</td><td><code class="literal">&lt;page-down&gt;</code></td><td>go to the next page</td></tr><tr><td>Z or &lt;PageUp&gt;</td><td><code class="literal">&lt;page-up&gt;</code></td><td>go to the previous page</td></tr><tr><td>= or &lt;Home&gt;</td><td><code class="literal">&lt;first-entry&gt;</code></td><td>jump to the first entry</td></tr><tr><td>* or &lt;End&gt;</td><td><code class="literal">&lt;last-entry&gt;</code></td><td>jump to the last entry</td></tr><tr><td>q</td><td><code class="literal">&lt;quit&gt;</code></td><td>exit the current menu</td></tr><tr><td>?</td><td><code class="literal">&lt;help&gt;</code></td><td>list all keybindings for the current menu</td></tr></tbody></table></div></div><br class="table-break" /><div class="table"><a id="tab-keys-nav-page"></a><p class="title"><b>Table 2.2. Most common navigation keys in page-based menus</b></p><div class="table-contents"><table summary="Most common navigation keys in page-based menus" border="1"><colgroup><col /><col /><col /></colgroup><thead><tr><th>Key</th><th>Function</th><th>Description</th></tr></thead><tbody><tr><td>J or &lt;Return&gt;</td><td><code class="literal">&lt;next-line&gt;</code></td><td>scroll down one line</td></tr><tr><td>&lt;Backspace&gt;</td><td><code class="literal">&lt;previous-line&gt;</code></td><td>scroll up one line</td></tr><tr><td>K, &lt;Space&gt; or &lt;PageDn&gt;</td><td><code class="literal">&lt;next-page&gt;</code></td><td>move to the next page</td></tr><tr><td>- or &lt;PageUp&gt;</td><td><code class="literal">&lt;previous-page&gt;</code></td><td>move the previous page</td></tr><tr><td>&lt;Home&gt;</td><td><code class="literal">&lt;top&gt;</code></td><td>move to the top</td></tr><tr><td>&lt;End&gt;</td><td><code class="literal">&lt;bottom&gt;</code></td><td>move to the bottom</td></tr></tbody></table></div></div><br class="table-break" /></div><div class="sect1" title="4. Editing Input Fields"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="editing"></a>4. Editing Input Fields</h2></div></div></div><div class="sect2" title="4.1. Introduction"><div class="titlepage"><div><div><h3 class="title"><a id="editing-intro"></a>4.1. Introduction</h3></div></div></div><p>
 
162
Mutt has a built-in line editor for inputting text, e.g. email addresses
 
163
or filenames. The keys used to manipulate text input are very similar to
 
164
those of Emacs. See <a class="xref" href="gettingstarted.html#tab-keys-editor" title="Table 2.3. Most common line editor keys">Table 2.3, “Most common line editor keys”</a> for a full
 
165
reference of available functions, their default key bindings, and short
 
166
descriptions.
163
167
</p><div class="table"><a id="tab-keys-editor"></a><p class="title"><b>Table 2.3. Most common line editor keys</b></p><div class="table-contents"><table summary="Most common line editor keys" border="1"><colgroup><col /><col /><col /></colgroup><thead><tr><th>Key</th><th>Function</th><th>Description</th></tr></thead><tbody><tr><td>^A or &lt;Home&gt;</td><td><code class="literal">&lt;bol&gt;</code></td><td>move to the start of the line</td></tr><tr><td>^B or &lt;Left&gt;</td><td><code class="literal">&lt;backward-char&gt;</code></td><td>move back one char</td></tr><tr><td>Esc B</td><td><code class="literal">&lt;backward-word&gt;</code></td><td>move back one word</td></tr><tr><td>^D or &lt;Delete&gt;</td><td><code class="literal">&lt;delete-char&gt;</code></td><td>delete the char under the cursor</td></tr><tr><td>^E or &lt;End&gt;</td><td><code class="literal">&lt;eol&gt;</code></td><td>move to the end of the line</td></tr><tr><td>^F or &lt;Right&gt;</td><td><code class="literal">&lt;forward-char&gt;</code></td><td>move forward one char</td></tr><tr><td>Esc F</td><td><code class="literal">&lt;forward-word&gt;</code></td><td>move forward one word</td></tr><tr><td>&lt;Tab&gt;</td><td><code class="literal">&lt;complete&gt;</code></td><td>complete filename or alias</td></tr><tr><td>^T</td><td><code class="literal">&lt;complete-query&gt;</code></td><td>complete address with query</td></tr><tr><td>^K</td><td><code class="literal">&lt;kill-eol&gt;</code></td><td>delete to the end of the line</td></tr><tr><td>Esc d</td><td><code class="literal">&lt;kill-eow&gt;</code></td><td>delete to the end of the word</td></tr><tr><td>^W</td><td><code class="literal">&lt;kill-word&gt;</code></td><td>kill the word in front of the cursor</td></tr><tr><td>^U</td><td><code class="literal">&lt;kill-line&gt;</code></td><td>delete entire line</td></tr><tr><td>^V</td><td><code class="literal">&lt;quote-char&gt;</code></td><td>quote the next typed key</td></tr><tr><td>&lt;Up&gt;</td><td><code class="literal">&lt;history-up&gt;</code></td><td>recall previous string from history</td></tr><tr><td>&lt;Down&gt;</td><td><code class="literal">&lt;history-down&gt;</code></td><td>recall next string from history</td></tr><tr><td>&lt;BackSpace&gt;</td><td><code class="literal">&lt;backspace&gt;</code></td><td>kill the char in front of the cursor</td></tr><tr><td>Esc u</td><td><code class="literal">&lt;upcase-word&gt;</code></td><td>convert word to upper case</td></tr><tr><td>Esc l</td><td><code class="literal">&lt;downcase-word&gt;</code></td><td>convert word to lower case</td></tr><tr><td>Esc c</td><td><code class="literal">&lt;capitalize-word&gt;</code></td><td>capitalize the word</td></tr><tr><td>^G</td><td>n/a</td><td>abort</td></tr><tr><td>&lt;Return&gt;</td><td>n/a</td><td>finish editing</td></tr></tbody></table></div></div><br class="table-break" /><p>
164
 
You can remap the <span class="emphasis"><em>editor</em></span> functions using the
165
 
<a class="link" href="configuration.html#bind" title="5. Changing the Default Key Bindings"><span class="command"><strong>bind</strong></span></a> command.  For example, to make
166
 
the &lt;Delete&gt; key delete the character in front of
167
 
the cursor rather than under, you could use:
 
168
You can remap the <span class="emphasis"><em>editor</em></span> functions using the <a class="link" href="configuration.html#bind" title="5. Changing the Default Key Bindings"><span class="command"><strong>bind</strong></span></a> command.  For example, to
 
169
make the &lt;Delete&gt; key delete the character in front of the cursor
 
170
rather than under, you could use:
168
171
</p><pre class="screen">
169
172
bind editor &lt;delete&gt; backspace
170
 
</pre></div><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="editing-history"></a>4.2. History</h3></div></div></div><p>
 
173
</pre></div><div class="sect2" title="4.2. History"><div class="titlepage"><div><div><h3 class="title"><a id="editing-history"></a>4.2. History</h3></div></div></div><p>
171
174
Mutt maintains a history for the built-in editor.  The number of items
172
 
is controlled by the <a class="link" href="reference.html#history" title="3.89. history">$history</a>
173
 
variable and can be made persistent using an external file specified
174
 
using <a class="link" href="reference.html#history-file" title="3.90. history_file">$history_file</a>.
175
 
You may cycle through them at an editor prompt by using the
176
 
<code class="literal">&lt;history-up&gt;</code> and/or
177
 
<code class="literal">&lt;history-down&gt;</code> commands. But notice that Mutt
178
 
does not remember the currently entered text, it only cycles through
179
 
history and wraps around at the end or beginning.
 
175
is controlled by the <a class="link" href="reference.html#history" title="3.89. history">$history</a> variable
 
176
and can be made persistent using an external file specified using <a class="link" href="reference.html#history-file" title="3.90. history_file">$history_file</a>.  You may cycle through them
 
177
at an editor prompt by using the <code class="literal">&lt;history-up&gt;</code>
 
178
and/or <code class="literal">&lt;history-down&gt;</code> commands. But notice that
 
179
Mutt does not remember the currently entered text, it only cycles
 
180
through history and wraps around at the end or beginning.
180
181
</p><p>
181
182
Mutt maintains several distinct history lists, one for each of the
182
183
following categories:
183
 
</p><div class="itemizedlist"><ul type="disc"><li><p><code class="literal">.muttrc</code> commands</p></li><li><p>addresses and aliases</p></li><li><p>shell commands</p></li><li><p>filenames</p></li><li><p>patterns</p></li><li><p>everything else</p></li></ul></div><p>
184
 
Mutt automatically filters out consecutively repeated items from the history. It
185
 
also mimics the behavior of some shells by ignoring items starting
186
 
with a space. The latter feature can be useful in macros to not clobber
187
 
the history's valuable entries with unwanted entries.
188
 
</p></div></div><div class="sect1" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="reading"></a>5. Reading Mail</h2></div></div></div><p>
 
184
</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><code class="literal">.muttrc</code> commands</p></li><li class="listitem"><p>addresses and aliases</p></li><li class="listitem"><p>shell commands</p></li><li class="listitem"><p>filenames</p></li><li class="listitem"><p>patterns</p></li><li class="listitem"><p>everything else</p></li></ul></div><p>
 
185
Mutt automatically filters out consecutively repeated items from the
 
186
history. It also mimics the behavior of some shells by ignoring items
 
187
starting with a space. The latter feature can be useful in macros to not
 
188
clobber the history's valuable entries with unwanted entries.
 
189
</p></div></div><div class="sect1" title="5. Reading Mail"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="reading"></a>5. Reading Mail</h2></div></div></div><p>
189
190
Similar to many other mail clients, there are two modes in which mail is
190
191
read in Mutt.  The first is a list of messages in the mailbox, which is
191
 
called the “<span class="quote">index</span>” menu in Mutt.  The second mode is the display of the
192
 
message contents.  This is called the “<span class="quote">pager.</span>”
 
192
called the <span class="quote">“<span class="quote">index</span>”</span> menu in Mutt.  The second mode is the
 
193
display of the message contents.  This is called the
 
194
<span class="quote">“<span class="quote">pager.</span>”</span>
193
195
</p><p>
194
196
The next few sections describe the functions provided in each of these
195
197
modes.
196
 
</p><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="index-menu"></a>5.1. The Message Index</h3></div></div></div><p>
 
198
</p><div class="sect2" title="5.1. The Message Index"><div class="titlepage"><div><div><h3 class="title"><a id="index-menu"></a>5.1. The Message Index</h3></div></div></div><p>
197
199
Common keys used to navigate through and manage messages in the index
198
200
are shown in <a class="xref" href="gettingstarted.html#tab-key-index" title="Table 2.4. Most common message index keys">Table 2.4, “Most common message index keys”</a>. How messages are presented
199
 
in the index menu can be customized using the
200
 
<a class="link" href="reference.html#index-format" title="3.114. index_format">$index_format</a> variable.
 
201
in the index menu can be customized using the <a class="link" href="reference.html#index-format" title="3.114. index_format">$index_format</a> variable.
201
202
</p><div class="table"><a id="tab-key-index"></a><p class="title"><b>Table 2.4. Most common message index keys</b></p><div class="table-contents"><table summary="Most common message index keys" border="1"><colgroup><col /><col /></colgroup><thead><tr><th>Key</th><th>Description</th></tr></thead><tbody><tr><td>c</td><td>change to a different mailbox</td></tr><tr><td>Esc c</td><td>change to a folder in read-only mode</td></tr><tr><td>C</td><td>copy the current message to another mailbox</td></tr><tr><td>Esc C</td><td>decode a message and copy it to a folder</td></tr><tr><td>Esc s</td><td>decode a message and save it to a folder</td></tr><tr><td>D</td><td>delete messages matching a pattern</td></tr><tr><td>d</td><td>delete the current message</td></tr><tr><td>F</td><td>mark as important</td></tr><tr><td>l</td><td>show messages matching a pattern</td></tr><tr><td>N</td><td>mark message as new</td></tr><tr><td>o</td><td>change the current sort method</td></tr><tr><td>O</td><td>reverse sort the mailbox</td></tr><tr><td>q</td><td>save changes and exit</td></tr><tr><td>s</td><td>save-message</td></tr><tr><td>T</td><td>tag messages matching a pattern</td></tr><tr><td>t</td><td>toggle the tag on a message</td></tr><tr><td>Esc t</td><td>toggle tag on entire message thread</td></tr><tr><td>U</td><td>undelete messages matching a pattern</td></tr><tr><td>u</td><td>undelete-message</td></tr><tr><td>v</td><td>view-attachments</td></tr><tr><td>x</td><td>abort changes and exit</td></tr><tr><td>&lt;Return&gt;</td><td>display-message</td></tr><tr><td>&lt;Tab&gt;</td><td>jump to the next new or unread message</td></tr><tr><td>@</td><td>show the author's full e-mail address</td></tr><tr><td>$</td><td>save changes to mailbox</td></tr><tr><td>/</td><td>search</td></tr><tr><td>Esc /</td><td>search-reverse</td></tr><tr><td>^L</td><td>clear and redraw the screen</td></tr><tr><td>^T</td><td>untag messages matching a pattern</td></tr></tbody></table></div></div><br class="table-break" /><p>
202
203
In addition to who sent the message and the subject, a short summary of
203
204
the disposition of each message is printed beside the message number.
204
 
Zero or more of the “<span class="quote">flags</span>” in <a class="xref" href="gettingstarted.html#tab-msg-status-flags" title="Table 2.5. Message status flags">Table 2.5, “Message status flags”</a>
205
 
may appear, some of which can be turned on or off using these functions:
206
 
<code class="literal">&lt;set-flag&gt;</code> and
207
 
<code class="literal">&lt;clear-flag&gt;</code>
208
 
bound by default to “<span class="quote">w</span>” and “<span class="quote">W</span>” respectively.
 
205
Zero or more of the <span class="quote">“<span class="quote">flags</span>”</span> in <a class="xref" href="gettingstarted.html#tab-msg-status-flags" title="Table 2.5. Message status flags">Table 2.5, “Message status flags”</a> may appear, some of which can be turned
 
206
on or off using these functions: <code class="literal">&lt;set-flag&gt;</code> and
 
207
<code class="literal">&lt;clear-flag&gt;</code> bound by default to
 
208
<span class="quote">“<span class="quote">w</span>”</span> and <span class="quote">“<span class="quote">W</span>”</span> respectively.
209
209
</p><p>
210
210
Furthermore, the flags in <a class="xref" href="gettingstarted.html#tab-msg-recip-flags" title="Table 2.6. Message recipient flags">Table 2.6, “Message recipient flags”</a> reflect
211
 
who the message is addressed to. They can be customized with the
212
 
<a class="link" href="reference.html#to-chars" title="3.293. to_chars">$to_chars</a> variable.
213
 
</p><div class="table"><a id="tab-msg-status-flags"></a><p class="title"><b>Table 2.5. Message status flags</b></p><div class="table-contents"><table summary="Message status flags" border="1"><colgroup><col /><col /></colgroup><thead><tr><th>Flag</th><th>Description</th></tr></thead><tbody><tr><td>D</td><td>message is deleted (is marked for deletion)</td></tr><tr><td>d</td><td>message has attachments marked for deletion</td></tr><tr><td>K</td><td>contains a PGP public key</td></tr><tr><td>N</td><td>message is new</td></tr><tr><td>O</td><td>message is old</td></tr><tr><td>P</td><td>message is PGP encrypted</td></tr><tr><td>r</td><td>message has been replied to</td></tr><tr><td>S</td><td>message is signed, and the signature is successfully verified</td></tr><tr><td>s</td><td>message is signed</td></tr><tr><td>!</td><td>message is flagged</td></tr><tr><td>*</td><td>message is tagged</td></tr></tbody></table></div></div><br class="table-break" /><div class="table"><a id="tab-msg-recip-flags"></a><p class="title"><b>Table 2.6. Message recipient flags</b></p><div class="table-contents"><table summary="Message recipient flags" border="1"><colgroup><col /><col /></colgroup><thead><tr><th>Flag</th><th>Description</th></tr></thead><tbody><tr><td>+</td><td>message is to you and you only</td></tr><tr><td>T</td><td>message is to you, but also to or cc'ed to others</td></tr><tr><td>C</td><td>message is cc'ed to you</td></tr><tr><td>F</td><td>message is from you</td></tr><tr><td>L</td><td>message is sent to a subscribed mailing list</td></tr></tbody></table></div></div><br class="table-break" /></div><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="pager-menu"></a>5.2. The Pager</h3></div></div></div><p>
214
 
By default, Mutt uses its builtin pager to display the contents of
 
211
who the message is addressed to. They can be customized with the <a class="link" href="reference.html#to-chars" title="3.294. to_chars">$to_chars</a> variable.
 
212
</p><div class="table"><a id="tab-msg-status-flags"></a><p class="title"><b>Table 2.5. Message status flags</b></p><div class="table-contents"><table summary="Message status flags" border="1"><colgroup><col /><col /></colgroup><thead><tr><th>Flag</th><th>Description</th></tr></thead><tbody><tr><td>D</td><td>message is deleted (is marked for deletion)</td></tr><tr><td>d</td><td>message has attachments marked for deletion</td></tr><tr><td>K</td><td>contains a PGP public key</td></tr><tr><td>N</td><td>message is new</td></tr><tr><td>O</td><td>message is old</td></tr><tr><td>P</td><td>message is PGP encrypted</td></tr><tr><td>r</td><td>message has been replied to</td></tr><tr><td>S</td><td>message is signed, and the signature is successfully verified</td></tr><tr><td>s</td><td>message is signed</td></tr><tr><td>!</td><td>message is flagged</td></tr><tr><td>*</td><td>message is tagged</td></tr><tr><td>n</td><td>thread contains new messages (only if collapsed)</td></tr><tr><td>o</td><td>thread contains old messages (only if collapsed)</td></tr></tbody></table></div></div><br class="table-break" /><div class="table"><a id="tab-msg-recip-flags"></a><p class="title"><b>Table 2.6. Message recipient flags</b></p><div class="table-contents"><table summary="Message recipient flags" border="1"><colgroup><col /><col /></colgroup><thead><tr><th>Flag</th><th>Description</th></tr></thead><tbody><tr><td>+</td><td>message is to you and you only</td></tr><tr><td>T</td><td>message is to you, but also to or CC'ed to others</td></tr><tr><td>C</td><td>message is CC'ed to you</td></tr><tr><td>F</td><td>message is from you</td></tr><tr><td>L</td><td>message is sent to a subscribed mailing list</td></tr></tbody></table></div></div><br class="table-break" /></div><div class="sect2" title="5.2. The Pager"><div class="titlepage"><div><div><h3 class="title"><a id="pager-menu"></a>5.2. The Pager</h3></div></div></div><p>
 
213
By default, Mutt uses its built-in pager to display the contents of
215
214
messages (an external pager such as <code class="literal">less(1)</code> can be
216
 
configured, see <a class="link" href="reference.html#pager" title="3.148. pager">$pager</a> variable).
217
 
The pager is very similar to the Unix program <code class="literal">less(1)</code>
 
215
configured, see <a class="link" href="reference.html#pager" title="3.149. pager">$pager</a> variable).  The
 
216
pager is very similar to the Unix program <code class="literal">less(1)</code>
218
217
though not nearly as featureful.
219
218
</p><div class="table"><a id="tab-key-pager"></a><p class="title"><b>Table 2.7. Most common pager keys</b></p><div class="table-contents"><table summary="Most common pager keys" border="1"><colgroup><col /><col /></colgroup><thead><tr><th>Key</th><th>Description</th></tr></thead><tbody><tr><td>&lt;Return&gt;</td><td>go down one line</td></tr><tr><td>&lt;Space&gt;</td><td>display the next page (or next message if at the end of a message)</td></tr><tr><td>-</td><td>go back to the previous page</td></tr><tr><td>n</td><td>search for next match</td></tr><tr><td>S</td><td>skip beyond quoted text</td></tr><tr><td>T</td><td>toggle display of quoted text</td></tr><tr><td>?</td><td>show keybindings</td></tr><tr><td>/</td><td>regular expression search</td></tr><tr><td>Esc /</td><td>backward regular expression search</td></tr><tr><td>\</td><td>toggle highlighting of search matches</td></tr><tr><td>^</td><td>jump to the top of the message</td></tr></tbody></table></div></div><br class="table-break" /><p>
220
 
In addition to key bindings in <a class="xref" href="gettingstarted.html#tab-key-pager" title="Table 2.7. Most common pager keys">Table 2.7, “Most common pager keys”</a>,
221
 
many of the functions from the index menu are also available in
222
 
the pager, such as <code class="literal">&lt;delete-message&gt;</code> or <code class="literal">&lt;copy-message&gt;</code>
223
 
(this is one advantage over using an external pager to view messages).
 
219
In addition to key bindings in <a class="xref" href="gettingstarted.html#tab-key-pager" title="Table 2.7. Most common pager keys">Table 2.7, “Most common pager keys”</a>, many of
 
220
the functions from the index menu are also available in the pager, such
 
221
as <code class="literal">&lt;delete-message&gt;</code> or
 
222
<code class="literal">&lt;copy-message&gt;</code> (this is one advantage over
 
223
using an external pager to view messages).
224
224
</p><p>
225
225
Also, the internal pager supports a couple other advanced features. For
226
 
one, it will accept and translate the “<span class="quote">standard</span>” nroff sequences for
227
 
bold and underline. These sequences are a series of either the letter,
228
 
backspace (“<span class="quote">^H</span>”), the letter again for bold or the letter, backspace,
229
 
“<span class="quote">_</span>” for denoting underline. Mutt will attempt to display these
230
 
in bold and underline respectively if your terminal supports them. If
231
 
not, you can use the bold and underline <a class="link" href="configuration.html#color" title="9. Using Color and Mono Video Attributes">color</a>
232
 
objects to specify a <span class="command"><strong>color</strong></span> or mono attribute for them.
 
226
one, it will accept and translate the <span class="quote">“<span class="quote">standard</span>”</span> nroff
 
227
sequences for bold and underline. These sequences are a series of either
 
228
the letter, backspace (<span class="quote">“<span class="quote">^H</span>”</span>), the letter again for bold or
 
229
the letter, backspace, <span class="quote">“<span class="quote">_</span>”</span> for denoting underline. Mutt
 
230
will attempt to display these in bold and underline respectively if your
 
231
terminal supports them. If not, you can use the bold and underline <a class="link" href="configuration.html#color" title="9. Using Color and Mono Video Attributes">color</a> objects to specify a
 
232
<span class="command"><strong>color</strong></span> or mono attribute for them.
233
233
</p><p>
234
234
Additionally, the internal pager supports the ANSI escape sequences for
235
235
character attributes.  Mutt translates them into the correct color and
237
237
</p><pre class="screen">
238
238
\e[<span class="emphasis"><em>Ps</em></span>;<span class="emphasis"><em>Ps</em></span>;..<span class="emphasis"><em>Ps</em></span>;m
239
239
</pre><p>
240
 
where <span class="emphasis"><em>Ps</em></span> can be one of the codes shown in
241
 
<a class="xref" href="gettingstarted.html#tab-ansi-esc" title="Table 2.8. ANSI escape sequences">Table 2.8, “ANSI escape sequences”</a>.
 
240
where <span class="emphasis"><em>Ps</em></span> can be one of the codes shown in <a class="xref" href="gettingstarted.html#tab-ansi-esc" title="Table 2.8. ANSI escape sequences">Table 2.8, “ANSI escape sequences”</a>.
242
241
</p><div class="table"><a id="tab-ansi-esc"></a><p class="title"><b>Table 2.8. ANSI escape sequences</b></p><div class="table-contents"><table summary="ANSI escape sequences" border="1"><colgroup><col /><col /></colgroup><thead><tr><th>Escape code</th><th>Description</th></tr></thead><tbody><tr><td>0</td><td>All attributes off</td></tr><tr><td>1</td><td>Bold on</td></tr><tr><td>4</td><td>Underline on</td></tr><tr><td>5</td><td>Blink on</td></tr><tr><td>7</td><td>Reverse video on</td></tr><tr><td>3<span class="emphasis"><em>&lt;color&gt;</em></span></td><td>Foreground color is <span class="emphasis"><em>&lt;color&gt;</em></span> (see <a class="xref" href="gettingstarted.html#tab-color" title="Table 2.9. Color sequences">Table 2.9, “Color sequences”</a>)</td></tr><tr><td>4<span class="emphasis"><em>&lt;color&gt;</em></span></td><td>Background color is <span class="emphasis"><em>&lt;color&gt;</em></span> (see <a class="xref" href="gettingstarted.html#tab-color" title="Table 2.9. Color sequences">Table 2.9, “Color sequences”</a>)</td></tr></tbody></table></div></div><br class="table-break" /><div class="table"><a id="tab-color"></a><p class="title"><b>Table 2.9. Color sequences</b></p><div class="table-contents"><table summary="Color sequences" border="1"><colgroup><col /><col /></colgroup><thead><tr><th>Color code</th><th>Color</th></tr></thead><tbody><tr><td>0</td><td>Black</td></tr><tr><td>1</td><td>Red</td></tr><tr><td>2</td><td>Green</td></tr><tr><td>3</td><td>Yellow</td></tr><tr><td>4</td><td>Blue</td></tr><tr><td>5</td><td>Magenta</td></tr><tr><td>6</td><td>Cyan</td></tr><tr><td>7</td><td>White</td></tr></tbody></table></div></div><br class="table-break" /><p>
243
242
Mutt uses these attributes for handling <code class="literal">text/enriched</code>
244
 
messages, and they can also be used by an external
245
 
<a class="link" href="mimesupport.html#auto-view" title="4. MIME Autoview">autoview</a> script for highlighting
246
 
purposes.
247
 
</p><div class="note"><h3 class="title">Note</h3><p>
248
 
If you change the colors for your
249
 
display, for example by changing the color associated with color2 for
250
 
your xterm, then that color will be used instead of green.
251
 
</p></div><div class="note"><h3 class="title">Note</h3><p>
 
243
messages, and they can also be used by an external <a class="link" href="mimesupport.html#auto-view" title="4. MIME Autoview">autoview</a> script for highlighting purposes.
 
244
</p><div class="note" title="Note"><h3 class="title">Note</h3><p>
 
245
If you change the colors for your display, for example by changing the
 
246
color associated with color2 for your xterm, then that color will be
 
247
used instead of green.
 
248
</p></div><div class="note" title="Note"><h3 class="title">Note</h3><p>
252
249
Note that the search commands in the pager take regular expressions,
253
 
which are not quite the same as the more
254
 
complex <a class="link" href="advancedusage.html#patterns" title="2. Patterns: Searching, Limiting and Tagging">patterns</a> used by the search
255
 
command in the index. This is because patterns are used to select messages by
256
 
criteria whereas the pager already displays a selected message.
257
 
</p></div></div><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="threads"></a>5.3. Threaded Mode</h3></div></div></div><p>
258
 
So-called “<span class="quote">threads</span>” provide a hierarchy of messages where
 
250
which are not quite the same as the more complex <a class="link" href="advancedusage.html#patterns" title="3. Patterns: Searching, Limiting and Tagging">patterns</a> used by the search command in the
 
251
index. This is because patterns are used to select messages by criteria
 
252
whereas the pager already displays a selected message.
 
253
</p></div></div><div class="sect2" title="5.3. Threaded Mode"><div class="titlepage"><div><div><h3 class="title"><a id="threads"></a>5.3. Threaded Mode</h3></div></div></div><p>
 
254
So-called <span class="quote">“<span class="quote">threads</span>”</span> provide a hierarchy of messages where
259
255
replies are linked to their parent message(s). This organizational form
260
256
is extremely useful in mailing lists where different parts of the
261
257
discussion diverge. Mutt displays threads as a tree structure.
262
258
</p><p>
263
 
In Mutt, when a mailbox is <a class="link" href="reference.html#sort" title="3.263. sort">sorted</a>
 
259
In Mutt, when a mailbox is <a class="link" href="reference.html#sort" title="3.264. sort">sorted</a>
264
260
by <span class="emphasis"><em>threads</em></span>, there are a few additional functions
265
261
available in the <span class="emphasis"><em>index</em></span>
266
262
and <span class="emphasis"><em>pager</em></span> modes as shown in
267
263
<a class="xref" href="gettingstarted.html#tab-key-threads" title="Table 2.10. Most common thread mode keys">Table 2.10, “Most common thread mode keys”</a>.
268
264
</p><div class="table"><a id="tab-key-threads"></a><p class="title"><b>Table 2.10. Most common thread mode keys</b></p><div class="table-contents"><table summary="Most common thread mode keys" border="1"><colgroup><col /><col /><col /></colgroup><thead><tr><th>Key</th><th>Function</th><th>Description</th></tr></thead><tbody><tr><td>^D</td><td><code class="literal">&lt;delete-thread&gt;</code></td><td>delete all messages in the current thread</td></tr><tr><td>^U</td><td><code class="literal">&lt;undelete-thread&gt;</code></td><td>undelete all messages in the current thread</td></tr><tr><td>^N</td><td><code class="literal">&lt;next-thread&gt;</code></td><td>jump to the start of the next thread</td></tr><tr><td>^P</td><td><code class="literal">&lt;previous-thread&gt;</code></td><td>jump to the start of the previous thread</td></tr><tr><td>^R</td><td><code class="literal">&lt;read-thread&gt;</code></td><td>mark the current thread as read</td></tr><tr><td>Esc d</td><td><code class="literal">&lt;delete-subthread&gt;</code></td><td>delete all messages in the current subthread</td></tr><tr><td>Esc u</td><td><code class="literal">&lt;undelete-subthread&gt;</code></td><td>undelete all messages in the current subthread</td></tr><tr><td>Esc n</td><td><code class="literal">&lt;next-subthread&gt;</code></td><td>jump to the start of the next subthread</td></tr><tr><td>Esc p</td><td><code class="literal">&lt;previous-subthread&gt;</code></td><td>jump to the start of the previous subthread</td></tr><tr><td>Esc r</td><td><code class="literal">&lt;read-subthread&gt;</code></td><td>mark the current subthread as read</td></tr><tr><td>Esc t</td><td><code class="literal">&lt;tag-thread&gt;</code></td><td>toggle the tag on the current thread</td></tr><tr><td>Esc v</td><td><code class="literal">&lt;collapse-thread&gt;</code></td><td>toggle collapse for the current thread</td></tr><tr><td>Esc V</td><td><code class="literal">&lt;collapse-all&gt;</code></td><td>toggle collapse for all threads</td></tr><tr><td>P</td><td><code class="literal">&lt;parent-message&gt;</code></td><td>jump to parent message in thread</td></tr></tbody></table></div></div><br class="table-break" /><p>
269
 
Collapsing a thread displays only the first message
270
 
in the thread and hides the others. This is useful when threads
271
 
contain so many messages that you can only see a handful of threads on
272
 
the screen. See %M in <a class="link" href="reference.html#index-format" title="3.114. index_format">$index_format</a>.
273
 
For example, you could use “<span class="quote">%?M?(#%03M)&amp;(%4l)?</span>” in <a class="link" href="reference.html#index-format" title="3.114. index_format">$index_format</a> to optionally
274
 
display the number of hidden messages if the thread is
275
 
collapsed. The <code class="literal">%?&lt;char&gt;?&lt;if-part&gt;&amp;&lt;else-part&gt;?</code>
276
 
syntax is explained in detail in
277
 
<a class="link" href="configuration.html#formatstrings-conditionals" title="29.2. Conditionals">format string conditionals</a>.
 
265
Collapsing a thread displays only the first message in the thread and
 
266
hides the others. This is useful when threads contain so many messages
 
267
that you can only see a handful of threads on the screen. See %M in
 
268
<a class="link" href="reference.html#index-format" title="3.114. index_format">$index_format</a>.  For example, you
 
269
could use <span class="quote">“<span class="quote">%?M?(#%03M)&amp;(%4l)?</span>”</span> in <a class="link" href="reference.html#index-format" title="3.114. index_format">$index_format</a> to optionally display the
 
270
number of hidden messages if the thread is collapsed. The
 
271
<code class="literal">%?&lt;char&gt;?&lt;if-part&gt;&amp;&lt;else-part&gt;?</code>
 
272
syntax is explained in detail in <a class="link" href="configuration.html#formatstrings-conditionals" title="29.2. Conditionals">format string conditionals</a>.
278
273
</p><p>
279
274
Technically, every reply should contain a list of its parent messages in
280
275
the thread tree, but not all do. In these cases, Mutt groups them by
281
 
subject which can be controlled using the
282
 
<a class="link" href="reference.html#strict-threads" title="3.284. strict_threads">$strict_threads</a> variable.
283
 
</p></div><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="reading-misc"></a>5.4. Miscellaneous Functions</h3></div></div></div><p>
284
 
In addition, the <span class="emphasis"><em>index</em></span> and <span class="emphasis"><em>pager</em></span>
285
 
menus have these interesting functions:
 
276
subject which can be controlled using the <a class="link" href="reference.html#strict-threads" title="3.285. strict_threads">$strict_threads</a> variable.
 
277
</p></div><div class="sect2" title="5.4. Miscellaneous Functions"><div class="titlepage"><div><div><h3 class="title"><a id="reading-misc"></a>5.4. Miscellaneous Functions</h3></div></div></div><p>
 
278
In addition, the <span class="emphasis"><em>index</em></span> and
 
279
<span class="emphasis"><em>pager</em></span> menus have these interesting functions:
286
280
</p><div class="variablelist"><dl><dt><span class="term">
287
 
<code class="literal">&lt;create-alias&gt;</code><a id="create-alias"></a> (default: a)
 
281
<code class="literal">&lt;create-alias&gt;</code><a id="create-alias"></a>
 
282
(default: a)
288
283
</span></dt><dd><p>
289
 
Creates a new alias based upon the current message (or prompts for a
290
 
new one).  Once editing is complete, an <a class="link" href="configuration.html#alias" title="4. Defining/Using Aliases"><span class="command"><strong>alias</strong></span></a>
291
 
command is added to the file specified by
292
 
the <a class="link" href="reference.html#alias-file" title="3.3. alias_file">$alias_file</a> variable
293
 
for future use
294
 
</p><div class="note"><h3 class="title">Note</h3><p>
 
284
Creates a new alias based upon the current message (or prompts for a new
 
285
one).  Once editing is complete, an <a class="link" href="configuration.html#alias" title="4. Defining/Using Aliases"><span class="command"><strong>alias</strong></span></a> command is added to the
 
286
file specified by the <a class="link" href="reference.html#alias-file" title="3.3. alias_file">$alias_file</a>
 
287
variable for future use
 
288
</p><div class="note" title="Note"><h3 class="title">Note</h3><p>
295
289
Mutt does not read the <a class="link" href="reference.html#alias-file" title="3.3. alias_file">$alias_file</a>
296
290
upon startup so you must explicitly <a class="link" href="configuration.html#source" title="27. Reading Initialization Commands From Another File"><span class="command"><strong>source</strong></span></a> the file.
297
291
</p></div></dd><dt><span class="term">
298
292
<code class="literal">&lt;check-traditional-pgp&gt;</code><a id="check-traditional-pgp"></a> (default: Esc P)
299
293
</span></dt><dd><p>
300
294
This function will search the current message for content signed or
301
 
encrypted with PGP the “<span class="quote">traditional</span>” way, that is, without proper
302
 
MIME tagging.  Technically, this function will temporarily change
303
 
the MIME content types of the body parts containing PGP data; this
304
 
is similar to the <a class="link" href="gettingstarted.html#edit-type"><code class="literal">&lt;edit-type&gt;</code></a> function's
305
 
effect.
 
295
encrypted with PGP the <span class="quote">“<span class="quote">traditional</span>”</span> way, that is, without
 
296
proper MIME tagging.  Technically, this function will temporarily change
 
297
the MIME content types of the body parts containing PGP data; this is
 
298
similar to the <a class="link" href="gettingstarted.html#edit-type"><code class="literal">&lt;edit-type&gt;</code></a>
 
299
function's effect.
306
300
</p></dd><dt><span class="term">
307
301
<code class="literal">&lt;edit&gt;</code><a id="edit"></a> (default: e)
308
302
</span></dt><dd><p>
309
 
This command (available in the index and pager) allows you to
310
 
edit the raw current message as it's present in the mail folder.
311
 
After you have finished editing, the changed message will be
312
 
appended to the current folder, and the original message will be
313
 
marked for deletion; if the message is unchanged it won't be replaced.
 
303
This command (available in the index and pager) allows you to edit the
 
304
raw current message as it's present in the mail folder.  After you have
 
305
finished editing, the changed message will be appended to the current
 
306
folder, and the original message will be marked for deletion; if the
 
307
message is unchanged it won't be replaced.
314
308
</p></dd><dt><span class="term">
315
309
<code class="literal">&lt;edit-type&gt;</code><a id="edit-type"></a> (default:
316
 
^E on the attachment menu, and in the pager and index menus;
317
 
^T on the compose menu)
 
310
^E on the attachment menu, and in the pager and index menus; ^T on the
 
311
compose menu)
318
312
</span></dt><dd><p>
319
 
This command is used to temporarily edit an attachment's content
320
 
type to fix, for instance, bogus character set parameters.  When
321
 
invoked from the index or from the pager, you'll have the
322
 
opportunity to edit the top-level attachment's content type.  On the
323
 
<a class="link" href="mimesupport.html#attach-menu" title="1.2. The Attachment Menu">attachment menu</a>, you can change any
 
313
This command is used to temporarily edit an attachment's content type to
 
314
fix, for instance, bogus character set parameters.  When invoked from
 
315
the index or from the pager, you'll have the opportunity to edit the
 
316
top-level attachment's content type.  On the <a class="link" href="mimesupport.html#attach-menu" title="1.3. The Attachment Menu">attachment menu</a>, you can change any
324
317
attachment's content type. These changes are not persistent, and get
325
318
lost upon changing folders.
326
319
</p><p>
327
 
Note that this command is also available on the <a class="link" href="mimesupport.html#compose-menu" title="1.3. The Compose Menu">compose
328
 
menu</a>.  There, it's used to fine-tune the properties of attachments you are going
329
 
to send.
 
320
Note that this command is also available on the <a class="link" href="mimesupport.html#compose-menu" title="1.4. The Compose Menu">compose menu</a>.  There, it's used to
 
321
fine-tune the properties of attachments you are going to send.
330
322
</p></dd><dt><span class="term">
331
 
<code class="literal">&lt;enter-command&gt;</code><a id="enter-command"></a> (default: “<span class="quote">:</span>”)
 
323
<code class="literal">&lt;enter-command&gt;</code><a id="enter-command"></a>
 
324
(default: <span class="quote">“<span class="quote">:</span>”</span>)
332
325
</span></dt><dd><p>
333
326
This command is used to execute any command you would normally put in a
334
 
configuration file.  A common use is to check the settings of variables, or
335
 
in conjunction with <a class="link" href="configuration.html#macro" title="8. Keyboard Macros">macros</a> to change settings on the
336
 
fly.
 
327
configuration file.  A common use is to check the settings of variables,
 
328
or in conjunction with <a class="link" href="configuration.html#macro" title="8. Keyboard Macros">macros</a> to change
 
329
settings on the fly.
337
330
</p></dd><dt><span class="term">
338
 
<code class="literal">&lt;extract-keys&gt;</code><a id="extract-keys"></a> (default: ^K)
 
331
<code class="literal">&lt;extract-keys&gt;</code><a id="extract-keys"></a>
 
332
(default: ^K)
339
333
</span></dt><dd><p>
340
334
This command extracts PGP public keys from the current or tagged
341
335
message(s) and adds them to your PGP public key ring.
342
336
</p></dd><dt><span class="term">
343
 
<code class="literal">&lt;forget-passphrase&gt;</code><a id="forget-passphrase"></a> (default:
344
 
^F)
345
 
</span></dt><dd><p>
346
 
This command wipes the passphrase(s) from memory. It is useful, if
347
 
you misspelled the passphrase.
348
 
</p></dd><dt><span class="term">
349
 
<code class="literal">&lt;list-reply&gt;</code><a id="list-reply"></a> (default: L)
350
 
</span></dt><dd><p>
351
 
Reply to the current or tagged message(s) by extracting any addresses which
352
 
match the regular expressions given by the <a class="link" href="configuration.html#lists" title="12. Mailing Lists"><span class="command"><strong>lists</strong></span> or <span class="command"><strong>subscribe</strong></span></a>
353
 
commands, but also honor any <code class="literal">Mail-Followup-To</code> header(s) if the
354
 
<a class="link" href="reference.html#honor-followup-to" title="3.92. honor_followup_to">$honor_followup_to</a>
355
 
configuration variable is set.  Using this when replying to messages posted
356
 
to mailing lists helps avoid duplicate copies being sent to the author of
357
 
the message you are replying to.
358
 
</p></dd><dt><span class="term">
359
 
<code class="literal">&lt;pipe-message&gt;</code><a id="pipe-message"></a> (default: |)
360
 
</span></dt><dd><p>
361
 
Asks for an external Unix command and pipes the current or
362
 
tagged message(s) to it.  The variables <a class="link" href="reference.html#pipe-decode" title="3.182. pipe_decode">$pipe_decode</a>, <a class="link" href="reference.html#pipe-split" title="3.184. pipe_split">$pipe_split</a>,
363
 
<a class="link" href="reference.html#pipe-sep" title="3.183. pipe_sep">$pipe_sep</a> and <a class="link" href="reference.html#wait-key" title="3.304. wait_key">$wait_key</a> control the exact behavior of this function.
364
 
</p></dd><dt><span class="term">
365
 
<code class="literal">&lt;resend-message&gt;</code><a id="resend-message"></a> (default: Esc e)
366
 
</span></dt><dd><p>
367
 
Mutt takes the current message as a template for a
368
 
new message.  This function is best described as "recall from arbitrary
369
 
folders".  It can conveniently be used to forward MIME messages while
370
 
preserving the original mail structure. Note that the amount of headers
371
 
included here depends on the value of the <a class="link" href="reference.html#weed" title="3.305. weed">$weed</a>
372
 
variable.
 
337
<code class="literal">&lt;forget-passphrase&gt;</code><a id="forget-passphrase"></a> (default: ^F)
 
338
</span></dt><dd><p>
 
339
This command wipes the passphrase(s) from memory. It is useful, if you
 
340
misspelled the passphrase.
 
341
</p></dd><dt><span class="term">
 
342
<code class="literal">&lt;list-reply&gt;</code><a id="list-reply"></a> (default:
 
343
L)
 
344
</span></dt><dd><p>
 
345
Reply to the current or tagged message(s) by extracting any addresses
 
346
which match the regular expressions given by the <a class="link" href="configuration.html#lists" title="12. Mailing Lists"><span class="command"><strong>lists</strong></span> or
 
347
<span class="command"><strong>subscribe</strong></span></a> commands, but also honor any
 
348
<code class="literal">Mail-Followup-To</code> header(s) if the <a class="link" href="reference.html#honor-followup-to" title="3.92. honor_followup_to">$honor_followup_to</a> configuration
 
349
variable is set.  Using this when replying to messages posted to mailing
 
350
lists helps avoid duplicate copies being sent to the author of the
 
351
message you are replying to.
 
352
</p></dd><dt><span class="term">
 
353
<code class="literal">&lt;pipe-message&gt;</code><a id="pipe-message"></a>
 
354
(default: |)
 
355
</span></dt><dd><p>
 
356
Asks for an external Unix command and pipes the current or tagged
 
357
message(s) to it.  The variables <a class="link" href="reference.html#pipe-decode" title="3.183. pipe_decode">$pipe_decode</a>, <a class="link" href="reference.html#pipe-split" title="3.185. pipe_split">$pipe_split</a>, <a class="link" href="reference.html#pipe-sep" title="3.184. pipe_sep">$pipe_sep</a> and <a class="link" href="reference.html#wait-key" title="3.305. wait_key">$wait_key</a> control the exact behavior of this
 
358
function.
 
359
</p></dd><dt><span class="term">
 
360
<code class="literal">&lt;resend-message&gt;</code><a id="resend-message"></a>
 
361
(default: Esc e)
 
362
</span></dt><dd><p>
 
363
Mutt takes the current message as a template for a new message.  This
 
364
function is best described as "recall from arbitrary folders".  It can
 
365
conveniently be used to forward MIME messages while preserving the
 
366
original mail structure. Note that the amount of headers included here
 
367
depends on the value of the <a class="link" href="reference.html#weed" title="3.306. weed">$weed</a> variable.
373
368
</p><p>
374
 
This function is also available from the attachment menu. You can use this
375
 
to easily resend a message which was included with a bounce message
 
369
This function is also available from the attachment menu. You can use
 
370
this to easily resend a message which was included with a bounce message
376
371
as a <code class="literal">message/rfc822</code> body part.
377
372
</p></dd><dt><span class="term">
378
 
<code class="literal">&lt;shell-escape&gt;</code><a id="shell-escape"></a> (default: !)
379
 
</span></dt><dd><p>
380
 
Asks for an external Unix command and executes it.  The <a class="link" href="reference.html#wait-key" title="3.304. wait_key">$wait_key</a> can be used to control
381
 
whether Mutt will wait for a key to be pressed when the command returns
382
 
(presumably to let the user read the output of the command), based on
383
 
the return status of the named command. If no command is given, an
384
 
interactive shell is executed.
385
 
</p></dd><dt><span class="term">
386
 
<code class="literal">&lt;toggle-quoted&gt;</code><a id="toggle-quoted"></a> (default: T)
387
 
</span></dt><dd><p>
388
 
The pager uses the <a class="link" href="reference.html#quote-regexp" title="3.206. quote_regexp">$quote_regexp</a> variable to detect quoted text when
389
 
displaying the body of the message.  This function toggles the display
390
 
of the quoted material in the message.  It is particularly useful when
391
 
being interested in just the response and there is a large amount of
392
 
quoted text in the way.
393
 
</p></dd><dt><span class="term">
394
 
<code class="literal">&lt;skip-quoted&gt;</code><a id="skip-quoted"></a> (default: S)
 
373
<code class="literal">&lt;shell-escape&gt;</code><a id="shell-escape"></a>
 
374
(default: !)
 
375
</span></dt><dd><p>
 
376
Asks for an external Unix command and executes it.  The <a class="link" href="reference.html#wait-key" title="3.305. wait_key">$wait_key</a> can be used to control whether Mutt
 
377
will wait for a key to be pressed when the command returns (presumably
 
378
to let the user read the output of the command), based on the return
 
379
status of the named command. If no command is given, an interactive
 
380
shell is executed.
 
381
</p></dd><dt><span class="term">
 
382
<code class="literal">&lt;toggle-quoted&gt;</code><a id="toggle-quoted"></a>
 
383
(default: T)
 
384
</span></dt><dd><p>
 
385
The pager uses the <a class="link" href="reference.html#quote-regexp" title="3.207. quote_regexp">$quote_regexp</a>
 
386
variable to detect quoted text when displaying the body of the message.
 
387
This function toggles the display of the quoted material in the message.
 
388
It is particularly useful when being interested in just the response and
 
389
there is a large amount of quoted text in the way.
 
390
</p></dd><dt><span class="term">
 
391
<code class="literal">&lt;skip-quoted&gt;</code><a id="skip-quoted"></a>
 
392
(default: S)
395
393
</span></dt><dd><p>
396
394
This function will go to the next line of non-quoted text which comes
397
395
after a line of quoted text in the internal pager.
398
 
</p></dd></dl></div></div></div><div class="sect1" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="sending"></a>6. Sending Mail</h2></div></div></div><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="sending-intro"></a>6.1. Introduction</h3></div></div></div><p>
399
 
The bindings shown in <a class="xref" href="gettingstarted.html#tab-key-send" title="Table 2.11. Most common mail sending keys">Table 2.11, “Most common mail sending keys”</a> are available in the
400
 
<span class="emphasis"><em>index</em></span> and <span class="emphasis"><em>pager</em></span> to start a new message.
 
396
</p></dd></dl></div></div></div><div class="sect1" title="6. Sending Mail"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="sending"></a>6. Sending Mail</h2></div></div></div><div class="sect2" title="6.1. Introduction"><div class="titlepage"><div><div><h3 class="title"><a id="sending-intro"></a>6.1. Introduction</h3></div></div></div><p>
 
397
The bindings shown in <a class="xref" href="gettingstarted.html#tab-key-send" title="Table 2.11. Most common mail sending keys">Table 2.11, “Most common mail sending keys”</a> are available in
 
398
the <span class="emphasis"><em>index</em></span> and <span class="emphasis"><em>pager</em></span> to start a
 
399
new message.
401
400
</p><div class="table"><a id="tab-key-send"></a><p class="title"><b>Table 2.11. Most common mail sending keys</b></p><div class="table-contents"><table summary="Most common mail sending keys" border="1"><colgroup><col /><col /><col /></colgroup><thead><tr><th>Key</th><th>Function</th><th>Description</th></tr></thead><tbody><tr><td>m</td><td><code class="literal">&lt;compose&gt;</code></td><td>compose a new message</td></tr><tr><td>r</td><td><code class="literal">&lt;reply&gt;</code></td><td>reply to sender</td></tr><tr><td>g</td><td><code class="literal">&lt;group-reply&gt;</code></td><td>reply to all recipients</td></tr><tr><td>L</td><td><code class="literal">&lt;list-reply&gt;</code></td><td>reply to mailing list address</td></tr><tr><td>f</td><td><code class="literal">&lt;forward&gt;</code></td><td>forward message</td></tr><tr><td>b</td><td><code class="literal">&lt;bounce&gt;</code></td><td>bounce (remail) message</td></tr><tr><td>Esc k</td><td><code class="literal">&lt;mail-key&gt;</code></td><td>mail a PGP public key to someone</td></tr></tbody></table></div></div><br class="table-break" /><p>
402
 
<span class="emphasis"><em>Bouncing</em></span> a message sends the message as-is to the recipient you
403
 
specify.  <span class="emphasis"><em>Forwarding</em></span> a message allows you to add comments or
404
 
modify the message you are forwarding.  These items are discussed
405
 
in greater detail in the next section “<span class="quote"><a class="link" href="gettingstarted.html#forwarding-mail" title="7. Forwarding and Bouncing Mail">Forwarding
406
 
and Bouncing Mail</a>.</span>”
 
401
<span class="emphasis"><em>Bouncing</em></span> a message sends the message as-is to the
 
402
recipient you specify.  <span class="emphasis"><em>Forwarding</em></span> a message allows
 
403
you to add comments or modify the message you are forwarding.  These
 
404
items are discussed in greater detail in the next section <span class="quote">“<span class="quote"><a class="link" href="gettingstarted.html#forwarding-mail" title="7. Forwarding and Bouncing Mail">Forwarding and Bouncing Mail</a>.</span>”</span>
407
405
</p><p>
408
 
Mutt will then enter the <span class="emphasis"><em>compose</em></span> menu and prompt you for the
409
 
recipients to place on the “<span class="quote">To:</span>” header field when you hit <code class="literal">m</code> to start a new message. Next, it will ask
410
 
you for the “<span class="quote">Subject:</span>” field for the message, providing a default if
411
 
you are replying to or forwarding a message. You again
412
 
have the chance to adjust recipients, subject, and security settings
413
 
right before actually sending the message. See also
414
 
<a class="link" href="reference.html#askcc" title="3.10. askcc">$askcc</a>,
415
 
<a class="link" href="reference.html#askbcc" title="3.9. askbcc">$askbcc</a>,
416
 
<a class="link" href="reference.html#autoedit" title="3.18. autoedit">$autoedit</a>,
417
 
<a class="link" href="reference.html#bounce" title="3.21. bounce">$bounce</a>,
418
 
<a class="link" href="reference.html#fast-reply" title="3.63. fast_reply">$fast_reply</a>,
419
 
and <a class="link" href="reference.html#include" title="3.111. include">$include</a>
420
 
for changing how and if Mutt asks these questions.
 
406
Mutt will then enter the <span class="emphasis"><em>compose</em></span> menu and prompt
 
407
you for the recipients to place on the <span class="quote">“<span class="quote">To:</span>”</span> header field
 
408
when you hit <code class="literal">m</code> to start a new message. Next, it will
 
409
ask you for the <span class="quote">“<span class="quote">Subject:</span>”</span> field for the message, providing
 
410
a default if you are replying to or forwarding a message. You again have
 
411
the chance to adjust recipients, subject, and security settings right
 
412
before actually sending the message. See also <a class="link" href="reference.html#askcc" title="3.10. askcc">$askcc</a>, <a class="link" href="reference.html#askbcc" title="3.9. askbcc">$askbcc</a>,
 
413
<a class="link" href="reference.html#autoedit" title="3.18. autoedit">$autoedit</a>, <a class="link" href="reference.html#bounce" title="3.21. bounce">$bounce</a>, <a class="link" href="reference.html#fast-reply" title="3.63. fast_reply">$fast_reply</a>, and <a class="link" href="reference.html#include" title="3.111. include">$include</a> for changing how and if Mutt asks
 
414
these questions.
421
415
</p><p>
422
416
When replying, Mutt fills these fields with proper values depending on
423
417
the reply type.  The types of replying supported are:
432
426
details.
433
427
</p></dd></dl></div><p>
434
428
After getting recipients for new messages, forwards or replies, Mutt
435
 
will then automatically start your <a class="link" href="reference.html#editor" title="3.58. editor">$editor</a> on the message body. If the <a class="link" href="reference.html#edit-headers" title="3.57. edit_headers">$edit_headers</a> variable is
436
 
set, the headers will be at the top of the message in your editor.  Any
437
 
messages you are replying to will be added in sort order to the message,
438
 
with appropriate <a class="link" href="reference.html#attribution" title="3.16. attribution">$attribution</a>,
439
 
<a class="link" href="reference.html#indent-string" title="3.113. indent_string">$indent_string</a> and
440
 
<a class="link" href="reference.html#post-indent-string" title="3.194. post_indent_string">$post_indent_string</a>.
441
 
When forwarding a message, if the <a class="link" href="reference.html#mime-forward" title="3.140. mime_forward">$mime_forward</a> variable is
442
 
unset, a copy of the forwarded message will be included.  If you have
443
 
specified a <a class="link" href="reference.html#signature" title="3.235. signature">$signature</a>, it will
444
 
be appended to the message.
 
429
will then automatically start your <a class="link" href="reference.html#editor" title="3.58. editor">$editor</a>
 
430
on the message body. If the <a class="link" href="reference.html#edit-headers" title="3.57. edit_headers">$edit_headers</a> variable is set, the headers
 
431
will be at the top of the message in your editor.  Any messages you are
 
432
replying to will be added in sort order to the message, with appropriate
 
433
<a class="link" href="reference.html#attribution" title="3.16. attribution">$attribution</a>, <a class="link" href="reference.html#indent-string" title="3.113. indent_string">$indent_string</a> and <a class="link" href="reference.html#post-indent-string" title="3.195. post_indent_string">$post_indent_string</a>.  When
 
434
forwarding a message, if the <a class="link" href="reference.html#mime-forward" title="3.141. mime_forward">$mime_forward</a> variable is unset, a copy of
 
435
the forwarded message will be included.  If you have specified a <a class="link" href="reference.html#signature" title="3.236. signature">$signature</a>, it will be appended to the
 
436
message.
445
437
</p><p>
446
438
Once you have finished editing the body of your mail message, you are
447
 
returned to the <span class="emphasis"><em>compose</em></span> menu providing the functions
448
 
shown in <a class="xref" href="gettingstarted.html#tab-func-compose" title="Table 2.12. Most common compose menu keys">Table 2.12, “Most common compose menu keys”</a> to modify, send or postpone the
449
 
message.
450
 
</p><div class="table"><a id="tab-func-compose"></a><p class="title"><b>Table 2.12. Most common compose menu keys</b></p><div class="table-contents"><table summary="Most common compose menu keys" border="1"><colgroup><col /><col /><col /></colgroup><thead><tr><th>Key</th><th>Function</th><th>Description</th></tr></thead><tbody><tr><td>a</td><td><code class="literal">&lt;attach-file&gt;</code></td><td>attach a file</td></tr><tr><td>A</td><td><code class="literal">&lt;attach-message&gt;</code></td><td>attach message(s) to the message</td></tr><tr><td>Esc k</td><td><code class="literal">&lt;attach-key&gt;</code></td><td>attach a PGP public key</td></tr><tr><td>d</td><td><code class="literal">&lt;edit-description&gt;</code></td><td>edit description on attachment</td></tr><tr><td>D</td><td><code class="literal">&lt;detach-file&gt;</code></td><td>detach a file</td></tr><tr><td>t</td><td><code class="literal">&lt;edit-to&gt;</code></td><td>edit the To field</td></tr><tr><td>Esc f</td><td><code class="literal">&lt;edit-from&gt;</code></td><td>edit the From field</td></tr><tr><td>r</td><td><code class="literal">&lt;edit-reply-to&gt;</code></td><td>edit the Reply-To field</td></tr><tr><td>c</td><td><code class="literal">&lt;edit-cc&gt;</code></td><td>edit the Cc field</td></tr><tr><td>b</td><td><code class="literal">&lt;edit-bcc&gt;</code></td><td>edit the Bcc field</td></tr><tr><td>y</td><td><code class="literal">&lt;send-message&gt;</code></td><td>send the message</td></tr><tr><td>s</td><td><code class="literal">&lt;edit-subject&gt;</code></td><td>edit the Subject</td></tr><tr><td>S</td><td><code class="literal">&lt;smime-menu&gt;</code></td><td>select S/MIME options</td></tr><tr><td>f</td><td><code class="literal">&lt;edit-fcc&gt;</code></td><td>specify an “<span class="quote">Fcc</span>” mailbox</td></tr><tr><td>p</td><td><code class="literal">&lt;pgp-menu&gt;</code></td><td>select PGP options</td></tr><tr><td>P</td><td><code class="literal">&lt;postpone-message&gt;</code></td><td>postpone this message until later</td></tr><tr><td>q</td><td><code class="literal">&lt;quit&gt;</code></td><td>quit (abort) sending the message</td></tr><tr><td>w</td><td><code class="literal">&lt;write-fcc&gt;</code></td><td>write the message to a folder</td></tr><tr><td>i</td><td><code class="literal">&lt;ispell&gt;</code></td><td>check spelling (if available on your system)</td></tr><tr><td>^F</td><td><code class="literal">&lt;forget-passphrase&gt;</code></td><td>wipe passphrase(s) from memory</td></tr></tbody></table></div></div><br class="table-break" /><p>
451
 
The compose menu is also used to edit the attachments for a message which can be either files
452
 
or other messages. The <code class="literal">&lt;attach-message&gt;</code> function to will prompt you for a folder to
453
 
attach messages from. You can now tag messages in that folder and they
454
 
will be attached to the message you are sending.
455
 
</p><div class="note"><h3 class="title">Note</h3><p>
456
 
Note that certain
457
 
operations like composing a new mail, replying, forwarding, etc. are
458
 
not permitted when you are in that folder. The %r in
459
 
<a class="link" href="reference.html#status-format" title="3.282. status_format">$status_format</a> will change to
460
 
a “<span class="quote">A</span>” to indicate that you are in attach-message mode.
461
 
</p></div></div><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="edit-header"></a>6.2. Editing the Message Header</h3></div></div></div><p>
462
 
When editing the header because of <a class="link" href="reference.html#edit-headers" title="3.57. edit_headers">$edit_headers</a>
463
 
being set, there are a several pseudo headers available which
464
 
will not be included in sent messages but trigger special Mutt behavior.
465
 
</p><div class="sect3" lang="en" xml:lang="en"><div class="titlepage"><div><div><h4 class="title"><a id="fcc-header"></a>6.2.1. Fcc: Pseudo Header</h4></div></div></div><p>
 
439
returned to the <span class="emphasis"><em>compose</em></span> menu providing the
 
440
functions shown in <a class="xref" href="gettingstarted.html#tab-func-compose" title="Table 2.12. Most common compose menu keys">Table 2.12, “Most common compose menu keys”</a> to modify, send or
 
441
postpone the message.
 
442
</p><div class="table"><a id="tab-func-compose"></a><p class="title"><b>Table 2.12. Most common compose menu keys</b></p><div class="table-contents"><table summary="Most common compose menu keys" border="1"><colgroup><col /><col /><col /></colgroup><thead><tr><th>Key</th><th>Function</th><th>Description</th></tr></thead><tbody><tr><td>a</td><td><code class="literal">&lt;attach-file&gt;</code></td><td>attach a file</td></tr><tr><td>A</td><td><code class="literal">&lt;attach-message&gt;</code></td><td>attach message(s) to the message</td></tr><tr><td>Esc k</td><td><code class="literal">&lt;attach-key&gt;</code></td><td>attach a PGP public key</td></tr><tr><td>d</td><td><code class="literal">&lt;edit-description&gt;</code></td><td>edit description on attachment</td></tr><tr><td>D</td><td><code class="literal">&lt;detach-file&gt;</code></td><td>detach a file</td></tr><tr><td>t</td><td><code class="literal">&lt;edit-to&gt;</code></td><td>edit the To field</td></tr><tr><td>Esc f</td><td><code class="literal">&lt;edit-from&gt;</code></td><td>edit the From field</td></tr><tr><td>r</td><td><code class="literal">&lt;edit-reply-to&gt;</code></td><td>edit the Reply-To field</td></tr><tr><td>c</td><td><code class="literal">&lt;edit-cc&gt;</code></td><td>edit the Cc field</td></tr><tr><td>b</td><td><code class="literal">&lt;edit-bcc&gt;</code></td><td>edit the Bcc field</td></tr><tr><td>y</td><td><code class="literal">&lt;send-message&gt;</code></td><td>send the message</td></tr><tr><td>s</td><td><code class="literal">&lt;edit-subject&gt;</code></td><td>edit the Subject</td></tr><tr><td>S</td><td><code class="literal">&lt;smime-menu&gt;</code></td><td>select S/MIME options</td></tr><tr><td>f</td><td><code class="literal">&lt;edit-fcc&gt;</code></td><td>specify an <span class="quote">“<span class="quote">Fcc</span>”</span> mailbox</td></tr><tr><td>p</td><td><code class="literal">&lt;pgp-menu&gt;</code></td><td>select PGP options</td></tr><tr><td>P</td><td><code class="literal">&lt;postpone-message&gt;</code></td><td>postpone this message until later</td></tr><tr><td>q</td><td><code class="literal">&lt;quit&gt;</code></td><td>quit (abort) sending the message</td></tr><tr><td>w</td><td><code class="literal">&lt;write-fcc&gt;</code></td><td>write the message to a folder</td></tr><tr><td>i</td><td><code class="literal">&lt;ispell&gt;</code></td><td>check spelling (if available on your system)</td></tr><tr><td>^F</td><td><code class="literal">&lt;forget-passphrase&gt;</code></td><td>wipe passphrase(s) from memory</td></tr></tbody></table></div></div><br class="table-break" /><p>
 
443
The compose menu is also used to edit the attachments for a message
 
444
which can be either files or other messages. The
 
445
<code class="literal">&lt;attach-message&gt;</code> function to will prompt you
 
446
for a folder to attach messages from. You can now tag messages in that
 
447
folder and they will be attached to the message you are sending.
 
448
</p><div class="note" title="Note"><h3 class="title">Note</h3><p>
 
449
Note that certain operations like composing a new mail, replying,
 
450
forwarding, etc. are not permitted when you are in that folder. The %r
 
451
in <a class="link" href="reference.html#status-format" title="3.283. status_format">$status_format</a> will change to a
 
452
<span class="quote">“<span class="quote">A</span>”</span> to indicate that you are in attach-message mode.
 
453
</p></div></div><div class="sect2" title="6.2. Editing the Message Header"><div class="titlepage"><div><div><h3 class="title"><a id="edit-header"></a>6.2. Editing the Message Header</h3></div></div></div><p>
 
454
When editing the header because of <a class="link" href="reference.html#edit-headers" title="3.57. edit_headers">$edit_headers</a> being set, there are a
 
455
several pseudo headers available which will not be included in sent
 
456
messages but trigger special Mutt behavior.
 
457
</p><div class="sect3" title="6.2.1. Fcc: Pseudo Header"><div class="titlepage"><div><div><h4 class="title"><a id="fcc-header"></a>6.2.1. Fcc: Pseudo Header</h4></div></div></div><p>
466
458
If you specify
467
459
</p><p>
468
460
<code class="literal">Fcc:</code> <span class="emphasis"><em>filename</em></span>
469
461
</p><p>
470
 
as a header, Mutt will pick up <span class="emphasis"><em>filename</em></span>
471
 
just as if you had used the <code class="literal">&lt;edit-fcc&gt;</code> function in the <span class="emphasis"><em>compose</em></span> menu.
472
 
It can later be changed from the compose menu.
473
 
</p></div><div class="sect3" lang="en" xml:lang="en"><div class="titlepage"><div><div><h4 class="title"><a id="attach-header"></a>6.2.2. Attach: Pseudo Header</h4></div></div></div><p>
 
462
as a header, Mutt will pick up <span class="emphasis"><em>filename</em></span> just as if
 
463
you had used the <code class="literal">&lt;edit-fcc&gt;</code> function in the
 
464
<span class="emphasis"><em>compose</em></span> menu.  It can later be changed from the
 
465
compose menu.
 
466
</p></div><div class="sect3" title="6.2.2. Attach: Pseudo Header"><div class="titlepage"><div><div><h4 class="title"><a id="attach-header"></a>6.2.2. Attach: Pseudo Header</h4></div></div></div><p>
474
467
You can also attach files to your message by specifying
475
468
</p><p>
476
469
<code class="literal">Attach:</code> <span class="emphasis"><em>filename</em></span>
477
470
[ <span class="emphasis"><em>description</em></span> ]
478
471
</p><p>
479
 
where <span class="emphasis"><em>filename</em></span> is the file to attach and <span class="emphasis"><em>description</em></span> is an
480
 
optional string to use as the description of the attached file. Spaces
481
 
in filenames have to be escaped using backslash (“<span class="quote">\</span>”).
482
 
The file can be removed as well as more added from the compose menu.
483
 
</p></div><div class="sect3" lang="en" xml:lang="en"><div class="titlepage"><div><div><h4 class="title"><a id="pgp-header"></a>6.2.3. Pgp: Pseudo Header</h4></div></div></div><p>
 
472
where <span class="emphasis"><em>filename</em></span> is the file to attach and
 
473
<span class="emphasis"><em>description</em></span> is an optional string to use as the
 
474
description of the attached file. Spaces in filenames have to be escaped
 
475
using backslash (<span class="quote">“<span class="quote">\</span>”</span>).  The file can be removed as well as
 
476
more added from the compose menu.
 
477
</p></div><div class="sect3" title="6.2.3. Pgp: Pseudo Header"><div class="titlepage"><div><div><h4 class="title"><a id="pgp-header"></a>6.2.3. Pgp: Pseudo Header</h4></div></div></div><p>
484
478
If you want to use PGP, you can specify
485
479
</p><p>
486
480
<code class="literal">Pgp:</code> [ <code class="literal">E</code> | <code class="literal">S</code> | <code class="literal">S</code><span class="emphasis"><em>&lt;id&gt;</em></span> ]
487
481
 
488
482
</p><p>
489
 
“<span class="quote">E</span>” selects encryption, “<span class="quote">S</span>” selects signing and
490
 
“<span class="quote">S&lt;id&gt;</span>” selects signing with the given key, setting
491
 
<a class="link" href="reference.html#pgp-sign-as" title="3.174. pgp_sign_as">$pgp_sign_as</a>
492
 
permanently. The selection can later be changed in the compose menu.
493
 
</p></div><div class="sect3" lang="en" xml:lang="en"><div class="titlepage"><div><div><h4 class="title"><a id="in-reply-to-header"></a>6.2.4. In-Reply-To: Header</h4></div></div></div><p>
494
 
When replying to messages, the <span class="emphasis"><em>In-Reply-To:</em></span> header contains the
495
 
Message-Id of the message(s) you reply to. If you remove or modify its value, Mutt will not generate a
496
 
<span class="emphasis"><em>References:</em></span> field, which allows you to create a new message thread, for example
497
 
to create a new message to a mailing list without having to enter the mailing list's address.
498
 
</p></div></div><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="sending-crypto"></a>6.3. Sending Cryptographically Signed/Encrypted Messages</h3></div></div></div><p>
499
 
If you have told Mutt to PGP or S/MIME encrypt a message, it will guide you
500
 
through a key selection process when you try to send the message.
501
 
Mutt will not ask you any questions about keys which have a
502
 
certified user ID matching one of the message recipients' mail
503
 
addresses.  However, there may be situations in which there are
504
 
several keys, weakly certified user ID fields, or where no matching
505
 
keys can be found.
 
483
<span class="quote">“<span class="quote">E</span>”</span> selects encryption, <span class="quote">“<span class="quote">S</span>”</span> selects signing
 
484
and <span class="quote">“<span class="quote">S&lt;id&gt;</span>”</span> selects signing with the given key,
 
485
setting <a class="link" href="reference.html#pgp-sign-as" title="3.175. pgp_sign_as">$pgp_sign_as</a> permanently. The
 
486
selection can later be changed in the compose menu.
 
487
</p></div><div class="sect3" title="6.2.4. In-Reply-To: Header"><div class="titlepage"><div><div><h4 class="title"><a id="in-reply-to-header"></a>6.2.4. In-Reply-To: Header</h4></div></div></div><p>
 
488
When replying to messages, the <span class="emphasis"><em>In-Reply-To:</em></span> header
 
489
contains the Message-Id of the message(s) you reply to. If you remove or
 
490
modify its value, Mutt will not generate a
 
491
<span class="emphasis"><em>References:</em></span> field, which allows you to create a new
 
492
message thread, for example to create a new message to a mailing list
 
493
without having to enter the mailing list's address.
 
494
</p><p>
 
495
If you intend to start a new thread by replying, please make really sure
 
496
you remove the <span class="emphasis"><em>In-Reply-To:</em></span> header in your
 
497
editor. Otherwise, though you'll produce a technically valid reply, some
 
498
netiquette guardians will be annoyed by this so-called <span class="quote">“<span class="quote">thread
 
499
hijacking</span>”</span>.
 
500
</p></div></div><div class="sect2" title="6.3. Sending Cryptographically Signed/Encrypted Messages"><div class="titlepage"><div><div><h3 class="title"><a id="sending-crypto"></a>6.3. Sending Cryptographically Signed/Encrypted Messages</h3></div></div></div><p>
 
501
If you have told Mutt to PGP or S/MIME encrypt a message, it will guide
 
502
you through a key selection process when you try to send the message.
 
503
Mutt will not ask you any questions about keys which have a certified
 
504
user ID matching one of the message recipients' mail addresses.
 
505
However, there may be situations in which there are several keys, weakly
 
506
certified user ID fields, or where no matching keys can be found.
506
507
</p><p>
507
508
In these cases, you are dropped into a menu with a list of keys from
508
 
which you can select one.  When you quit this menu, or Mutt can't
509
 
find any matching keys, you are prompted for a user ID.  You can, as
510
 
usually, abort this prompt using <code class="literal">^G</code>.  When you do so, Mutt will
511
 
return to the compose screen.
512
 
</p><p>
513
 
Once you have successfully finished the key selection, the message
514
 
will be encrypted using the selected public keys when sent out.
515
 
</p><p>
516
 
Most fields of the entries in the key selection menu (see also <a class="link" href="reference.html#pgp-entry-format" title="3.161. pgp_entry_format">$pgp_entry_format</a>)
517
 
have obvious meanings.  But some explanations on the capabilities, flags,
518
 
and validity fields are in order.
519
 
</p><p>
520
 
The flags sequence (“<span class="quote">%f</span>”) will expand to one of the flags in
521
 
<a class="xref" href="gettingstarted.html#tab-pgp-menuflags" title="Table 2.13. PGP key menu flags">Table 2.13, “PGP key menu flags”</a>.
 
509
which you can select one.  When you quit this menu, or Mutt can't find
 
510
any matching keys, you are prompted for a user ID.  You can, as usually,
 
511
abort this prompt using <code class="literal">^G</code>.  When you do so, Mutt
 
512
will return to the compose screen.
 
513
</p><p>
 
514
Once you have successfully finished the key selection, the message will
 
515
be encrypted using the selected public keys when sent out.
 
516
</p><p>
 
517
Most fields of the entries in the key selection menu (see also <a class="link" href="reference.html#pgp-entry-format" title="3.162. pgp_entry_format">$pgp_entry_format</a>) have obvious
 
518
meanings.  But some explanations on the capabilities, flags, and
 
519
validity fields are in order.
 
520
</p><p>
 
521
The flags sequence (<span class="quote">“<span class="quote">%f</span>”</span>) will expand to one of the flags
 
522
in <a class="xref" href="gettingstarted.html#tab-pgp-menuflags" title="Table 2.13. PGP key menu flags">Table 2.13, “PGP key menu flags”</a>.
522
523
</p><div class="table"><a id="tab-pgp-menuflags"></a><p class="title"><b>Table 2.13. PGP key menu flags</b></p><div class="table-contents"><table summary="PGP key menu flags" border="1"><colgroup><col /><col /></colgroup><thead><tr><th>Flag</th><th>Description</th></tr></thead><tbody><tr><td>R</td><td>The key has been revoked and can't be used.</td></tr><tr><td>X</td><td>The key is expired and can't be used.</td></tr><tr><td>d</td><td>You have marked the key as disabled.</td></tr><tr><td>c</td><td>There are unknown critical self-signature packets.</td></tr></tbody></table></div></div><br class="table-break" /><p>
523
 
The capabilities field (“<span class="quote">%c</span>”) expands to a two-character sequence
524
 
representing a key's capabilities.  The first character gives
525
 
the key's encryption capabilities: A minus sign (“<span class="quote">-</span>”) means
526
 
that the key cannot be used for encryption.  A dot (“<span class="quote">.</span>”) means that
527
 
it's marked as a signature key in one of the user IDs, but may
528
 
also be used for encryption.  The letter “<span class="quote">e</span>” indicates that
529
 
this key can be used for encryption.
 
524
The capabilities field (<span class="quote">“<span class="quote">%c</span>”</span>) expands to a two-character
 
525
sequence representing a key's capabilities.  The first character gives
 
526
the key's encryption capabilities: A minus sign (<span class="quote">“<span class="quote">-</span>”</span>) means
 
527
that the key cannot be used for encryption.  A dot (<span class="quote">“<span class="quote">.</span>”</span>)
 
528
means that it's marked as a signature key in one of the user IDs, but
 
529
may also be used for encryption.  The letter <span class="quote">“<span class="quote">e</span>”</span> indicates
 
530
that this key can be used for encryption.
530
531
</p><p>
531
532
The second character indicates the key's signing capabilities.  Once
532
 
again, a “<span class="quote">-</span>” implies “<span class="quote">not for signing</span>”, “<span class="quote">.</span>” implies
533
 
that the key is marked as an encryption key in one of the user-ids, and
534
 
“<span class="quote">s</span>” denotes a key which can be used for signing.
 
533
again, a <span class="quote">“<span class="quote">-</span>”</span> implies <span class="quote">“<span class="quote">not for signing</span>”</span>,
 
534
<span class="quote">“<span class="quote">.</span>”</span> implies that the key is marked as an encryption key in
 
535
one of the user-ids, and <span class="quote">“<span class="quote">s</span>”</span> denotes a key which can be
 
536
used for signing.
535
537
</p><p>
536
 
Finally, the validity field (“<span class="quote">%t</span>”) indicates how well-certified a user-id
537
 
is.  A question mark (“<span class="quote">?</span>”) indicates undefined validity, a minus
538
 
character (“<span class="quote">-</span>”) marks an untrusted association, a space character
539
 
means a partially trusted association, and a plus character (“<span class="quote">+</span>”)
540
 
indicates complete validity.
541
 
</p></div><div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="ff"></a>6.4. Sending Format=Flowed Messages</h3></div></div></div><div class="sect3" lang="en" xml:lang="en"><div class="titlepage"><div><div><h4 class="title"><a id="ff-concept"></a>6.4.1. Concept</h4></div></div></div><p>
542
 
<code class="literal">format=flowed</code>-style messages (or <code class="literal">f=f</code>
543
 
for short) are <code class="literal">text/plain</code> messages that consist of paragraphs which a receiver's
544
 
mail client may reformat to its own needs which mostly means to
545
 
customize line lengths regardless of what the sender sent. Technically this is
546
 
achieved by letting lines of a “<span class="quote">flowable</span>” paragraph end in spaces
 
538
Finally, the validity field (<span class="quote">“<span class="quote">%t</span>”</span>) indicates how
 
539
well-certified a user-id is.  A question mark (<span class="quote">“<span class="quote">?</span>”</span>)
 
540
indicates undefined validity, a minus character (<span class="quote">“<span class="quote">-</span>”</span>) marks
 
541
an untrusted association, a space character means a partially trusted
 
542
association, and a plus character (<span class="quote">“<span class="quote">+</span>”</span>) indicates complete
 
543
validity.
 
544
</p></div><div class="sect2" title="6.4. Sending Format=Flowed Messages"><div class="titlepage"><div><div><h3 class="title"><a id="ff"></a>6.4. Sending Format=Flowed Messages</h3></div></div></div><div class="sect3" title="6.4.1. Concept"><div class="titlepage"><div><div><h4 class="title"><a id="ff-concept"></a>6.4.1. Concept</h4></div></div></div><p>
 
545
<code class="literal">format=flowed</code>-style messages (or
 
546
<code class="literal">f=f</code> for short) are <code class="literal">text/plain</code>
 
547
messages that consist of paragraphs which a receiver's mail client may
 
548
reformat to its own needs which mostly means to customize line lengths
 
549
regardless of what the sender sent. Technically this is achieved by
 
550
letting lines of a <span class="quote">“<span class="quote">flowable</span>”</span> paragraph end in spaces
547
551
except for the last line.
548
552
</p><p>
549
553
While for text-mode clients like Mutt it's the best way to assume only a
550
554
standard 80x25 character cell terminal, it may be desired to let the
551
555
receiver decide completely how to view a message.
552
 
</p></div><div class="sect3" lang="en" xml:lang="en"><div class="titlepage"><div><div><h4 class="title"><a id="ff-support"></a>6.4.2. Mutt Support</h4></div></div></div><p>
 
556
</p></div><div class="sect3" title="6.4.2. Mutt Support"><div class="titlepage"><div><div><h4 class="title"><a id="ff-support"></a>6.4.2. Mutt Support</h4></div></div></div><p>
553
557
Mutt only supports setting the required <code class="literal">format=flowed</code>
554
 
MIME parameter on outgoing messages if the <a class="link" href="reference.html#text-flowed" title="3.286. text_flowed">$text_flowed</a>
555
 
variable is set, specifically it does not add the
556
 
trailing spaces.
 
558
MIME parameter on outgoing messages if the <a class="link" href="reference.html#text-flowed" title="3.287. text_flowed">$text_flowed</a> variable is set, specifically
 
559
it does not add the trailing spaces.
557
560
</p><p>
558
 
After editing the initial message text and before entering
559
 
the compose menu, Mutt properly space-stuffes the message.
 
561
After editing the initial message text and before entering the compose
 
562
menu, Mutt properly space-stuffs the message.
560
563
<span class="emphasis"><em>Space-stuffing</em></span> is required by RfC3676 defining
561
564
<code class="literal">format=flowed</code> and means to prepend a space to:
562
 
</p><div class="itemizedlist"><ul type="disc"><li><p>all lines starting with a space</p></li><li><p>lines starting with the word “<span class="quote"><code class="literal">From</code></span>”
563
 
followed by space</p></li><li><p>all lines starting with “<span class="quote"><code class="literal">&gt;</code></span>” which
564
 
is not intended to be a quote character</p></li></ul></div><div class="note"><h3 class="title">Note</h3><p>
565
 
Mutt only supports space-stuffing
566
 
for the first two types of lines but not for the third: It is impossible to
567
 
safely detect whether a leading <code class="literal">&gt;</code> character starts a
568
 
quote or not. Furthermore, Mutt only applies space-stuffing
569
 
<span class="emphasis"><em>once</em></span> after the initial edit is finished.
 
565
</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>all lines starting with a space</p></li><li class="listitem"><p>lines starting with the word
 
566
<span class="quote">“<span class="quote"><code class="literal">From</code></span>”</span> followed by
 
567
space</p></li><li class="listitem"><p>all lines starting with
 
568
<span class="quote">“<span class="quote"><code class="literal">&gt;</code></span>”</span> which is not intended to be a
 
569
quote character</p></li></ul></div><div class="note" title="Note"><h3 class="title">Note</h3><p>
 
570
Mutt only supports space-stuffing for the first two types of lines but
 
571
not for the third: It is impossible to safely detect whether a leading
 
572
<code class="literal">&gt;</code> character starts a quote or not. Furthermore,
 
573
Mutt only applies space-stuffing <span class="emphasis"><em>once</em></span> after the
 
574
initial edit is finished.
570
575
</p></div><p>
571
 
All leading spaces are to be removed by receiving clients to restore
572
 
the original message prior to further processing.
573
 
</p></div><div class="sect3" lang="en" xml:lang="en"><div class="titlepage"><div><div><h4 class="title"><a id="ff-editor"></a>6.4.3. Editor Considerations</h4></div></div></div><p>
574
 
As Mutt provides no additional features to compose <code class="literal">f=f</code>
575
 
messages, it's completely up to the user and his editor to produce
576
 
proper messages. Please consider your editor's documentation if you
577
 
intend to send <code class="literal">f=f</code> messages.
 
576
All leading spaces are to be removed by receiving clients to restore the
 
577
original message prior to further processing.
 
578
</p></div><div class="sect3" title="6.4.3. Editor Considerations"><div class="titlepage"><div><div><h4 class="title"><a id="ff-editor"></a>6.4.3. Editor Considerations</h4></div></div></div><p>
 
579
As Mutt provides no additional features to compose
 
580
<code class="literal">f=f</code> messages, it's completely up to the user and his
 
581
editor to produce proper messages. Please consider your editor's
 
582
documentation if you intend to send <code class="literal">f=f</code> messages.
578
583
</p><p>
579
584
Please note that when editing messages from the compose menu several
580
585
times before really sending a mail, it's up to the user to ensure that
584
589
flag for its <code class="literal">formatoptions</code> setting to assist in
585
590
creating <code class="literal">f=f</code> messages, see <code class="literal">:help
586
591
fo-table</code> for details.
587
 
</p></div></div></div><div class="sect1" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="forwarding-mail"></a>7. Forwarding and Bouncing Mail</h2></div></div></div><p>
 
592
</p></div></div></div><div class="sect1" title="7. Forwarding and Bouncing Mail"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="forwarding-mail"></a>7. Forwarding and Bouncing Mail</h2></div></div></div><p>
588
593
Bouncing and forwarding let you send an existing message to recipients
589
594
that you specify. Bouncing a message sends a verbatim copy of a message
590
595
to alternative addresses as if they were the message's original
591
 
recipients specified in the Bcc header.
592
 
Forwarding a message, on the other hand, allows you to modify the message
593
 
before it is resent (for example, by adding your own comments). Bouncing
594
 
is done using the <code class="literal">&lt;bounce&gt;</code> function and forwarding
595
 
using the <code class="literal">&lt;forward&gt;</code> function bound to “<span class="quote">b</span>” and “<span class="quote">f</span>”
596
 
respectively.
 
596
recipients specified in the Bcc header.  Forwarding a message, on the
 
597
other hand, allows you to modify the message before it is resent (for
 
598
example, by adding your own comments). Bouncing is done using the
 
599
<code class="literal">&lt;bounce&gt;</code> function and forwarding using the
 
600
<code class="literal">&lt;forward&gt;</code> function bound to <span class="quote">“<span class="quote">b</span>”</span>
 
601
and <span class="quote">“<span class="quote">f</span>”</span> respectively.
597
602
</p><p>
598
603
Forwarding can be done by including the original message in the new
599
 
message's body (surrounded by indicating lines) or including it as a MIME
600
 
attachment, depending on the value of the <a class="link" href="reference.html#mime-forward" title="3.140. mime_forward">$mime_forward</a> variable.  Decoding of attachments,
601
 
like in the pager, can be controlled by the <a class="link" href="reference.html#forward-decode" title="3.70. forward_decode">$forward_decode</a> and <a class="link" href="reference.html#mime-forward-decode" title="3.141. mime_forward_decode">$mime_forward_decode</a> variables,
 
604
message's body (surrounded by indicating lines) or including it as a
 
605
MIME attachment, depending on the value of the <a class="link" href="reference.html#mime-forward" title="3.141. mime_forward">$mime_forward</a> variable.  Decoding of
 
606
attachments, like in the pager, can be controlled by the <a class="link" href="reference.html#forward-decode" title="3.70. forward_decode">$forward_decode</a> and <a class="link" href="reference.html#mime-forward-decode" title="3.142. mime_forward_decode">$mime_forward_decode</a> variables,
602
607
respectively.  The desired forwarding format may depend on the content,
603
 
therefore <a class="link" href="reference.html#mime-forward" title="3.140. mime_forward">$mime_forward</a> is a quadoption which, for
604
 
example, can be set to “<span class="quote">ask-no</span>”.
 
608
therefore <a class="link" href="reference.html#mime-forward" title="3.141. mime_forward">$mime_forward</a> is a
 
609
quadoption which, for example, can be set to <span class="quote">“<span class="quote">ask-no</span>”</span>.
605
610
</p><p>
606
611
The inclusion of headers is controlled by the current setting of the
607
 
<a class="link" href="reference.html#weed" title="3.305. weed">$weed</a> variable, unless <a class="link" href="reference.html#mime-forward" title="3.140. mime_forward">$mime_forward</a> is set.
 
612
<a class="link" href="reference.html#weed" title="3.306. weed">$weed</a> variable, unless <a class="link" href="reference.html#mime-forward" title="3.141. mime_forward">$mime_forward</a> is set.
608
613
</p><p>
609
614
Editing the message to forward follows the same procedure as sending or
610
615
replying to a message does.
611
 
</p></div><div class="sect1" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="postponing-mail"></a>8. Postponing Mail</h2></div></div></div><p>
 
616
</p></div><div class="sect1" title="8. Postponing Mail"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="postponing-mail"></a>8. Postponing Mail</h2></div></div></div><p>
612
617
At times it is desirable to delay sending a message that you have
613
 
already begun to compose.  When the <code class="literal">&lt;postpone-message&gt;</code> function is
614
 
used in the <span class="emphasis"><em>compose</em></span> menu, the body of your message and attachments
615
 
are stored in the mailbox specified by the <a class="link" href="reference.html#postponed" title="3.196. postponed">$postponed</a> variable.  This means that you can recall the
616
 
message even if you exit Mutt and then restart it at a later time.
 
618
already begun to compose.  When the
 
619
<code class="literal">&lt;postpone-message&gt;</code> function is used in the
 
620
<span class="emphasis"><em>compose</em></span> menu, the body of your message and
 
621
attachments are stored in the mailbox specified by the <a class="link" href="reference.html#postponed" title="3.197. postponed">$postponed</a> variable.  This means that you can
 
622
recall the message even if you exit Mutt and then restart it at a later
 
623
time.
617
624
</p><p>
618
 
Once a message is postponed, there are several ways to resume it.  From the
619
 
command line you can use the “<span class="quote">-p</span>” option, or if you compose a new
620
 
message from the <span class="emphasis"><em>index</em></span> or <span class="emphasis"><em>pager</em></span> you will be prompted if postponed
621
 
messages exist.  If multiple messages are currently postponed, the
622
 
<span class="emphasis"><em>postponed</em></span> menu will pop up and you can select which message you would
623
 
like to resume.
624
 
</p><div class="note"><h3 class="title">Note</h3><p>
625
 
If you postpone a reply to a message, the reply setting of
626
 
the message is only updated when you actually finish the message and
627
 
send it.  Also, you must be in the same folder with the message you
628
 
replied to for the status of the message to be updated.
 
625
Once a message is postponed, there are several ways to resume it.  From
 
626
the command line you can use the <span class="quote">“<span class="quote">-p</span>”</span> option, or if you
 
627
compose a new message from the <span class="emphasis"><em>index</em></span> or
 
628
<span class="emphasis"><em>pager</em></span> you will be prompted if postponed messages
 
629
exist.  If multiple messages are currently postponed, the
 
630
<span class="emphasis"><em>postponed</em></span> menu will pop up and you can select which
 
631
message you would like to resume.
 
632
</p><div class="note" title="Note"><h3 class="title">Note</h3><p>
 
633
If you postpone a reply to a message, the reply setting of the message
 
634
is only updated when you actually finish the message and send it.  Also,
 
635
you must be in the same folder with the message you replied to for the
 
636
status of the message to be updated.
629
637
</p></div><p>
630
 
See also the <a class="link" href="reference.html#postpone" title="3.195. postpone">$postpone</a> quad-option.
 
638
See also the <a class="link" href="reference.html#postpone" title="3.196. postpone">$postpone</a> quad-option.
631
639
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="intro.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="configuration.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 1. Introduction </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 3. Configuration</td></tr></table></div></body></html>