Bump S-nail v14.8.13, 2016-10-19
[s-mailx.git] / nail.rc
blobc468a6df487eb2f13753088c0e24cc3ce61fbd2c
1 #--MKRC-START--
2 # /etc/s-nail.rc - configuration file for S-nail(1)
3 #--MKRC-END--
4 #--MKREL-START--
5 #@ S-nail(1): v14.8.13 / 2016-10-19
6 #--MKREL-END--
8 ## The standard POSIX 2008/Cor 1-2013 mandates the following initial settings:
9 # (Keep in sync: ./main.c:_startup(), ./nail.rc, ./nail.1:"Initial settings"!)
10 # [a]   noallnet, noappend, asksub, noaskbcc, noaskcc, noautoprint,
11 # [b-e] nobang, nocmd, nocrt, nodebug, nodot, escape="~",
12 # [f-i] noflipr, nofolder, header, nohold, noignore, noignoreeof,
13 # [j-o] nokeep, nokeepsave, nometoo, nooutfolder,
14 # [p-r] nopage, prompt="? ", noquiet, norecord,
15 # [s]   save, nosendwait, noshowto, nosign, noSign,
16 # [t-z] toplines="5"
17 # Notes:
18 # - no*onehop* doesn't exist in this implementation.
19 #   (To pass options through to an MTA, either add them after a "--" separator
20 #   on the command line or by setting the *sendmail-arguments* variable.)
21 # - *prompt* is "\\& " by default, which will act POSIX-compliant
22 #   unless the user would set *bsdcompat*
24 ## The remaining content adjusts the standard-imposed default settings.
25 # Note that some of the following flags are specific to S-nail(1) and may thus
26 # not work with other Mail(1) / mailx(1) programs.
27 # Entries are marked [OPTION] if their availability is compile-time dependent
29 ## Variables
31 # If threaded mode is activated, automatically collapse thread
32 set autocollapse
34 # Enter threaded mode automatically
35 #set autosort=thread
37 # Append rather than prepend when writing to mbox automatically.
38 # This has no effect unless *hold* is unset (it is set below)
39 set append
41 # Ask for a message subject.
42 set ask
44 # *bsdannounce* prints a header summary on folder change and thus complements
45 # *header* on a per-folder basis (it is meaningless unless *header* is set)
46 set bsdannounce
48 # Uncomment this in order to get coloured output in $PAGER.
49 # (Coloured output is only used if $TERM is either found in *colour-terms*
50 # or includes the string "color")
51 #set colour-pager
53 # Assume a CRT-like terminal and invoke a $PAGER
54 set crt
56 # Define date display in header summary
57 #set datefield="%R %m-%d" datefield-markout-older="   %g-%m-%d"
59 # When composing messages a line consisting of `.' finalizes a message
60 set dot
62 # Immediately start $EDITOR (or $VISUAL) when composing a message
63 #set editalong
65 # Startup into interactive mode even if the (given) mailbox is empty
66 #set emptystart
68 # When replying to or forwarding a message the comment and name parts of email
69 # addresses are removed unless this variable is set.
70 #set fullnames
72 # [OPTION] Add more entries to the history as is done by default
73 set history-gabby
75 # Do not forward to mbox by default since this is likely to be
76 # irritating for most users today; also see *keepsave*
77 set hold
79 # Quote the original message in replies by "> " as usual on the Internet
80 set indentprefix="> "
82 # Mark messages that have been answered
83 set markanswered
85 # Try to circumvent false or missing MIME Content-Type descriptions
86 # (Can be set to values for extended behaviour, please see the manual.)
87 set mime-counter-evidence
89 # Control loading of mime.types(5) file: the value may be a combination of the
90 # letters "s" and "u": if "u" is seen ~/.mime.types will be loaded if possible;
91 # "s" adds /etc/mime.types, if available; setting this without any value uses
92 # only a set of builtin mimetypes; the default behaviour equals "us".
93 # An extended syntax that allows loading of other, specified files is available
94 # if the value contains an equal sign "=", see the manual for more
95 #set mimetypes-load-control
97 # Do not remove empty mail folders.
98 # This may be relevant for privacy since other users could otherwise create
99 # them with different permissions
100 set keep
102 # Do not move `save'd or `write'n message to mbox by default since this is
103 # likely to be irritating for most users today; also see *hold*
104 set keepsave
106 # When writing mailbox files we strip Content-Length: and Lines: header fields
107 # from edited / changed messages, because S-nail doesn't deal with these
108 # (non-standard) fields -- and since other MUAs may rely on their content, if
109 # present, it seems more useful to strip them than to keep them, now that they
110 # became invalid; set this to include them nonetheless
111 #set keep-content-length
113 # A nice prompt for ISO 6429/ECMA-48 terminals
114 #set prompt="\033[31m?\?[\$ \@]\& \033[0m"
116 # Automatically quote the text of the message that is responded to
117 set quote
119 # On group replies, specify only the sender of the original mail in  To: and
120 # mention it's other recipients in the secondary Cc: instead of placing them
121 # all together in To:
122 set recipients-in-cc
124 # When responding to a message, try to answer in the same character set
125 #set reply-in-same-charset
127 # [OPTION] Outgoing messages are sent in UTF-8 if possible, otherwise LATIN1.
128 # Note: it is highly advisable to read the section "Character sets" of the
129 # manual in order to understand all the possibilities that exist to fine-tune
130 # charset usage (variables also of interest: *ttycharset*, *charset-8bit*,
131 # *sendcharsets-else-ttycharset*; and of course we inherit the $LC_CTYPE /
132 # $LC_ALL / $LANG environment variables and react upon them)
133 set sendcharsets=utf-8,iso-8859-1
135 # When sending a message wait until the MTA (including the builtin SMTP one)
136 # exits before accepting further commands.  Only with this variable set errors
137 # reported by the MTA will be recognizable!
138 #set sendwait
140 # Display real sender names in header summaries instead of only addresses
141 set showname
143 # Show recipients of messages sent by the user himself in header summaries
144 set showto
146 ## Commands
148 # Only include these selected header fields when forwarding messages
149 fwdretain subject date from to
151 # Only include the selected header fields when printing messages
152 retain date from to cc subject message-id mail-followup-to reply-to
154 ## Some pipe-TYPE/SUBTYPE entries
156 # HTML as text, inline display via lynx(1)
157 #if $features !@ HTML-FILTER
158 #   set pipe-text/html="lynx -stdin -dump -force_html"
159 #endif
161 # PDF display, asynchronous display via xpdf(1)
162 #set pipe-application/pdf="@&set -C;\
163 #   : > \"${TMPDIR}/${NAIL_FILENAME_GENERATED}\";\
164 #   trap \"rm -f \\\"${TMPDIR}/${NAIL_FILENAME_GENERATED}\\\"\" \
165 #      EXIT INT QUIT PIPE TERM;\
166 #   set +C;\
167 #   cat > \"${TMPDIR}/${NAIL_FILENAME_GENERATED}\";\
168 #   xpdf \"${TMPDIR}/${NAIL_FILENAME_GENERATED}\""
170 # s-it-mode