📄 init.h
字号:
** .dt %S .dd status of the message (N/D/d/!/r/\(as) ** .dt %t .dd `to:' field (recipients) ** .dt %T .dd the appropriate character from the $$to_chars string ** .dt %u .dd user (login) name of the author ** .dt %v .dd first name of the author, or the recipient if the message is from you ** .dt %X .dd number of attachments ** (please see the ``$attachments'' section for possible speed effects) ** .dt %y .dd `x-label:' field, if present ** .dt %Y .dd `x-label' field, if present, and (1) not at part of a thread tree, ** (2) at the top of a thread, or (3) `x-label' is different from ** preceding message's `x-label'. ** .dt %Z .dd message status flags ** .dt %{fmt} .dd the date and time of the message is converted to sender's ** time zone, and ``fmt'' is expanded by the library function ** ``strftime''; a leading bang disables locales ** .dt %[fmt] .dd the date and time of the message is converted to the local ** time zone, and ``fmt'' is expanded by the library function ** ``strftime''; a leading bang disables locales ** .dt %(fmt) .dd the local date and time when the message was received. ** ``fmt'' is expanded by the library function ``strftime''; ** a leading bang disables locales ** .dt %<fmt> .dd the current local time. ``fmt'' is expanded by the library ** function ``strftime''; a leading bang disables locales. ** .dt %>X .dd right justify the rest of the string and pad with character "X" ** .dt %|X .dd pad to the end of the line with character "X" ** .de ** .pp ** See also: ``$$to_chars''. */ { "ispell", DT_PATH, R_NONE, UL &Ispell, UL ISPELL }, /* ** .pp ** How to invoke ispell (GNU's spell-checking software). */ { "keep_flagged", DT_BOOL, R_NONE, OPTKEEPFLAGGED, 0 }, /* ** .pp ** If set, read messages marked as flagged will not be moved ** from your spool mailbox to your ``$$mbox'' mailbox, or as a result of ** a ``$mbox-hook'' command. */ { "locale", DT_STR, R_BOTH, UL &Locale, UL "C" }, /* ** .pp ** The locale used by \fIstrftime(3)\fP to format dates. Legal values are ** the strings your system accepts for the locale variable \fILC_TIME\fP. */ { "mail_check", DT_NUM, R_NONE, UL &BuffyTimeout, 5 }, /* ** .pp ** This variable configures how often (in seconds) mutt should look for ** new mail. */ { "mailcap_path", DT_STR, R_NONE, UL &MailcapPath, 0 }, /* ** .pp ** This variable specifies which files to consult when attempting to ** display MIME bodies not directly supported by Mutt. */ { "mailcap_sanitize", DT_BOOL, R_NONE, OPTMAILCAPSANITIZE, 1 }, /* ** .pp ** If set, mutt will restrict possible characters in mailcap % expandos ** to a well-defined set of safe characters. This is the safe setting, ** but we are not sure it doesn't break some more advanced MIME stuff. ** .pp ** \fBDON'T CHANGE THIS SETTING UNLESS YOU ARE REALLY SURE WHAT YOU ARE ** DOING!\fP */#ifdef USE_HCACHE { "header_cache", DT_PATH, R_NONE, UL &HeaderCache, 0 }, /* ** .pp ** The header_cache variable points to the header cache database. ** If header_cache points to a directory it will contain a header cache ** database per folder. If header_cache points to a file that file will ** be a single global header cache. By default it is unset so no header ** caching will be used. */ { "maildir_header_cache_verify", DT_BOOL, R_NONE, OPTHCACHEVERIFY, 1 }, /* ** .pp ** Check for Maildir unaware programs other than mutt having modified maildir ** files when the header cache is in use. This incurs one stat(2) per ** message every time the folder is opened. */#if HAVE_GDBM || HAVE_DB4 { "header_cache_pagesize", DT_STR, R_NONE, UL &HeaderCachePageSize, UL "16384" }, /* ** .pp ** Change the header cache database page size. Too large or too small ** values can waste space, memory, or CPU time. The default should be more ** or less the best you can get. For details, google for mutt header ** cache (first hit). */#endif /* HAVE_GDBM || HAVE_DB4 */#if HAVE_QDBM { "header_cache_compress", DT_BOOL, R_NONE, OPTHCACHECOMPRESS, 0 }, /* ** .pp ** If enabled the header cache will be compressed. So only one fifth of the usual ** diskspace is used, but the uncompression can result in a slower open of the ** cached folder. */#endif /* HAVE_QDBM */#endif /* USE_HCACHE */ { "maildir_trash", DT_BOOL, R_NONE, OPTMAILDIRTRASH, 0 }, /* ** .pp ** If set, messages marked as deleted will be saved with the maildir ** (T)rashed flag instead of unlinked. \fBNOTE:\fP this only applies ** to maildir-style mailboxes. Setting it will have no effect on other ** mailbox types. */ { "mark_old", DT_BOOL, R_BOTH, OPTMARKOLD, 1 }, /* ** .pp ** Controls whether or not mutt marks \fInew\fP \fBunread\fP ** messages as \fIold\fP if you exit a mailbox without reading them. ** With this option set, the next time you start mutt, the messages ** will show up with an "O" next to them in the index menu, ** indicating that they are old. */ { "markers", DT_BOOL, R_PAGER, OPTMARKERS, 1 }, /* ** .pp ** Controls the display of wrapped lines in the internal pager. If set, a ** ``+'' marker is displayed at the beginning of wrapped lines. Also see ** the ``$$smart_wrap'' variable. */ { "mask", DT_RX, R_NONE, UL &Mask, UL "!^\\.[^.]" }, /* ** .pp ** A regular expression used in the file browser, optionally preceded by ** the \fInot\fP operator ``!''. Only files whose names match this mask ** will be shown. The match is always case-sensitive. */ { "mbox", DT_PATH, R_BOTH, UL &Inbox, UL "~/mbox" }, /* ** .pp ** This specifies the folder into which read mail in your ``$$spoolfile'' ** folder will be appended. */ { "mbox_type", DT_MAGIC,R_NONE, UL &DefaultMagic, M_MBOX }, /* ** .pp ** The default mailbox type used when creating new folders. May be any of ** mbox, MMDF, MH and Maildir. */ { "metoo", DT_BOOL, R_NONE, OPTMETOO, 0 }, /* ** .pp ** If unset, Mutt will remove your address (see the ``alternates'' ** command) from the list of recipients when replying to a message. */ { "menu_context", DT_NUM, R_NONE, UL &MenuContext, 0 }, /* ** .pp ** This variable controls the number of lines of context that are given ** when scrolling through menus. (Similar to ``$$pager_context''.) */ { "menu_move_off", DT_BOOL, R_NONE, OPTMENUMOVEOFF, 1 }, /* ** .pp ** When \fIunset\fP, the bottom entry of menus will never scroll up past ** the bottom of the screen, unless there are less entries than lines. ** When \fIset\fP, the bottom entry may move off the bottom. */ { "menu_scroll", DT_BOOL, R_NONE, OPTMENUSCROLL, 0 }, /* ** .pp ** When \fIset\fP, menus will be scrolled up or down one line when you ** attempt to move across a screen boundary. If \fIunset\fP, the screen ** is cleared and the next or previous page of the menu is displayed ** (useful for slow links to avoid many redraws). */ { "meta_key", DT_BOOL, R_NONE, OPTMETAKEY, 0 }, /* ** .pp ** If set, forces Mutt to interpret keystrokes with the high bit (bit 8) ** set as if the user had pressed the ESC key and whatever key remains ** after having the high bit removed. For example, if the key pressed ** has an ASCII value of 0xf8, then this is treated as if the user had ** pressed ESC then ``x''. This is because the result of removing the ** high bit from ``0xf8'' is ``0x78'', which is the ASCII character ** ``x''. */ { "mh_purge", DT_BOOL, R_NONE, OPTMHPURGE, 0 }, /* ** .pp ** When unset, mutt will mimic mh's behaviour and rename deleted messages ** to \fI,<old file name>\fP in mh folders instead of really deleting ** them. If the variable is set, the message files will simply be ** deleted. */ { "mh_seq_flagged", DT_STR, R_NONE, UL &MhFlagged, UL "flagged" }, /* ** .pp ** The name of the MH sequence used for flagged messages. */ { "mh_seq_replied", DT_STR, R_NONE, UL &MhReplied, UL "replied" }, /* ** .pp ** The name of the MH sequence used to tag replied messages. */ { "mh_seq_unseen", DT_STR, R_NONE, UL &MhUnseen, UL "unseen" }, /* ** .pp ** The name of the MH sequence used for unseen messages. */ { "mime_forward", DT_QUAD, R_NONE, OPT_MIMEFWD, M_NO }, /* ** .pp ** When set, the message you are forwarding will be attached as a ** separate MIME part instead of included in the main body of the ** message. This is useful for forwarding MIME messages so the receiver ** can properly view the message as it was delivered to you. If you like ** to switch between MIME and not MIME from mail to mail, set this ** variable to ask-no or ask-yes. ** .pp ** Also see ``$$forward_decode'' and ``$$mime_forward_decode''. */ { "mime_forward_decode", DT_BOOL, R_NONE, OPTMIMEFORWDECODE, 0 }, /* ** .pp ** Controls the decoding of complex MIME messages into text/plain when ** forwarding a message while ``$$mime_forward'' is \fIset\fP. Otherwise ** ``$$forward_decode'' is used instead. */ { "mime_fwd", DT_SYN, R_NONE, UL "mime_forward", 0 }, /* */ { "mime_forward_rest", DT_QUAD, R_NONE, OPT_MIMEFWDREST, M_YES }, /* ** .pp ** When forwarding multiple attachments of a MIME message from the recvattach ** menu, attachments which cannot be decoded in a reasonable manner will ** be attached to the newly composed message if this option is set. */#ifdef MIXMASTER { "mix_entry_format", DT_STR, R_NONE, UL &MixEntryFormat, UL "%4n %c %-16s %a" }, /* ** .pp ** This variable describes the format of a remailer line on the mixmaster ** chain selection screen. The following printf-like sequences are ** supported: ** .pp ** .dl ** .dt %n .dd The running number on the menu. ** .dt %c .dd Remailer capabilities. ** .dt %s .dd The remailer's short name. ** .dt %a .dd The remailer's e-mail address. ** .de */ { "mixmaster", DT_PATH, R_NONE, UL &Mixmaster, UL MIXMASTER }, /* ** .pp ** This variable contains the path to the Mixmaster binary on your ** system. It is used with various sets of parameters to gather the ** list of known remailers, and to finally send a message through the ** mixmaster chain. */#endif { "move", DT_QUAD, R_NONE, OPT_MOVE, M_ASKNO }, /* ** .pp ** Controls whether or not Mutt will move read messages ** from your spool mailbox to your ``$$mbox'' mailbox, or as a result of ** a ``$mbox-hook'' command. */#if defined(USE_IMAP) || defined(USE_POP) { "message_cachedir", DT_PATH, R_NONE, UL &MessageCachedir, 0 }, /* ** .pp ** Set this to a directory and mutt will cache copies of messages from ** your IMAP and POP servers here. You are free to remove entries at any ** time, for instance if stale entries accumulate because you have ** deleted messages with another mail client. */#endif { "message_format", DT_STR, R_NONE, UL &MsgFmt, UL "%s" }, /* ** .pp ** This is the string displayed in the ``attachment'' menu for ** attachments of type message/rfc822. For a full listing of defined ** printf()-like sequences see the section on ``$$index_format''. */ { "msg_format", DT_SYN, R_NONE, UL "message_format", 0 }, /* */ { "narrow_tree", DT_BOOL, R_TREE|R_INDEX, OPTNARROWTREE, 0 }, /* ** .pp ** This variable, when set, makes the thread tree narrower, allowing ** deeper threads to fit on the screen. */#ifdef USE_SOCKET { "net_inc", DT_NUM, R_NONE, UL &NetInc, 10 }, /* ** .pp ** Operations that expect to transfer a large amount of data over the ** network will update their progress every \fInet_inc\fP kilobytes. ** If set to 0, no progress messages will be displayed. ** .pp ** See also ``$$read_inc'' and ``$$write_inc''. */#endif { "pager", DT_PATH, R_NONE, UL &Pager, UL "builtin" }, /* ** .pp ** This variable specifies which pager you would like to use to view ** messages. builtin means to use the builtin pager, otherwise this ** variable should specify the pathname of the external pager you would ** like to use. ** .pp ** Using an external pager may have some disadvantages: Additional ** keystrokes are necessary because you can't call mutt functions ** directly from the pager, and screen resizes cause lines longer than ** the screen width to be badly formatted in the help menu. */ { "pager_context", DT_NUM, R_NONE, UL &PagerContext, 0 }, /* ** .pp ** This variable controls the number of lines of context that are given ** when displaying the next or previous page in the internal pager. By ** default, Mutt will display the line after the last one on the screen ** at the top of the next page (0 lines of context). */ { "pager_format", DT_STR, R_PAGER, UL &PagerFmt, UL "-%Z- %C/%m: %-20.20n %s" }, /*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -