📄 init.h
字号:
** .pp ** This variable controls the format of the one-line message ``status'' ** displayed before each message in either the internal or an external ** pager. The valid sequences are listed in the ``$$index_format'' ** section. */ { "pager_index_lines",DT_NUM, R_PAGER, UL &PagerIndexLines, 0 }, /* ** .pp ** Determines the number of lines of a mini-index which is shown when in ** the pager. The current message, unless near the top or bottom of the ** folder, will be roughly one third of the way down this mini-index, ** giving the reader the context of a few messages before and after the ** message. This is useful, for example, to determine how many messages ** remain to be read in the current thread. One of the lines is reserved ** for the status bar from the index, so a \fIpager_index_lines\fP of 6 ** will only show 5 lines of the actual index. A value of 0 results in ** no index being shown. If the number of messages in the current folder ** is less than \fIpager_index_lines\fP, then the index will only use as ** many lines as it needs. */ { "pager_stop", DT_BOOL, R_NONE, OPTPAGERSTOP, 0 }, /* ** .pp ** When set, the internal-pager will \fBnot\fP move to the next message ** when you are at the end of a message and invoke the \fInext-page\fP ** function. */ { "pgp_autosign", DT_SYN, R_NONE, UL "crypt_autosign", 0 }, { "crypt_autosign", DT_BOOL, R_NONE, OPTCRYPTAUTOSIGN, 0 }, /* ** .pp ** Setting this variable will cause Mutt to always attempt to ** cryptographically sign outgoing messages. This can be overridden ** by use of the \fIpgp-menu\fP, when signing is not required or ** encryption is requested as well. If ``$$smime_is_default'' is set, ** then OpenSSL is used instead to create S/MIME messages and settings can ** be overridden by use of the \fIsmime-menu\fP. ** (Crypto only) */ { "pgp_autoencrypt", DT_SYN, R_NONE, UL "crypt_autoencrypt", 0 }, { "crypt_autoencrypt", DT_BOOL, R_NONE, OPTCRYPTAUTOENCRYPT, 0 }, /* ** .pp ** Setting this variable will cause Mutt to always attempt to PGP ** encrypt outgoing messages. This is probably only useful in ** connection to the \fIsend-hook\fP command. It can be overridden ** by use of the \fIpgp-menu\fP, when encryption is not required or ** signing is requested as well. IF ``$$smime_is_default'' is set, ** then OpenSSL is used instead to create S/MIME messages and ** settings can be overridden by use of the \fIsmime-menu\fP. ** (Crypto only) */ { "pgp_ignore_subkeys", DT_BOOL, R_NONE, OPTPGPIGNORESUB, 1}, /* ** .pp ** Setting this variable will cause Mutt to ignore OpenPGP subkeys. Instead, ** the principal key will inherit the subkeys' capabilities. Unset this ** if you want to play interesting key selection games. ** (PGP only) */ { "pgp_replyencrypt", DT_SYN, R_NONE, UL "crypt_replyencrypt", 1 }, { "crypt_replyencrypt", DT_BOOL, R_NONE, OPTCRYPTREPLYENCRYPT, 1 }, /* ** .pp ** If set, automatically PGP or OpenSSL encrypt replies to messages which are ** encrypted. ** (Crypto only) */ { "pgp_replysign", DT_SYN, R_NONE, UL "crypt_replysign", 0 }, { "crypt_replysign", DT_BOOL, R_NONE, OPTCRYPTREPLYSIGN, 0 }, /* ** .pp ** If set, automatically PGP or OpenSSL sign replies to messages which are ** signed. ** .pp ** \fBNote:\fP this does not work on messages that are encrypted ** \fBand\fP signed! ** (Crypto only) */ { "pgp_replysignencrypted", DT_SYN, R_NONE, UL "crypt_replysignencrypted", 0}, { "crypt_replysignencrypted", DT_BOOL, R_NONE, OPTCRYPTREPLYSIGNENCRYPTED, 0 }, /* ** .pp ** If set, automatically PGP or OpenSSL sign replies to messages ** which are encrypted. This makes sense in combination with ** ``$$crypt_replyencrypt'', because it allows you to sign all ** messages which are automatically encrypted. This works around ** the problem noted in ``$$crypt_replysign'', that mutt is not able ** to find out whether an encrypted message is also signed. ** (Crypto only) */ { "crypt_timestamp", DT_BOOL, R_NONE, OPTCRYPTTIMESTAMP, 1 }, /* ** .pp ** If set, mutt will include a time stamp in the lines surrounding ** PGP or S/MIME output, so spoofing such lines is more difficult. ** If you are using colors to mark these lines, and rely on these, ** you may unset this setting. ** (Crypto only) */ { "pgp_use_gpg_agent", DT_BOOL, R_NONE, OPTUSEGPGAGENT, 0}, /* ** .pp ** If set, mutt will use a possibly-running gpg-agent process. ** (PGP only) */ { "pgp_verify_sig", DT_SYN, R_NONE, UL "crypt_verify_sig", 0}, { "crypt_verify_sig", DT_QUAD, R_NONE, OPT_VERIFYSIG, M_YES }, /* ** .pp ** If ``yes'', always attempt to verify PGP or S/MIME signatures. ** If ``ask'', ask whether or not to verify the signature. ** If ``no'', never attempt to verify cryptographic signatures. ** (Crypto only) */ { "smime_is_default", DT_BOOL, R_NONE, OPTSMIMEISDEFAULT, 0}, /* ** .pp ** The default behaviour of mutt is to use PGP on all auto-sign/encryption ** operations. To override and to use OpenSSL instead this must be set. ** However, this has no effect while replying, since mutt will automatically ** select the same application that was used to sign/encrypt the original ** message. (Note that this variable can be overridden by unsetting $$crypt_autosmime.) ** (S/MIME only) */ { "smime_ask_cert_label", DT_BOOL, R_NONE, OPTASKCERTLABEL, 1 }, /* ** .pp ** This flag controls whether you want to be asked to enter a label ** for a certificate about to be added to the database or not. It is ** set by default. ** (S/MIME only) */ { "smime_decrypt_use_default_key", DT_BOOL, R_NONE, OPTSDEFAULTDECRYPTKEY, 1 }, /* ** .pp ** If set (default) this tells mutt to use the default key for decryption. Otherwise, ** if manage multiple certificate-key-pairs, mutt will try to use the mailbox-address ** to determine the key to use. It will ask you to supply a key, if it can't find one. ** (S/MIME only) */ { "pgp_entry_format", DT_STR, R_NONE, UL &PgpEntryFormat, UL "%4n %t%f %4l/0x%k %-4a %2c %u" }, /* ** .pp ** This variable allows you to customize the PGP key selection menu to ** your personal taste. This string is similar to ``$$index_format'', but ** has its own set of printf()-like sequences: ** .pp ** .dl ** .dt %n .dd number ** .dt %k .dd key id ** .dt %u .dd user id ** .dt %a .dd algorithm ** .dt %l .dd key length ** .dt %f .dd flags ** .dt %c .dd capabilities ** .dt %t .dd trust/validity of the key-uid association ** .dt %[<s>] .dd date of the key where <s> is an strftime(3) expression ** .de ** .pp ** (PGP only) */ { "pgp_good_sign", DT_RX, R_NONE, UL &PgpGoodSign, 0 }, /* ** .pp ** If you assign a text to this variable, then a PGP signature is only ** considered verified if the output from $$pgp_verify_command contains ** the text. Use this variable if the exit code from the command is 0 ** even for bad signatures. ** (PGP only) */ { "pgp_check_exit", DT_BOOL, R_NONE, OPTPGPCHECKEXIT, 1 }, /* ** .pp ** If set, mutt will check the exit code of the PGP subprocess when ** signing or encrypting. A non-zero exit code means that the ** subprocess failed. ** (PGP only) */ { "pgp_long_ids", DT_BOOL, R_NONE, OPTPGPLONGIDS, 0 }, /* ** .pp ** If set, use 64 bit PGP key IDs. Unset uses the normal 32 bit Key IDs. ** (PGP only) */ { "pgp_retainable_sigs", DT_BOOL, R_NONE, OPTPGPRETAINABLESIG, 0 }, /* ** .pp ** If set, signed and encrypted messages will consist of nested ** multipart/signed and multipart/encrypted body parts. ** .pp ** This is useful for applications like encrypted and signed mailing ** lists, where the outer layer (multipart/encrypted) can be easily ** removed, while the inner multipart/signed part is retained. ** (PGP only) */ { "pgp_create_traditional", DT_SYN, R_NONE, UL "pgp_autoinline", 0 }, { "pgp_autoinline", DT_BOOL, R_NONE, OPTPGPAUTOINLINE, 0 }, /* ** .pp ** This option controls whether Mutt generates old-style inline ** (traditional) PGP encrypted or signed messages under certain ** circumstances. This can be overridden by use of the \fIpgp-menu\fP, ** when inline is not required. ** .pp ** Note that Mutt might automatically use PGP/MIME for messages ** which consist of more than a single MIME part. Mutt can be ** configured to ask before sending PGP/MIME messages when inline ** (traditional) would not work. ** See also: ``$$pgp_mime_auto''. ** .pp ** Also note that using the old-style PGP message format is \fBstrongly\fP ** \fBdeprecated\fP. ** (PGP only) */ { "pgp_auto_traditional", DT_SYN, R_NONE, UL "pgp_replyinline", 0 }, { "pgp_replyinline", DT_BOOL, R_NONE, OPTPGPREPLYINLINE, 0 }, /* ** .pp ** Setting this variable will cause Mutt to always attempt to ** create an inline (traditional) message when replying to a ** message which is PGP encrypted/signed inline. This can be ** overridden by use of the \fIpgp-menu\fP, when inline is not ** required. This option does not automatically detect if the ** (replied-to) message is inline; instead it relies on Mutt ** internals for previously checked/flagged messages. ** .pp ** Note that Mutt might automatically use PGP/MIME for messages ** which consist of more than a single MIME part. Mutt can be ** configured to ask before sending PGP/MIME messages when inline ** (traditional) would not work. ** See also: ``$$pgp_mime_auto''. ** .pp ** Also note that using the old-style PGP message format is \fBstrongly\fP ** \fBdeprecated\fP. ** (PGP only) ** */ { "pgp_show_unusable", DT_BOOL, R_NONE, OPTPGPSHOWUNUSABLE, 1 }, /* ** .pp ** If set, mutt will display non-usable keys on the PGP key selection ** menu. This includes keys which have been revoked, have expired, or ** have been marked as ``disabled'' by the user. ** (PGP only) */ { "pgp_sign_as", DT_STR, R_NONE, UL &PgpSignAs, 0 }, /* ** .pp ** If you have more than one key pair, this option allows you to specify ** which of your private keys to use. It is recommended that you use the ** keyid form to specify your key (e.g., ``0x00112233''). ** (PGP only) */ { "pgp_strict_enc", DT_BOOL, R_NONE, OPTPGPSTRICTENC, 1 }, /* ** .pp ** If set, Mutt will automatically encode PGP/MIME signed messages as ** \fIquoted-printable\fP. Please note that unsetting this variable may ** lead to problems with non-verifyable PGP signatures, so only change ** this if you know what you are doing. ** (PGP only) */ { "pgp_timeout", DT_NUM, R_NONE, UL &PgpTimeout, 300 }, /* ** .pp ** The number of seconds after which a cached passphrase will expire if ** not used. ** (PGP only) */ { "pgp_sort_keys", DT_SORT|DT_SORT_KEYS, R_NONE, UL &PgpSortKeys, SORT_ADDRESS }, /* ** .pp ** Specifies how the entries in the `pgp keys' menu are sorted. The ** following are legal values: ** .pp ** .dl ** .dt address .dd sort alphabetically by user id ** .dt keyid .dd sort alphabetically by key id ** .dt date .dd sort by key creation date ** .dt trust .dd sort by the trust of the key ** .de ** .pp ** If you prefer reverse order of the above values, prefix it with ** `reverse-'. ** (PGP only) */ { "pgp_mime_auto", DT_QUAD, R_NONE, OPT_PGPMIMEAUTO, M_ASKYES }, /* ** .pp ** This option controls whether Mutt will prompt you for ** automatically sending a (signed/encrypted) message using ** PGP/MIME when inline (traditional) fails (for any reason). ** .pp ** Also note that using the old-style PGP message format is \fBstrongly\fP ** \fBdeprecated\fP. ** (PGP only) */ { "pgp_auto_decode", DT_BOOL, R_NONE, OPTPGPAUTODEC, 0 }, /* ** .pp ** If set, mutt will automatically attempt to decrypt traditional PGP ** messages whenever the user performs an operation which ordinarily would ** result in the contents of the message being operated on. For example, ** if the user displays a pgp-traditional message which has not been manually ** checked with the check-traditional-pgp function, mutt will automatically ** check the message for traditional pgp. */ /* XXX Default values! */ { "pgp_decode_command", DT_STR, R_NONE, UL &PgpDecodeCommand, 0}, /* ** .pp ** This format strings specifies a command which is used to decode ** application/pgp attachments. ** .pp ** The PGP command formats have their own set of printf-like sequences: ** .pp ** .dl ** .dt %p .dd Expands to PGPPASSFD=0 when a pass phrase is needed, to an empty ** string otherwise. Note: This may be used with a %? construct. ** .dt %f .dd Expands to the name of a file containing a message. ** .dt %s .dd Expands to the name of a file containing the signature part ** . of a multipart/signed attachment when verifying it. ** .dt %a .dd The value of $$pgp_sign_as. ** .dt %r .dd One or more key IDs. ** .de ** .pp ** For examples on how t
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -