X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=doc%2Fmanual.xml.head;h=5912d4c2f3dcf8fd1f515990c9b808d89fd71b25;hp=6a1079a2ae109397945614a97f186e7fbdd2db9c;hb=00af9e04494931d2fcb17ce359b5f89acc5a971e;hpb=e5801e9c02782901d09c554e74817adeaeb61272 diff --git a/doc/manual.xml.head b/doc/manual.xml.head index 6a1079a..5912d4c 100644 --- a/doc/manual.xml.head +++ b/doc/manual.xml.head @@ -167,7 +167,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. @@ -187,12 +187,15 @@ in a typewriter font and both prefixed with a dollar sign as it's common for UNIX-like environments. Configuration variables are lower-case only while environment variables - are upper-case only. + are upper-case only. is a configuration variable while + is an environment + variable. - Muttng-specific commands are enclosed in + Muttng-specific functions are enclosed in <> and printed in a typewriter font, - too. + too, as in . As common for UNIX-like environments, references to @@ -201,6 +204,17 @@ name="muttngrc" sect="5"/>. Execute man [section] [name] to view the manual page. + + Keys are presented in the following way: ordinary keys + are just given as-is, e.g. + q. Control characters are + prefixed with C- (e.g. the screen can be + redraw by pressing L) and E- for + Escape, e.g. a folder can be opened read-only with + c. + + @@ -688,7 +702,7 @@ - +
Most commonly used movement bindings @@ -700,42 +714,42 @@ - j or Down + j or Down move to the next entry - k or Up + k or Up move to the previous entry - z or PageDn + z or PageDn go to the next page - Z or PageUp + Z or PageUp go to the previous page - = or Home + = or Home jump to the first entry - * or End + * or End jump to the last entry - q + q exit the current menu - ? + ? list all key bindings for the current menu @@ -766,7 +780,7 @@ -
+
Line Editor Functions @@ -778,113 +792,113 @@ - ^A or <Home> + A or Home move to the start of the line - ^B or <Left> + B or Left move back one char - Esc B + B move back one word - ^D or <Delete> + D or Delete delete the char under the cursor - ^E or <End> + E or End move to the end of the line - ^F or <Right> + F or Right move forward one char - Esc F + F move forward one word - <Tab> + Tab complete filename or alias - ^T + T complete address with query - ^K + K delete to the end of the line - ESC d + d delete to the end of the word - ^W + W kill the word in front of the cursor - ^U + U delete entire line - ^V + V quote the next typed key - <Up> + Up recall previous string from history - <Down> + Down recall next string from history - <BackSpace> + BackSpace kill the char in front of the cursor - Esc u + u convert word to upper case - Esc l + l convert word to lower case - Esc c + c capitalize the word - ^G - n/a + G + abort - <Return> - n/a + Return + finish editing @@ -895,7 +909,7 @@ You can remap the editor functions using the - command. For example, to make + command. For example, to make the Delete key delete the character in front of the cursor rather than under, you could use @@ -928,7 +942,7 @@ -
+
Most commonly used Index Bindings @@ -940,147 +954,147 @@ - c + c change to a different mailbox - ESC c + c change to a folder in read-only mode - C + C copy the current message to another mailbox - ESC C + C decode a message and copy it to a folder - ESC s + s decode a message and save it to a folder - D + D delete messages matching a pattern - d + d delete the current message - F + F mark as important - l + l show messages matching a pattern - N + N mark message as new - o + o change the current sort method - O + O reverse sort the mailbox - q + q save changes and exit - s + s save-message - T + T tag messages matching a pattern - t + t toggle the tag on a message - ESC t + t toggle tag on entire message thread - U + U undelete messages matching a pattern - u + u undelete-message - v + v view-attachments - x + x abort changes and exit - <Return> + Return display-message - <Tab> + Tab jump to the next new or unread message - @ + @ show the author's full e-mail address - $ + $ save changes to mailbox - / + / search - ESC / + / search-reverse - ^L + L clear and redraw the screen - ^T + T untag messages matching a pattern @@ -1222,7 +1236,7 @@ Furthermore, the following flags reflect who the message is addressed to. They can be customized with the - variable. + variable. @@ -1287,7 +1301,7 @@ -
+
Most commonly used Pager Bindings @@ -1299,57 +1313,57 @@ - <Return> + Return go down one line - <Space> + Space display the next page (or next message if at the end of a message) - - + - go back to the previous page - n + n search for next match - S + S skip beyond quoted text - T + T toggle display of quoted text - ? + ? show key bindings - / + / search for a regular expression (pattern) - ESC / + / search backwards for a regular expression - \ + \ toggle search pattern coloring - ^ + ^ jump to the top of the message @@ -1370,18 +1384,17 @@ - Also, the internal pager supports a couple other advanced features. - For - one, it will accept and translate the ``standard'' nroff sequences - forbold and underline. These sequences are a series of either the - letter, - backspace (^H), the letter again for bold or the letter, - backspace, - ``_'' for denoting underline. Mutt-ng will attempt to display - these - in bold and underline respectively if your terminal supports them. If - not, you can use the bold and underline - objects to specify a color or mono attribute for them. + Also, the internal pager supports a couple other advanced + features. For one, it will accept and translate the + ``standard'' nroff sequences forbold and underline. These + sequences are a series of either the letter, backspace + (H), the letter again for bold + or the letter, backspace, _ for denoting + underline. Mutt-ng will attempt to display these in bold and + underline respectively if your terminal supports them. If not, + you can use the bold and underline objects to specify a color or mono attribute + for them. @@ -1395,7 +1408,7 @@ -
+
ANSI Escape Sequences @@ -1438,7 +1451,7 @@
- +
ANSI Colors @@ -1490,7 +1503,7 @@ Mutt-ng uses these attributes for handling text/enriched messages, and they - can also be used by an external + can also be used by an external script for highlighting purposes. Note: If you change the colors for your display, for example by changing the color associated with color2 for your xterm, then that color will be used instead of green. @@ -1514,7 +1527,7 @@ -
+
Most commonly used thread-related bindings @@ -1526,72 +1539,72 @@ - ^D + D delete all messages in the current thread - ^U + U undelete all messages in the current thread - ^N + N jump to the start of the next thread - ^P + P jump to the start of the previous thread - ^R + R mark the current thread as read - ESC d + d delete all messages in the current subthread - ESC u + u undelete all messages in the current subthread - ESC n + n jump to the start of the next subthread - ESC p + p jump to the start of the previous subthread - ESC r + r mark the current subthread as read - ESC t + t toggle the tag on the current thread - ESC v + v toggle collapse for the current thread - ESC V + V toggle collapse for all threads - P + P jump to parent message in thread @@ -1608,18 +1621,18 @@ in the thread and hides the others. This is useful when threads contain so many messages that you can only see a handful of threads onthe screen. See %M in - . + . For example, you could use - %?M?(#%03M)&(%4l)? in + %?M?(#%03M)&(%4l)? in to optionally display the number of hidden messages if the thread is collapsed. - See also the variable. + See also the variable. @@ -1628,21 +1641,21 @@ Miscellaneous Functions - + a Creates a new alias based upon the current message (or prompts for a - new one). Once editing is complete, an - command is added to the file specified by the + new one). Once editing is complete, an + command is added to the file specified by the variable for future use. Note: - Specifying an - does not add the aliases specified there-in, you must also + Specifying an + does not add the aliases specified there-in, you must also the file. - + P @@ -1656,16 +1669,16 @@ - + h - Toggles the weeding of message header fields specified by + Toggles the weeding of message header fields specified by commands. - + e @@ -1678,8 +1691,8 @@ - (default: ^E on the attachment menu, and in the pager and index - menus; ^T on the compose menu) + (default: E on the attachment menu, and in the pager and index + menus; T on the compose menu) @@ -1699,7 +1712,7 @@ - + : @@ -1707,13 +1720,13 @@ a configuration file. A common use is to check the settings of variables, or - in conjunction with to change + in conjunction with to change settings on the fly. - + K @@ -1722,7 +1735,7 @@ - + F @@ -1731,16 +1744,16 @@ - + L Reply to the current or tagged message(s) by extracting any addresses which - match the regular expressions given by the + match the regular expressions given by the commands, but also honor any Mail-Followup-To header(s) if the - + configuration variable is set. Using this when replying to messages posted to mailing lists helps avoid duplicate copies being sent to the @@ -1755,15 +1768,15 @@ Asks for an external Unix command and pipes the current or tagged message(s) to it. The variables - , - , - and - + , + , + and + control the exact behavior of this function. - + e @@ -1786,12 +1799,12 @@ - + ! Asks for an external Unix command and executes it. The - + can be used to control whether Mutt-ng will wait for a key to be pressed when the command returns @@ -1800,12 +1813,12 @@ - + T The pager uses the - + variable to detect quoted text when displaying the body of the message. This function toggles the displayof the quoted material in the message. It is particularly @@ -1815,7 +1828,7 @@ - + S @@ -1843,7 +1856,7 @@ -
+
Most commonly used Mail Composition Bindings @@ -1855,37 +1868,37 @@ - m + m compose a new message - r + r reply to sender - g + g reply to all recipients - L + L reply to mailing list address - f + f forward message - b + b bounce (remail) message - ESC k + k mail a PGP public key to someone @@ -1906,15 +1919,15 @@ Composing new messages - When you want to send an email using mutt-ng, simply press m on + When you want to send an email using mutt-ng, simply press m on your keyboard. Then, mutt-ng asks for the recipient via a prompt in the last line: - -To: + +To: @@ -1936,10 +1949,10 @@ To: - + set editor = "vim +/^$/ -c ':set tw=72'" set editor = "nano" -set editor = "emacs" +set editor = "emacs" @@ -1976,13 +1989,13 @@ set editor = "emacs" - At this point, you can add more attachments, pressing a, you - can edit the recipient addresses, pressing t for + At this point, you can add more attachments, pressing a, you + can edit the recipient addresses, pressing t for the "To:" field, - c for the "Cc:" field, and b + c for the "Cc:" field, and b for the "Bcc: field. You can - also edit the subject the subject by simply pressing s or the - email message that you've entered before by pressing e. You will + also edit the subject the subject by simply pressing s or the + email message that you've entered before by pressing e. You will then again return to the editor. You can even edit the sender, by pressing <esc>f, but this shall only be used with @@ -1997,8 +2010,8 @@ set editor = "emacs" - -set edit_headers + +set edit_headers @@ -2010,7 +2023,7 @@ set edit_headers -
+
Most commonly used Compose Menu Bindings @@ -2022,102 +2035,102 @@ set edit_headers - a + a attach a file - A + A attach message(s) to the message - ESC k + k attach a PGP public key - d + d edit description on attachment - D + D detach a file - t + t edit the To field - ESC f + f edit the From field - r + r edit the Reply-To field - c + c edit the Cc field - b + b edit the Bcc field - y + y send the message - s + s edit the Subject - S + S select S/MIME options - f + f specify an ``Fcc'' mailbox - p + p select PGP options - P + P postpone this message until later - q + q quit (abort) sending the message - w + w write the message to a folder - i + i check spelling (if available on your system) - ^F + F wipe passphrase(s) from memory @@ -2135,7 +2148,7 @@ set edit_headers certainoperations like composing a new mail, replying, forwarding, etc. are not permitted when you are in that folder. The %r - in + in will change to a 'A' to indicate that you are in attach-message mode. @@ -2154,7 +2167,7 @@ set edit_headers When you want to reply to an email message, select it in the index - menu and then press r. Mutt-ng's behaviour is + menu and then press r. Mutt-ng's behaviour is then similar to the behaviour when you compose a message: first, you will be asked for the recipient, then for the subject, and then, mutt-ng will start @@ -2164,12 +2177,12 @@ set edit_headers - + On Mon, Mar 07, 2005 at 05:02:12PM +0100, Michael Svensson wrote: > Bill, can you please send last month's progress report to Mr. > Morgan? We also urgently need the cost estimation for the new > production server that we want to set up before our customer's -> project will go live. +> project will go live. @@ -2186,28 +2199,28 @@ On Mon, Mar 07, 2005 at 05:02:12PM +0100, Michael Svensson wrote: The quote attribution is configurable, by default it is set to - -set attribution = "On %d, %n wrote:" + +set attribution = "On %d, %n wrote:" It can also be set to something more compact, e.g. - -set attribution = "attribution="* %n <%a> [%(%y-%m-%d %H:%M)]:" + +set attribution = "attribution="* %n <%a> [%(%y-%m-%d %H:%M)]:" The example above results in the following attribution: - + * Michael Svensson <svensson@foobar.com> [05-03-06 17:02]: > Bill, can you please send last month's progress report to Mr. > Morgan? We also urgently need the cost estimation for the new > production server that we want to set up before our customer's -> project will go live. +> project will go live. @@ -2239,8 +2252,8 @@ set attribution = "attribution="* %n <%a> [%(%y-%m-%d %H:%M)]:" In the situation where a group of people uses email as a discussion, most of the emails will have one or more recipients, and probably several "Cc:" recipients. The group reply - functionalityensures that when you press g - instead of r to do a reply, + functionalityensures that when you press g + instead of r to do a reply, each and every recipient that is contained in the original message will receive a copy of the message, either as normal recipient or as "Cc:" recipient. @@ -2263,7 +2276,7 @@ set attribution = "attribution="* %n <%a> [%(%y-%m-%d %H:%M)]:" - To do a list reply, simply press L. If the email + To do a list reply, simply press L. If the email contains a Mail-Followup-To: header, its value will be used as reply @@ -2276,8 +2289,8 @@ set attribution = "attribution="* %n <%a> [%(%y-%m-%d %H:%M)]:" - -lists linuxevent@luga\.at vuln-dev@ mutt-ng-users@ + +lists linuxevent@luga\.at vuln-dev@ mutt-ng-users@ @@ -2322,8 +2335,8 @@ lists linuxevent@luga\.at vuln-dev@ mutt-ng-users@ You can also attach files to your message by specifying - -Attach: filename [description] + +Attach: filename [description] where filename is the file to attach and description @@ -2339,8 +2352,8 @@ Attach: filename [description] - Also see the and - variables + Also see the and + variables @@ -2355,12 +2368,12 @@ Attach: filename [description] If you want to use PGP, you can specify - -Pgp: [E | S | S id] + +Pgp: [E | S | S id] ``E'' encrypts, ``S'' signs and ``S<id>'' signs with the given key, setting - + permanently. @@ -2378,7 +2391,7 @@ Pgp: [E | S | S id] In these cases, you are dropped into a menu with a list of keys from which you can select one. When you quit this menu, or mutt can't find any matching keys, you are prompted for a user ID. You can, as - usually, abort this prompt using ^G. When + usually, abort this prompt using G. When you do so, mutt will return to the compose screen. @@ -2390,7 +2403,7 @@ Pgp: [E | S | S id] Most fields of the entries in the key selection menu (see also - ) + ) have obvious meanings. But some explanations on the capabilities, flags, and validity fields are in order. @@ -2401,7 +2414,7 @@ Pgp: [E | S | S id] flags: -
+
PGP Key Menu Flags @@ -2511,7 +2524,7 @@ Pgp: [E | S | S id] and chain-next functions, which are by default bound to the left - and right arrows and to the h and l keys (think vi + and right arrows and to the h and l keys (think vi keyboard bindings). To insert a remailer at the current chain position, use the insert function. To append a remailer behind @@ -2530,7 +2543,7 @@ Pgp: [E | S | S id] Note that different remailers do have different capabilities, indicated in the %c entry of the remailer menu lines (see - ). + ). Most important is the ``middleman'' capability, indicated by a capital ``M'': This means that the remailer in question cannot be used as the final @@ -2562,7 +2575,7 @@ Pgp: [E | S | S id] The first one is regular forwarding, as you probably know it from - other mail clients. You simply press f, enter the + other mail clients. You simply press f, enter the recipient email address, the subject of the forwarded email, and then you can edit the message to be forwarded in the editor. The forwarded @@ -2572,18 +2585,18 @@ Pgp: [E | S | S id] - ------ Forwarded message from Lucas User <luser@example.com> ----- + +----- Forwarded message from Lucas User <luser@example.com> ----- -From: Lucas User <luser@example.com> +From: Lucas User <luser@example.com> Date: Thu, 02 Dec 2004 03:08:34 +0100 -To: Michael Random <mrandom@example.com> +To: Michael Random <mrandom@example.com> Subject: Re: blackmail Pay me EUR 50,000.- cash or your favorite stuffed animal will die a horrible death. ------ End forwarded message ----- +----- End forwarded message ----- @@ -2599,7 +2612,7 @@ a horrible death. another address, it will be sent in practically the same format you send it (except for headers that are created during transporting the - message). To bounce a message, press b and enter the + message). To bounce a message, press b and enter the recipient email address. By default, you are then asked whether you really want to bounce the message to the specified recipient. If you answer @@ -2728,8 +2741,8 @@ a horrible death. When multiple commands are used, they must be separated by a semicolon (;). - -set realname='Mutt-ng user' ; ignore x- + +set realname='Mutt-ng user' ; ignore x- The hash mark, or pound sign (``#''), is used as a ``comment'' character. You can use it to @@ -2739,8 +2752,8 @@ set realname='Mutt-ng user' ; ignore x- - -my_hdr X-Disclaimer: Why are you listening to me? # This is a comment + +my_hdr X-Disclaimer: Why are you listening to me? # This is a comment @@ -2770,8 +2783,8 @@ my_hdr X-Disclaimer: Why are you listening to me? # This is a comment interpreted character. - -set realname="Michael \"MuttDude\" Elkins" + +set realname="Michael \"MuttDude\" Elkins" @@ -2797,9 +2810,9 @@ set realname="Michael \"MuttDude\" Elkins" - + # folder-hook . \ -set realname="Michael \"MuttDude\" Elkins" +set realname="Michael \"MuttDude\" Elkins" @@ -2821,12 +2834,12 @@ set realname="Michael \"MuttDude\" Elkins" - + line1\ line2a # line2b\ line3\ line4 -line5 +line5 @@ -2867,8 +2880,8 @@ line5 - -my_hdr X-Operating-System: `uname -a` + +my_hdr X-Operating-System: `uname -a` @@ -2892,8 +2905,8 @@ my_hdr X-Operating-System: `uname -a` - -set record=+sent_on_$HOSTNAME + +set record=+sent_on_$HOSTNAME @@ -2922,13 +2935,13 @@ set record=+sent_on_$HOSTNAME - -set imap_home_namespace = $folder + +set imap_home_namespace = $folder - would set the value of + would set the value of to the value to which is currently set to. @@ -2936,7 +2949,7 @@ set imap_home_namespace = $folder Note: There're no logical links established in such cases so - that the the value for + that the the value for won't change even if gets changed. @@ -2969,9 +2982,9 @@ set imap_home_namespace = $folder - + macro generic <F1> "!less -r /path/to/manual" "Show manual" -macro pager <F1> "!less -r /path/to/manual" "Show manual" +macro pager <F1> "!less -r /path/to/manual" "Show manual" @@ -2985,11 +2998,11 @@ macro pager <F1> "!less -r /path/to/manual" "Show manual" - + set user_manualcmd = "!less -r /path/to_manual" macro generic <F1> "$user_manualcmd<enter>" "Show manual" macro pager <F1> "$user_manualcmd<enter>" "Show manual" -macro index <F1> "$user_manualcmd<enter>" "Show manual" +macro index <F1> "$user_manualcmd<enter>" "Show manual" @@ -2999,8 +3012,8 @@ macro index <F1> "$user_manualcmd<enter>" "Show manual" - -macro index <F2> "$user_manualcmd | grep '\^[ ]\\+~. '" "Show Patterns" + +macro index <F2> "$user_manualcmd | grep '\^[ ]\\+~. '" "Show Patterns" @@ -3028,9 +3041,9 @@ macro index <F2> "$user_manualcmd | grep '\^[ ]\\+~. '" "Show Patterns" - + set user_foo = 42 -set user_foo = 666 +set user_foo = 666 @@ -3042,8 +3055,8 @@ set user_foo = 666 - -set ?user_foo + +set ?user_foo @@ -3053,8 +3066,8 @@ set ?user_foo - -reset user_foo + +reset user_foo @@ -3065,8 +3078,8 @@ reset user_foo - -unset user_foo + +unset user_foo @@ -3100,8 +3113,8 @@ unset user_foo - -muttng -Q muttng_docdir + +$ muttng -Q muttng_docdir @@ -3113,8 +3126,8 @@ muttng -Q muttng_docdir - -set user_manualcmd = '!less -r /path/to_manual' + +set user_manualcmd = '!less -r /path/to_manual' @@ -3124,8 +3137,8 @@ set user_manualcmd = '!less -r /path/to_manual' - -set user_manualcmd = "!less -r $muttng_docdir/manual.txt" + +set user_manualcmd = "!less -r $muttng_docdir/manual.txt" @@ -3146,8 +3159,8 @@ set user_manualcmd = "!less -r $muttng_docdir/manual.txt" - -folder-hook . "set user_current_folder = $muttng_folder_name" + +folder-hook . "set user_current_folder = $muttng_folder_name" @@ -3158,8 +3171,8 @@ folder-hook . "set user_current_folder = $muttng_folder_name" - -folder-hook . "set user_current_folder = some_folder" + +folder-hook . "set user_current_folder = some_folder" @@ -3171,8 +3184,8 @@ folder-hook . "set user_current_folder = some_folder" - -folder-hook . 'set user_current_folder = $muttng_folder_name' + +folder-hook . 'set user_current_folder = $muttng_folder_name' @@ -3189,8 +3202,8 @@ folder-hook . 'set user_current_folder = $muttng_folder_name' - -folder-hook . 'source ~/.mutt/score-$muttng_folder_name' + +folder-hook . 'source ~/.mutt/score-$muttng_folder_name' @@ -3215,12 +3228,12 @@ folder-hook . 'source ~/.mutt/score-$muttng_folder_name' - + set read_inc = 100 set folder = $read_inc set read_inc = $folder set user_magic_number = 42 -set folder = $user_magic_number +set folder = $user_magic_number @@ -3228,11 +3241,13 @@ set folder = $user_magic_number - + Defining/Using aliases - Usage: key address [, address,...] + + key address [, address,...] + @@ -3255,14 +3270,16 @@ set folder = $user_magic_number - unalias [* | key ...] + + [* | key ... ] + - + alias muttdude me@cs.hmc.edu (Michael Elkins) -alias theguys manny, moe, jack +alias theguys manny, moe, jack @@ -3270,7 +3287,7 @@ alias theguys manny, moe, jack Unlike other mailers, Mutt-ng doesn't require aliases to be defined in a special file. The alias command can appear anywhere in - a configuration file, as long as this file is . + a configuration file, as long as this file is . Consequently, you can have multiple alias files, or you can have all aliases defined in your muttrc. @@ -3278,13 +3295,13 @@ alias theguys manny, moe, jack On the other hand, the function can use only one file, the one pointed to by the - + variable (which is ~/.muttrc by default). This file is not special either, in the sense that Mutt-ng will happily append aliases to any file, but in - order for the new aliases to take effect you need to explicitly + order for the new aliases to take effect you need to explicitly this file too. @@ -3294,10 +3311,10 @@ alias theguys manny, moe, jack - + source /usr/local/share/Mutt-ng.aliases source ~/.mail_aliases -set alias_file=~/.mail_aliases +set alias_file=~/.mail_aliases @@ -3309,7 +3326,7 @@ set alias_file=~/.mail_aliases prompt. You can also enter aliases in your editor at the appropriate headers if you have the - + variable set. @@ -3340,11 +3357,13 @@ set alias_file=~/.mail_aliases - + Changing the default key bindings - Usage: map key function + + map key function + @@ -3494,7 +3513,7 @@ set alias_file=~/.mail_aliases -
+
Alternative Key Names @@ -3509,11 +3528,11 @@ set alias_file=~/.mail_aliasestab - <tab> + <tab> tab - <backtab> + <backtab> backtab / shift-tab @@ -3529,71 +3548,71 @@ set alias_file=~/.mail_aliases escape - <esc> + <esc> escape - <up> + <up> up arrow - <down> + <down> down arrow - <left> + <left> left arrow - <right> + <right> right arrow - <pageup> + <pageup> Page Up - <pagedown> + <pagedown> Page Down - <backspace> + <backspace> Backspace - <delete> + <delete> Delete - <insert> + <insert> Insert - <enter> + <enter> Enter - <return> + <return> Return - <home> + <home> Home - <end> + <end> End - <space> + <space> Space bar - <f1> + <f1> function key 1 - <f10> + <f10> function key 10 @@ -3693,8 +3712,8 @@ set alias_file=~/.mail_aliases - -folder-hook mutt set sort=threads + +folder-hook mutt set sort=threads @@ -3707,8 +3726,8 @@ folder-hook mutt set sort=threads - -folder-hook . set sort=date-sent + +folder-hook . set sort=date-sent @@ -3718,11 +3737,13 @@ folder-hook . set sort=date-sent - + Keyboard macros - Usage: menu key sequence [description] + + menu key sequence [description] + @@ -3747,22 +3768,18 @@ folder-hook . set sort=date-sent - key and sequence are expanded - by the same rules as the . There are - some additions however. The - first is that control characters in sequence can - also be specified - as ^x. In order to get a caret (`^'') - you need to use - ^^. Secondly, to specify a certain key - such as up - or to invoke a function directly, you can use the format + key and sequence are + expanded by the same rules as the . There are some additions however. The first + is that control characters in sequence can + also be specified as ^x. In order to get a + caret (`^'') you need to specify it twice. Secondly, + to specify a certain key such as up or to + invoke a function directly, you can use the format <key name> and <function - name> - - .For a listing of key - names see the section on . Functions - are listed in the functions. + name> .For a listing of key names see the + section on . Functions are + listed in the functions. @@ -3792,19 +3809,17 @@ folder-hook . set sort=date-sent - + Using color and mono video attributes - - - Usage: object foregroundbackground [regexp] + object foreground background [regexp] - Usage: index foreground backgroundpattern + index foreground pattern - Usage: index pattern[pattern...] + index pattern [pattern ...] @@ -3894,7 +3909,7 @@ folder-hook . set sort=date-sent - quoted (text matching in the body of a message) + quoted (text matching in the body of a message) @@ -4038,9 +4053,9 @@ folder-hook . set sort=date-sent - + set COLORFGBG="green;black" -export COLORFGBG +export COLORFGBG @@ -4087,13 +4102,13 @@ export COLORFGBG - Usage: <object> <attribute>[regexp] + object attribute [regexp] - Usage: index attribute pattern + index attribute pattern - Usage: index pattern [pattern...] + index pattern [pattern ...] @@ -4144,15 +4159,15 @@ export COLORFGBG - + Ignoring (weeding) unwanted message headers - Usage: pattern [pattern...] + pattern [pattern ...] - Usage: pattern [pattern...] + pattern [pattern ...] @@ -4186,12 +4201,12 @@ export COLORFGBG For example: - + # Sven's draconian header weeding ignore * unignore from date subject to cc unignore organization organisation x-mailer: x-newsreader: x-mailing-list: -unignore posted-to: +unignore posted-to: @@ -4201,15 +4216,15 @@ unignore posted-to: - + Alternative addresses - Usage: regexp [regexp...] + regexp [regexp ...] - Usage: regexp [regexp...] + regexp [regexp ...] @@ -4219,7 +4234,7 @@ unignore posted-to: sent to a different party, mutt will automatically suggest to send the response to the original message's recipients--responding to yourself won't make much sense in many cases. - (See .) + (See .) @@ -4308,8 +4323,8 @@ unignore posted-to: - -set wrapmargin = 10 + +set wrapmargin = 10 @@ -4325,8 +4340,8 @@ set wrapmargin = 10 - -set max_line_length = 120 + +set max_line_length = 120 @@ -4343,11 +4358,11 @@ set max_line_length = 120 - + >Bill, can you please send last month's progress report to Mr. >Morgan? We also urgently need the cost estimation for the new >production server that we want to set up before our customer's ->project will go live. +>project will go live. @@ -4359,8 +4374,8 @@ set max_line_length = 120 - -set stuff_quoted + +set stuff_quoted @@ -4370,11 +4385,11 @@ set stuff_quoted - + > Bill, can you please send last month's progress report to Mr. > Morgan? We also urgently need the cost estimation for the new > production server that we want to set up before our customer's -> project will go live. +> project will go live. @@ -4390,8 +4405,8 @@ set stuff_quoted - -set text_flowed + +set text_flowed @@ -4443,7 +4458,7 @@ set text_flowed Additional Notes - For completeness, the variable provides the mechanism + For completeness, the variable provides the mechanism to generate a DelSp=yes parameter on outgoing @@ -4467,21 +4482,20 @@ set text_flowed - - + Mailing lists - Usage: regexp [regexp...] + regexp [regexp ...] - Usage: regexp [regexp...] + regexp [regexp ...] - Usage: regexp [regexp...] + regexp [regexp ...] - Usage: regexp [regexp...] + regexp [regexp ...] @@ -4499,7 +4513,7 @@ set text_flowed against receiving personal CCs of list messages. Also note that the generation of the Mail-Followup-To header is controlled by the - + configuration variable. @@ -4584,14 +4598,14 @@ set text_flowed - + Defining mailboxes which receive mail - Usage: [!]filename [filename...] + [!]filename [filename ... ] - Usage: [!]filename [filename...] + [!]filename [filename ... ] @@ -4653,14 +4667,14 @@ set text_flowed - + User defined headers - Usage: string + string - Usage: field [field...] + field [field ...] @@ -4675,8 +4689,8 @@ set text_flowed - -my_hdr Organization: A Really Big Company, Anytown, USA + +my_hdr Organization: A Really Big Company, Anytown, USA @@ -4694,7 +4708,7 @@ my_hdr Organization: A Really Big Company, Anytown, USA If you would like to add a header field to a single message, you should - either set the + either set the variable, or use the edit-headers function (default: ``E'') in the send-menu so @@ -4709,8 +4723,8 @@ my_hdr Organization: A Really Big Company, Anytown, USA - -unmy_hdr to cc + +unmy_hdr to cc @@ -4719,13 +4733,17 @@ unmy_hdr to cc - + Defining the order of headers when viewing messages - Usage: header1header2 header3 + header header [header ...] - + + + [ * | header header ...] + + With this command, you can specify an order in which mutt will attempt to present headers to you when viewing messages. @@ -4740,8 +4758,8 @@ unmy_hdr to cc - -hdr_order From Date: From: To: Cc: Subject: + +hdr_order From Date: From: To: Cc: Subject: @@ -4780,9 +4798,9 @@ hdr_order From Date: From: To: Cc: Subject: - + save-hook me@(turing\\.)?cs\\.hmc\\.edu$ +elkins -save-hook aol\\.com$ +spam +save-hook aol\\.com$ +spam @@ -4821,16 +4839,18 @@ save-hook aol\\.com$ +spam - Example: [@.]aol\\.com$ - +spammers - + Example: + + + + +fcc-hook [@.]aol\\.com$ +spammers - The above will save a copy of all messages going to the aol.com domain - to - the `+spammers' mailbox by default. Also see the - command. + The above will save a copy of all messages going to the aol.com + domain to the `+spammers' mailbox by default. Also see the + command. @@ -4978,9 +4998,9 @@ save-hook aol\\.com$ +spam Example: - -message-hook 'set pager=builtin' -message-hook ' freshmeat-news' 'set pager="less \"+/^ subject:.*\""' + +message-hook ~A 'set pager=builtin' +message-hook '~f freshmeat-news' 'set pager="less \"+/^ subject:.*\""' @@ -5021,25 +5041,24 @@ message-hook ' freshmeat-news' 'set pager="less \" - + Adding key sequences to the keyboard buffer - Usage: string + string This command adds the named string to the keyboard buffer. The string may contain control characters, key names and function - names like the sequence string in the command. You may use it to + names like the sequence string in the command. You may use it to automatically run a sequence of commands at startup, or when entering certain folders. For example, the following command will automatically collapse all threads when entering a folder: - -folder-hook . 'push <collapse-all>' - + +folder-hook . 'push <collapse-all>' @@ -5049,11 +5068,11 @@ folder-hook . 'push <collapse-all>' - + Executing functions - Usage: function [function...] + function [function ... ] @@ -5068,14 +5087,14 @@ folder-hook . 'push <collapse-all>' - + Message Scoring - Usage: pattern value + pattern value - Usage: pattern [pattern...] + pattern [pattern ... ] @@ -5098,9 +5117,9 @@ folder-hook . 'push <collapse-all>' - -score " nion@muttng\.org" 50 -score " @sco\.com" -100 + +score "~f nion@muttng\.org" 50 +score "~f @sco\.com" -100 @@ -5112,8 +5131,8 @@ score " @sco\.com" -100 - -score " santaclaus@northpole\.int" =666 + +score "~f santaclaus@northpole\.int" =666 @@ -5163,14 +5182,14 @@ score " santaclaus@northpole\.int" =666 These three thresholds can be set via the variables - , - and - . + , + and + . By default, - and - + and + are set to -1, which means that in the default threshold configuration no @@ -5187,9 +5206,9 @@ score " santaclaus@northpole\.int" =666 - -color index black yellow " 10-" -color index red yellow " 100-" + +color index black yellow "~n 10-" +color index red yellow "~n 100-" @@ -5207,14 +5226,14 @@ color index red yellow " 100-" - + Spam detection - Usage: pattern format + pattern format - Usage: pattern + pattern @@ -5229,7 +5248,7 @@ color index red yellow " 100-" mail based on its spam attributes, as determined by the external filter. You also can display the spam attributes in your index display using the %H selector in the - + variable. (Tip: try %?H?[%H] ? to display spam tags only when they are defined for a given message.) @@ -5269,11 +5288,11 @@ color index red yellow " 100-" For example, suppose I use DCC, SpamAssassin, and PureMessage. I might define these spam settings: - + spam "X-DCC-.*-Metrics:.*(....)=many" "90+/DCC-%1" spam "X-Spam-Status: Yes" "90+/SA" spam "X-PerlMX-Spam: .*Probability=([0-9]+)%" "%1/PM" -set spam_separator=", " +set spam_separator=", " @@ -5368,8 +5387,8 @@ set spam_separator=", " - -spam "^From: .*MAILER-DAEMON" "999" + +spam "^From: .*MAILER-DAEMON" "999" @@ -5379,20 +5398,20 @@ spam "^From: .*MAILER-DAEMON" "999" - + Setting variables - Usage: [no|inv]variable[=value] [variable...] + [no|inv]variable [=value] [variable...] - Usage: variable [variable...] + variable [variable ...] - Usage: variable [variable...] + variable [variable ...] - Usage: variable [variable...] + variable [variable ...] @@ -5474,8 +5493,8 @@ spam "^From: .*MAILER-DAEMON" "999" - -set ?allow_8bit + +set ?allow_8bit @@ -5505,11 +5524,11 @@ set ?allow_8bit - + Reading initialization commands from another file - Usage: filename [filename...] + filename [filename ...] @@ -5541,11 +5560,11 @@ set ?allow_8bit - + Removing hooks - Usage: [* | hook-type] + [* | hook-type] @@ -5585,8 +5604,8 @@ set ?allow_8bit - -set config_charset = "..." + +set config_charset = "..." @@ -5651,9 +5670,9 @@ set config_charset = "..." - + ifdef <item> <command> -ifndef <item> <command> +ifndef <item> <command> @@ -5714,10 +5733,10 @@ ifndef <item> <command> - + ifdef feature_imap 'source ~/.mutt-ng/setup-imap' ifdef feature_pop 'source ~/.mutt-ng/setup-pop' -ifdef feature_nntp 'source ~/.mutt-ng/setup-nntp' +ifdef feature_nntp 'source ~/.mutt-ng/setup-nntp' @@ -5734,29 +5753,29 @@ ifdef feature_nntp 'source ~/.mutt-ng/setup-nntp' An example for testing for variable names can be used if users use different revisions of mutt-ng whereby the older one may not have a certain variable. To test for the availability of - + use: - -ifdef imap_mail_check 'set imap_mail_check = 300' + +ifdef imap_mail_check 'set imap_mail_check = 300' Provided for completeness is the test for menu names. To set - + only if the pager menu is available, use: - -ifdef pager 'set pager_index_lines = 10' + +ifdef pager 'set pager_index_lines = 10' @@ -5770,9 +5789,9 @@ ifdef pager 'set pager_index_lines = 10' - + ifdef feature_ncurses 'source ~/.mutt-ng/setup-ncurses' -ifndef feature_ncurses 'source ~/.mutt-ng/setup-slang' +ifndef feature_ncurses 'source ~/.mutt-ng/setup-slang' @@ -5782,9 +5801,9 @@ ifndef feature_ncurses 'source ~/.mutt-ng/setup-slang' - + ifdef feature_slang 'source ~/.mutt-ng/setup-slang' -ifndef feature_slang 'source ~/.mutt-ng/setup-ncurses' +ifndef feature_slang 'source ~/.mutt-ng/setup-ncurses' @@ -6260,7 +6279,7 @@ ifndef feature_slang 'source ~/.mutt-ng/setup-ncurses' It must be noted that in this table, EXPR is a regular expression. For ranges, the forms - <[MAX], >>[MIN], + <[MAX], >>[MIN], [MIN]- and -[MAX] are also possible. @@ -6433,7 +6452,7 @@ ifndef feature_slang 'source ~/.mutt-ng/setup-ncurses' The setting for the status bar of the index is controlled via the - + variable. For the hostname and version string, there's an expando for $status_format: %h @@ -6445,8 +6464,8 @@ ifndef feature_slang 'source ~/.mutt-ng/setup-ncurses' - -set status_format = "%v on %h: ..." + +set status_format = "%v on %h: ..." @@ -6506,8 +6525,8 @@ Mutt-ng 1.5.9i on mailhost: ... - -set status_format = "%v on %h: %B: ... + +set status_format = "%v on %h: %B: ... @@ -6551,8 +6570,8 @@ Mutt-ng 1.5.9i on mailhost: Inbox: ... - -set status_format = "%v on %h: %B %?n?%n new? ... + +set status_format = "%v on %h: %B %?n?%n new? ... @@ -6567,7 +6586,7 @@ set status_format = "%v on %h: %B %?n?%n new? ... -%?<item>?<string if nonzero>? +%?<item>?<string if nonzero>? @@ -6593,7 +6612,7 @@ set status_format = "%v on %h: %B %?n?%n new? ... -%?<item>?<string if nonzero>&<string if zero>? +%?<item>?<string if nonzero>&<string if zero>? @@ -6633,8 +6652,8 @@ set status_format = "%v on %h: %B %?n?%n new? ... - -set status_format = "%v on %h: %B: %?n?%n new messages&no new messages? ... + +set status_format = "%v on %h: %B: %?n?%n new messages&no new messages? ... @@ -6645,8 +6664,8 @@ set status_format = "%v on %h: %B: %?n?%n new messages&no new messages? ...< - -set status_format = "%v on %h: %B: %?n?%n&no? new messages ... + +set status_format = "%v on %h: %B: %?n?%n&no? new messages ... @@ -6729,8 +6748,8 @@ set status_format = "%v on %h: %B: %?n?%n&no? new messages ... - -set status_format = "%v on %h: %B: %?n?%n&no? new messages %|-" + +set status_format = "%v on %h: %B: %?n?%n&no? new messages %|-" @@ -6755,8 +6774,8 @@ set status_format = "%v on %h: %B: %?n?%n&no? new messages %|-" - -set status_format = "%B: %?n?%n&no? new messages %> (%v on %h)" + +set status_format = "%B: %?n?%n&no? new messages %> (%v on %h)" @@ -6800,13 +6819,13 @@ set status_format = "%B: %?n?%n&no? new messages %> (%v on %h)" operation will be applied to all tagged messages if that operation can be used in that - manner. If the + manner. If the variable is set, the next operation applies to the tagged messages automatically, without requiring the ``tag-prefix''. - In or commands, + In or commands, you can use the ``tag-prefix-cond'' operator. If there are no tagged messages, mutt will "eat" the rest of the macro to abort it's execution.Mutt-ng will stop "eating" the macro when it encounters the @@ -6901,9 +6920,9 @@ set status_format = "%B: %?n?%n&no? new messages %> (%v on %h)" - + send-hook . 'unmy_hdr From:' -send-hook '^b@b\.b$' my_hdr from: c@c.c +send-hook '~C ^b@b\.b$' my-hdr from: c@c.c @@ -6936,8 +6955,8 @@ send-hook '^b@b\.b$' my_hdr from: c@c.c sending mail to a specific address, you could do something like: - -send-hook ' ^me@cs\.hmc\.edu$' 'my_hdr From: Mutt-ng User <user@host>' + +send-hook '~t ^me@cs\.hmc\.edu$' 'my-hdr From: Mutt-ng User <user@host>' which would execute the given command when sending mail to me@cs.hmc.edu. @@ -6980,37 +6999,37 @@ send-hook ' ^me@cs\.hmc\.edu$' 'my_hdr From: Mutt- and highlights the ones with new email Use the following configuration commands: - + set sidebar_visible="yes" -set sidebar_width=25 +set sidebar_width=25 If you want to specify the mailboxes you can do so with: - + set mbox='=INBOX' mailboxes INBOX \ MBOX1 \ MBOX2 \ -... +... You can also specify the colors for mailboxes with new mails by using: - + color sidebar_new red black -color sidebar white black +color sidebar white black Reasonable key bindings look e.g. like this: - + bind index \Cp sidebar-prev bind index \Cn sidebar-next bind index \Cb sidebar-open @@ -7019,7 +7038,7 @@ bind pager \Cn sidebar-next bind pager \Cb sidebar-open macro index B ':toggle sidebar_visible^M' -macro pager B ':toggle sidebar_visible^M' +macro pager B ':toggle sidebar_visible^M' @@ -7042,15 +7061,15 @@ macro pager B ':toggle sidebar_visible^M' LDAP, ph/qi, bbdb, or NIS through a wrapper script which connects to mutt using a simple interface. Using the - + variable, you specify the wrapper command to use. For example: - -set query_command = "mutt_ldap_query.pl '%s'" + +set query_command = "mutt_ldap_query.pl '%s'" @@ -7114,7 +7133,7 @@ roessler@guug.de Thomas Roessler mutt pgp mbox, MMDF, MH and Maildir. The mailbox type is autodetected, so there is no need to use a flag for different mailbox types. When creating newmailboxes, Mutt-ng uses the default specified with the - + variable. @@ -7127,8 +7146,8 @@ roessler@guug.de Thomas Roessler mutt pgp - -From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST + +From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST @@ -7204,20 +7223,20 @@ From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST - ! -- refers to your + ! -- refers to your (incoming) mailbox - > -- refers to your file + > -- refers to your file - < -- refers to your file + < -- refers to your file @@ -7241,7 +7260,7 @@ From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST - = or + -- refers to your + = or + -- refers to your directory @@ -7272,7 +7291,7 @@ From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST know what addresses you consider to be mailing lists (technically this does not have to be a mailing list, but that is what it is most often used for), and what lists you are subscribed to. This is - accomplished through the use of the + accomplished through the use of the commands in your muttrc. @@ -7283,7 +7302,7 @@ From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST the index menu display. This is useful to distinguish between personal and list mail in the same mailbox. In the - + variable, the escape ``%L'' will return the string ``To <list>'' when ``list'' appears in the ``To'' field, and ``Cc <list>'' when it appears in the ``Cc'' @@ -7306,7 +7325,7 @@ From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST Mutt-ng also supports the Mail-Followup-To header. When you send a message to a list of recipients which includes one or several - subscribed mailing lists, and if the + subscribed mailing lists, and if the option is set, mutt will generate a Mail-Followup-To header which contains all the recipients to whom you send this message, but not your address. This indicates that @@ -7320,7 +7339,7 @@ From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST Conversely, when group-replying or list-replying to a message which has a Mail-Followup-To header, mutt will respect this header if - the + the configuration variable is set. Using list-reply will in this case also make sure that the reply goes to the mailing list, even if it's not specified @@ -7340,7 +7359,7 @@ From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST than the author of the message. This can create problems when trying to reply directly to the author in private, since most mail clients will automatically reply to the address given in the ``Reply-To'' - field. Mutt-ng uses the + field. Mutt-ng uses the variable to help decide which address to use. If set to ask-yes @@ -7356,7 +7375,7 @@ From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST The ``X-Label:'' header field can be used to further identify mailing lists or list subject matter (or just to annotate messages - individually). The + individually). The variable's ``%y'' and ``%Y'' escapes can be used to expand ``X-Label:'' fields in the index, and Mutt-ng's pattern-matcher can match regular expressions to @@ -7491,7 +7510,7 @@ From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST - is used + is used to request receipts for different results (such as failed message,message delivered, etc.). @@ -7500,7 +7519,7 @@ From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST - requests + requests how much of your message should be returned with the receipt (headers or full message). @@ -7555,7 +7574,7 @@ From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST reason the frequency at which Mutt-ng will check for mail remotely can be controlled by the - + variable, which defaults to every 60 seconds. @@ -7576,7 +7595,7 @@ From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST (default: G). It allows to connect to pop-host ,fetch all your new mail and place it in the - local . After this + local . After this point, Mutt-ng runs exactly as if the mail had always been local. @@ -7664,7 +7683,7 @@ imap://imapserver:port/INBOX When browsing folders on an IMAP server, you can toggle whether to look at only the folders you are subscribed to, or all folders with the toggle-subscribed command. See also the - + variable. @@ -7672,9 +7691,9 @@ imap://imapserver:port/INBOX Polling for new mail on an IMAP server can cause noticeable delays. So, you'll want to carefully tune the - + and - + variables. @@ -7782,7 +7801,7 @@ imap://imapserver:port/INBOX - - controls + - controls the username under which you request authentication on the IMAP server, for all authenticators. This is overridden by an explicit @@ -7794,7 +7813,7 @@ imap://imapserver:port/INBOX - - a + - a password which you may preset, used by all authentication methods where a password is needed. @@ -7803,7 +7822,7 @@ imap://imapserver:port/INBOX - + - a colon-delimited list of IMAP authentication methods to try, in the order you wish to try them. If @@ -7832,7 +7851,7 @@ imap://imapserver:port/INBOX If compiled with ``--enable-nntp'' option, Mutt-ng can read news from a newsserver via NNTP. You can open a newsgroup with the ``change-newsgroup'' function from the index/pager which is by default - bound to i. + bound to i. @@ -7840,7 +7859,7 @@ imap://imapserver:port/INBOX environment variable. Like other news readers, info about subscribed newsgroups is saved in a file as specified by the - variable. + variable. Article headers are cached and can be loaded from a file when a newsgroup is entered instead loading from newsserver; currently, this caching mechanism still is different from the header caching for @@ -7871,8 +7890,8 @@ imap://imapserver:port/INBOX - -score =42 + +score ~* =42 @@ -7883,8 +7902,8 @@ score =42 - -score ! =42 + +score !~* =42 @@ -7952,24 +7971,24 @@ score ! =42 support includes support for Delivery Status Notification (see dsn section) as well as handling the 8BITMIME flag controlled via - . + . To enable sending mail directly via SMTP without an MTA such as - Postfix or SSMTP and the like, simply set the + Postfix or SSMTP and the like, simply set the variable pointing to your SMTP server. - Authentication mechanisms are available via the - and variables. + Authentication mechanisms are available via the + and variables. Transport Encryption via the StartTLS command is also available. For this to work, first of all Mutt-ng must be built with SSL or GNUTLS. - Secondly, the variable + Secondly, the variable must be either set to ``enabled'' or ``required.'' In both cases, StartTLS will be used if the server supports it: for the second case, the connection will fail @@ -7982,7 +8001,7 @@ score ! =42 sender, i.e. they allow for only one value which may not be what the user wants to send as the From: header. In this case, the variable - may be used + nvelope"/> may be used to set the envelope different from the From: header. @@ -8006,10 +8025,10 @@ score ! =42 - + account-hook . 'unset imap_user; unset imap_pass; unset tunnel' account-hook imap://host1/ 'set imap_user=me1 imap_pass=foo' -account-hook imap://host2/ 'set tunnel="ssh host2 /usr/libexec/imapd"' +account-hook imap://host2/ 'set tunnel="ssh host2 /usr/libexec/imapd"' @@ -8031,9 +8050,9 @@ account-hook imap://host2/ 'set tunnel="ssh host2 /usr/libexec/imapd"' retrieved at and the configuration commands: - + macro index \cb |urlview\n -macro pager \cb |urlview\n +macro pager \cb |urlview\n @@ -8083,10 +8102,10 @@ macro pager \cb |urlview\n - -open-hook \\.gz$ "gzip -cd %f > %t" -close-hook \\.gz$ "gzip -c %t > %f" -append-hook \\.gz$ "gzip -c %t >> %f" + +open-hook \\.gz$ "gzip -cd %f > %t" +close-hook \\.gz$ "gzip -c %t > %f" +append-hook \\.gz$ "gzip -c %t >> %f" @@ -8108,7 +8127,7 @@ append-hook \\.gz$ "gzip -c %t >> %f" use of programs that do not have well defined extensions. Just use "." as a regexp. But this may be surprising if your compressing script produces empty files. In this situation, unset - + ,so that the compressed file will be removed if you delete all of the messages. @@ -8154,9 +8173,8 @@ append-hook \\.gz$ "gzip -c %t >> %f" - -open-hook \\.gz$ "gzip -cd %f > %t" - + +open-hook \\.gz$ "gzip -cd %f > %t" @@ -8204,8 +8222,8 @@ open-hook \\.gz$ "gzip -cd %f > %t" - -close-hook \\.gz$ "gzip -c %t > %f" + +close-hook \\.gz$ "gzip -c %t > %f" @@ -8254,8 +8272,8 @@ close-hook \\.gz$ "gzip -c %t > %f" - -append-hook \\.gz$ "gzip -c %t >> %f" + +append-hook \\.gz$ "gzip -c %t >> %f" @@ -8263,7 +8281,7 @@ append-hook \\.gz$ "gzip -c %t >> %f" When is used, the folder is not opened, which saves time, but this means that we can not find out - what the folder type is. Thus the default ( + what the folder type is. Thus the default ( )type is always supposed (i.e. this is the format used for the temporary folder). @@ -8296,10 +8314,9 @@ append-hook \\.gz$ "gzip -c %t >> %f" - -open-hook \\.pgp$ "pgp -f < %f > %t" -close-hook \\.pgp$ "pgp -fe YourPgpUserIdOrKeyId < %t > %f" - + +open-hook \\.pgp$ "pgp -f < %f > %t" +close-hook \\.pgp$ "pgp -fe YourPgpUserIdOrKeyId < %t > %f" @@ -8447,8 +8464,8 @@ close-hook \\.pgp$ "pgp -fe YourPgpUserIdOrKeyId < %t > %f" Attachments appear as follows: -1 [text/plain, 7bit, 1K] /tmp/mutt-euler-8082-0 <no description> -2 [applica/x-gunzip, base64, 422K] ~/src/mutt-0.85.tar.gz <no description> +1 [text/plain, 7bit, 1K] /tmp/mutt-euler-8082-0 <no description> +2 [applica/x-gunzip, base64, 422K] ~/src/mutt-0.85.tar.gz <no description> @@ -8696,7 +8713,7 @@ text/*; more parameters in expansion of %s syntaxes properly, and avoids risky characters by - substituting them, see the + substituting them, see the variable. @@ -8784,13 +8801,13 @@ text/html; lynx -dump %s ; copiousoutput needsterminal - Mutt-ng uses this flag when viewing attachments with , + Mutt-ng uses this flag when viewing attachments with , in order to decide whether it should honor the setting - of the variable or + of the variable or not. When an attachment is viewed using an interactive program, and the corresponding mailcap entry has a needsterminal flag, Mutt-ng will use - and the exit + and the exit statusof the program to decide if it will ask you to press a key after the external program has exited. In all other situations it @@ -8938,7 +8955,7 @@ nametemplate=%s.gif - In addition, you can use this with + In addition, you can use this with to denote two commands for viewing an attachment, one to be viewed automatically, the other to be viewed interactively from the attachment @@ -8951,7 +8968,7 @@ text/html; netscape -remote 'openURL(%s)' ; test=RunningX text/html; lynx %s; nametemplate=%s.html text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput - For , Mutt-ng will choose + For , Mutt-ng will choose the third entry because of the copiousoutput tag. For interactive viewing, Mutt @@ -9019,8 +9036,8 @@ text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput instance, if Your mail message contains: - -Content-Type: text/plain; charset=iso-8859-1 + +Content-Type: text/plain; charset=iso-8859-1 then Mutt-ng will expand %{charset} to iso-8859-1. The default metamail @@ -9057,8 +9074,8 @@ Content-Type: text/plain; charset=iso-8859-1 > # I'm always running X :) -video/*; xanim %s > /dev/null -image/*; xv %s > /dev/null +video/*; xanim %s > /dev/null +image/*; xv %s > /dev/null # I'm always running netscape (if my computer had more memory, maybe) text/html; netscape -remote 'openURL(%s)' @@ -9074,7 +9091,7 @@ text/html; netscape -remote 'openURL(%s)' # Use xanim to view all videos Xanim produces a header on startup, # send that to /dev/null so I don't see it -video/*; xanim %s > /dev/null +video/*; xanim %s > /dev/null # Send html to a running netscape by remote text/html; netscape -remote 'openURL(%s)'; test=RunningNetscape @@ -9100,8 +9117,8 @@ image/jpeg;xv %s; x-mozilla-flags=internal image/*;xv %s; test=RunningX; edit=xpaint %s # Convert images to text using the netpbm tools -image/*; (anytopnm %s | pnmscale -xysize 80 46 | ppmtopgm | pgmtopbm | -pbmtoascii -1x2 ) 2>&1 ; copiousoutput +image/*; (anytopnm %s | pnmscale -xysize 80 46 | ppmtopgm | \ +pgmtopbm | pbmtoascii -1x2 ) 2>&1 ; copiousoutput # Send excel spreadsheets to my NT box application/ms-excel; open.pl %s @@ -9116,9 +9133,17 @@ application/ms-excel; open.pl %s - + MIME Autoview - + + + mime-type [mime-type ...] + + + + mime-type [mime-type ...] + + In addition to explicitly telling Mutt-ng to view an attachment with theMIME viewer defined in the mailcap file, Mutt-ng has support for @@ -9142,9 +9167,9 @@ application/ms-excel; open.pl %s For instance, if you set auto_view to: - + auto_view text/html application/x-gunzip application/postscript -image/gif application/x-tar-gz +image/gif application/x-tar-gz @@ -9175,9 +9200,17 @@ application/postscript; ps2ascii %s; copiousoutput - + MIME Multipart/Alternative + + + mime-type [mime-type ...] + + + mime-type [mime-type ...] + + Mutt-ng has some heuristics for determining which attachment of a multipart/alternative type to display. First, mutt will check the @@ -9186,16 +9219,16 @@ application/postscript; ps2ascii %s; copiousoutput number of MIME types in order, including support for implicit and explicit wildcards, for example: - - + + alternative_order text/enriched text/plain text -application/postscript image/* +application/postscript image/* Next, mutt will check if any of the types have a defined - , and use that. Failing + , and use that. Failing that, Mutt-ng will look for any text type. As a last attempt, mutt willlook for any type it knows how to handle. @@ -9210,10 +9243,147 @@ application/postscript image/* - - + + + Attachment Searching and Counting + + + If you ever lose track of attachments in your mailboxes, Mutt's + attachment-counting and -searching support might be for you. You + can make your message index display the number of qualifying + attachments in each message, or search for messages by + attachment count. You also can configure what kinds of + attachments qualify for this feature with the attachments and + unattachments commands. + + + +The syntax is: + + + + + ( {+|-}disposition mime-type | ? ) + + + + + {+|-}disposition mime-type + + + + +Disposition is the attachment's Content-disposition type -- either +"inline" or "attachment". You can abbreviate this to I or A. + + + +Disposition is prefixed by either a + symbolor a - symbol. If it's +a +, you're saying that you want to allow this disposition and MIME +type to qualify. If it's a -, you're saying that this disposition +and MIME type is an exception to previous + rules. There are examples +below of how this is useful. + + + +Mime-type is, unsurprisingly, the MIME type of the attachment you want +to affect. A MIME type is always of the format "major/minor", where +"major" describes the broad category of document you're looking at, and +"minor" describes the specific type within that category. The major +part of mim-type must be literal text (or the special token "*"), but +the minor part may be a regular expression. (Therefore, "*/.*" matches +any MIME type.) + + + +The MIME types you give to the attachments directive are a kind of +pattern. When you use the attachments directive, the patterns you +specify are added to a list. When you use unattachments, the pattern +is removed from the list. The patterns are not expanded and matched +to specific MIME types at this time -- they're just text in a list. +They're only matched when actually evaluating a message. + + + +Some examples might help to illustrate. The examples that are not +commented out define the default configuration of the lists. + + + +## Removing a pattern from a list removes that pattern literally. It +## does not remove any type matching the pattern. +## +## attachments +A */.* +## attachments +A image/jpeg +## unattachments +A */.* +## +## This leaves "attached" image/jpeg files on the allowed attachments +## list. It does not remove all items, as you might expect, because the +## second */.* is not a matching expression at this time. +## +## Remember: "unattachments" only undoes what "attachments" has done! +## It does not trigger any matching on actual messages. + + +## Qualify any MIME part with an "attachment" disposition, EXCEPT for +## text/x-vcard and application/pgp parts. (PGP parts are already known +## to mutt, and can be searched for with ~g, ~G, and ~k.) +## +## I've added x-pkcs7 to this, since it functions (for S/MIME) +## analogously to PGP signature attachments. S/MIME isn't supported +## in a stock mutt build, but we can still treat it specially here. +## +attachments +A */.* +attachments -A text/x-vcard application/pgp.* +attachments -A application/x-pkcs7-.* + +## Discount all MIME parts with an "inline" disposition, unless they're +## text/plain. (Why inline a text/plain part unless it's external to the +## message flow?) +## +attachments +I text/plain + +## These two lines make Mutt qualify MIME containers. (So, for example, +## a message/rfc822 forward will count as an attachment.) The first +## line is unnecessary if you already have "attach-allow */.*", of +## course. These are off by default! The MIME elements contained +## within a message/* or multipart/* are still examined, even if the +## containers themseves don't qualify. +## +#attachments +A message/.* multipart/.* +#attachments +I message/.* multipart/.* + +## You probably don't really care to know about deleted attachments. +attachments -A message/external-body +attachments -I message/external-body + + + +"attachments ?" will list your current settings in Muttrc format, so +that it can be pasted elsewhere. + + + + Please note that counting attachments may require lots of data be + loaded. This may cause noticeable slowdowns over network links + depending on the connection speed and message sizes. To fine-tune the + behavior on a per-folder or other basis, the variable may be used. + + + + + MIME Lookup - + + + mime-type [mime-type ...] + + + + mime-type [mime-type ...] + + Mutt-ng's mime_lookup list specifies a list of mime-types that should not @@ -9230,8 +9400,8 @@ application/postscript image/* configuration options (such as auto_view) specified. Common usage would be: - -mime_lookup application/octet-stream application/X-Lotus-Manuscript + +mime_lookup application/octet-stream application/X-Lotus-Manuscript @@ -9303,11 +9473,11 @@ mime_lookup application/octet-stream application/X-Lotus-Manuscript Mutt-ng uses many temporary files for viewing messages, verifying - digital signatures, etc. The + digital signatures, etc. The variable can be used to change the default permissions of these files. Please only change it if you really know what you are doing. Also, a different location for these files may be desired which can - be changed via the variable. + be changed via the variable. @@ -9327,7 +9497,7 @@ mime_lookup application/octet-stream application/X-Lotus-Manuscript information probably telling others how many mail you sent in which time, you at least need to remove the %P expando from the - default setting of the variable. Please make sure that + default setting of the variable. Please make sure that you really know how local parts of these Message-ID: headers are composed. @@ -9344,7 +9514,7 @@ mime_lookup application/octet-stream application/X-Lotus-Manuscript will be strict in interpreting them which means that arbitrary header fields can be embedded in these links which could override existing header fields or attach arbitrary files. This may be - problematic if the + problematic if the variable is unset, i.e. the user doesn't want to see header fields while editing the message. @@ -9367,7 +9537,7 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg - When unsetting the + When unsetting the variable, mutt-ng will @@ -9387,7 +9557,7 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg - turn on the + turn on the variable by force to let the user see all the headers (because they still may leak information.) @@ -9420,7 +9590,7 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg by . Mutt-ng can be set up to automatically execute any given utility as listed in one of the mailcap files (see the - + variable for details.) @@ -9464,7 +9634,7 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg - leave the variable in its default + leave the variable in its default state to restrict mailcap expandos to a safe set of characters @@ -9518,7 +9688,7 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg -
+
Reference: Command Line Options @@ -9686,7 +9856,7 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg -
+
Reference: Patterns @@ -9892,6 +10062,11 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpgEXPRmessages which contain EXPR in the `References' field + + + [MIN]-[MAX] + messages with MIN to MAX attachments *) + EXPR @@ -9962,37 +10137,37 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg - key address [, address, ... ] + key address [, address, ... ] - [ * | key ... ] + [ * | key ... ] - regexp [ regexp ... ] + regexp [ regexp ... ] - [ * | regexp ... ] + [ * | regexp ... ] - mimetype [ mimetype ... ] + mimetype [ mimetype ... ] - mimetype [ mimetype ... ] + mimetype [ mimetype ... ] @@ -10004,19 +10179,19 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg - mimetype [ mimetype ... ] + mimetype [ mimetype ... ] - mimetype [ mimetype ... ] + mimetype [ mimetype ... ] - map key function + map key function @@ -10034,19 +10209,19 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg - object foreground background [ regexp ] + object foreground background [ regexp ] - index pattern [ pattern ... ] + index pattern [ pattern ... ] - function [ function ... ] + function [ function ... ] @@ -10070,13 +10245,13 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg - header [ header ... ] + header [ header ... ] - header [ header ... ] + header [ header ... ] @@ -10088,37 +10263,37 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg - pattern [ pattern ... ] + pattern [ pattern ... ] - pattern [ pattern ... ] + pattern [ pattern ... ] - regexp [ regexp ... ] + regexp [ regexp ... ] - regexp [ regexp ... ] + regexp [ regexp ... ] - menu key sequence [ description ] + menu key sequence [ description ] - filename [ filename ... ] + filename [ filename ... ] @@ -10136,38 +10311,38 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg - mimetype [ mimetype ... ] + mimetype [ mimetype ... ] - mimetype [ mimetype ... ] + mimetype [ mimetype ... ] - object attribute [ regexp ] + object attribute [ regexp ] - index pattern [ pattern ... ] + index pattern [ pattern ... ] - string + string - field [ field ... ] + field [ field ... ] @@ -10185,13 +10360,13 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg - string + string - variable [ variable ... ] + variable [ variable ... ] @@ -10203,13 +10378,13 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg - pattern value + pattern value - pattern [ pattern ... ] + pattern [ pattern ... ] @@ -10227,55 +10402,55 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg - [no|inv]variable[ =value ] [ variable ... ] + [no|inv]variable[ =value ] [ variable ... ] - variable [ variable ... ] + variable [ variable ... ] - filename + filename - pattern format + pattern format - pattern + pattern - regexp [ regexp ... ] + regexp [ regexp ... ] - regexp [ regexp ... ] + regexp [ regexp ... ] - variable [ variable ... ] + variable [ variable ... ] - hook-type + hook-type @@ -10298,7 +10473,7 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg -
+
Reference: Obsolete Variables @@ -10310,167 +10485,171 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg edit_hdrs - + forw_decode - + forw_format - + forw_quote - + hdr_format - + indent_str - + mime_fwd - + msg_format - + pgp_autosign - + pgp_autoencrypt - + pgp_replyencrypt - + pgp_replysign - + pgp_replysignencrypted - + pgp_verify_sig - + pgp_create_traditional - + pgp_auto_traditional - + forw_decrypt - + smime_sign_as - + post_indent_str - + print_cmd - + shorten_hierarchy - + ask_followup_to - + ask_x_comment_to - + catchup_newsgroup - + followup_to_poster - + group_index_format - + inews - + mime_subject - + news_cache_dir - + news_server - + newsrc - + nntp_poll - + pop_checkinterval - + post_moderated - + save_unsubscribed - + show_new_news - + show_only_unread - + x_comment_to - + smtp_auth_username - + smtp_auth_password - + + + + envelope_from_address + user_agent - +