Bump S-nail v14.9.1.ar ("Crested tit"), 2017-07-31
[s-mailx.git] / nail.rc
blob79cc715a8d99c8b6e28e03b8c6732521e4008b7b
1 #--MKRC-START--
2 #@ /etc/s-nail.rc - configuration file for S-nail(1)
3 #--MKRC-END--
4 #@ The syntax of this file is interpreted as follows:
5 #@ - Leading and trailing " \t\n" + *ifs* whitespace is removed.
6 #@ - Empty lines are ignored.
7 #@ - Any other line is a command line.  Such lines can be spread over
8 #@   multiple lines if the newline character is "escaped" by placing
9 #@   a reverse solidus character \ as the last character of the line; any
10 #@   leading whitespace of follow lines is ignored, trailing whitespace before
11 #@   the escaped newline is not.
12 #@ - The number sign # is the comment-command and causes the (joined) line
13 #@   (content) to be ignored.
14 #@ S-nail v14.9.1 / 2017-07-31
16 ## Variables
18 # The standard POSIX 2008/Cor 2-2016 mandates the following initial settings:
19 # [a]   noallnet, noappend, asksub, noaskbcc, noaskcc, noautoprint,
20 # [b-e] nobang, nocmd, nocrt, nodebug, nodot, escape="~",
21 # [f-i] noflipr, nofolder, header, nohold, noignore, noignoreeof,
22 # [j-o] nokeep, nokeepsave, nometoo, nooutfolder,
23 # [p-r] nopage, prompt="? ", noquiet, norecord,
24 # [s]   save, nosendwait, noshowto, nosign, noSign,
25 # [t-z] toplines="5"
27 # Notes:
28 # - *hold, *keep*, *keepsave* and *sendwait* are deliberately set below.
29 # - no*onehop* doesn't exist in this implementation.
30 #   (To pass options through to the MTA, either add them after a "--"
31 #   separator on the command line or set the *mta-arguments* variable.)
32 # (Keep in SYNC: ./nail.h:okeys, ./nail.rc, ./nail.1:"Initial settings"!)
34 # Adjust the standard-imposed default variable settings.
35 # Some of the following variables are not portable and may thus have no effect
36 # with other Mail(1) / mailx(1) programs.
37 # Entries are marked [OPTION] if their availability is compile-time dependent.
39 # If threaded mode is activated, automatically collapse thread
40 set autocollapse
42 # Enter threaded mode automatically
43 #set autosort=thread
45 # Append rather than prepend when writing to mbox automatically.
46 # This has no effect unless *hold* is unset (it is set below)
47 set append
49 # Ask for a message subject.
50 set ask
52 # Uncomment this in order to get coloured output in $PAGER (if possible).
53 #set colour-pager
54 # Btw., if your $PAGER is less(1) or lv(1) you will usually be served, as
55 # documented for $PAGER in the manual, very well by doing, e.g., less(1):
56 #  ? wysh set PAGER=less; environ unset LESS
58 # Assume a CRT-like terminal and invoke a $PAGER if output doesn't fit on a
59 # the screen.  (Set crt=0 to always page; value treated as number of lines)
60 set crt
62 # Startup into $EDITOR (or $VISUAL) in compose mode ("automatic `~e'")
63 #set editalong
65 # When spawning an editor in compose mode (*editalong*, ~e), edit headers
66 set editheaders
68 # Startup into interactive mode even if the (given) mailbox is empty
69 set emptystart
71 # When replying to or forwarding a message the comment and name parts of email
72 # addresses are removed unless this variable is set
73 set fullnames
75 # [OPTION] Add more entries to the history as is done by default.
76 # The latter will cause the built-in editor to save those entries, too
77 set history-gabby history-gabby-persist
79 # Do not move read messages of system mailboxes to MBOX by default since this
80 # is likely to be irritating for most users today; also see *keepsave*
81 set hold
83 # Quote the original message in replies by "> " as usual on the Internet
84 # Historically this was a tabulator, as in "wysh set indentprefix=$'\t'"
85 set indentprefix="> "
87 # Mark messages that have been answered
88 set markanswered
90 # Try to circumvent false or missing MIME Content-Type descriptions.
91 # Do set a value for extended behaviour (see the manual)
92 #set mime-counter-evidence
93 set mime-counter-evidence=0xE
95 # Control loading of mime.types(5) file: the value may be a combination of the
96 # letters "s" and "u": if "u" is seen ~/.mime.types will be loaded if possible;
97 # "s" adds /etc/mime.types, if available; setting this without any value uses
98 # only a set of built-in mimetypes; the default behaviour equals "us".
99 # An extended syntax that allows loading of other, specified files is available
100 # if the value contains an equal sign "=", see the manual for more
101 #set mimetypes-load-control
103 # Do not remove empty (MBOX) system mailboxes (or _no_ empty (MBOX) mailbox
104 # at all if $POSIXLY_CORRECT / *posix* are set!).
105 # This may be relevant for privacy since other users could otherwise create
106 # them with different permissions
107 set keep
109 # Do not move `save'd or `write'n message to mbox by default since this is
110 # likely to be irritating for most users today; also see *hold*
111 set keepsave
113 # When writing mailbox files we strip Content-Length: and Lines: header fields
114 # from edited / changed messages, because S-nail doesn't deal with these
115 # (non-standard) fields -- and since other MUAs may rely on their content, if
116 # present, it seems more useful to strip them than to keep them, now that they
117 # became invalid; set this to include them nonetheless
118 #set keep-content-length
120 # An informational prompt (and see "Gimmicks" below).
121 # Note the _real_ evaluation occurs once used (see *prompt* manual entry)
122 #wysh set prompt='?\${?}!\${!}[\${account-name}#\${mailbox-display}]? '
124 # Automatically quote the text of the message that is responded to
125 set quote
127 # When replying, do not merge From: and To: of the original message
128 # into To:.  Instead old From: -> new To:, old To: -> merge Cc:.
129 set recipients-in-cc
131 # When responding to a message, try to answer in the same character set
132 # (which is subject to `charsetalias' expansion, though)
133 #set reply-in-same-charset
135 # [OPTION] Outgoing messages are sent in UTF-8 if possible, otherwise LATIN1.
136 # Note: it is highly advisable to read the section "Character sets" of the
137 # manual in order to understand all the possibilities that exist to fine-tune
138 # charset usage (variables also of interest: *ttycharset*, *charset-8bit*,
139 # *sendcharsets-else-ttycharset*; and of course we inherit the $LC_CTYPE /
140 # $LC_ALL / $LANG environment variables and react upon them)
141 set sendcharsets=utf-8,iso-8859-1
143 # When sending a message wait until the MTA (including the built-in SMTP one)
144 # exits before accepting further commands.  Only with this variable set errors
145 # reported by the MTA will be recognizable!
146 set sendwait
148 # Display real sender names in header summaries instead of only addresses
149 set showname
151 # Show recipients of messages sent by the user himself in header summaries
152 set showto
154 ## Commands
156 # Most commands are not portable to other Mail(1) / mailx(1) programs, which is
157 # why most commands are commented out.  To remain portable, place anything
158 # specific in its own file, then "set mailx-extra-rc=~/.my-file" in $MAILRC
159 # (usually ~/.mailrc).
161 # Map ISO-8859-1 to LATIN1, and LATIN1 to CP1252.
162 # (These mappings are not applied to character sets specified by other
163 # variables, e.g., sendcharsets).
164 #charsetalias iso-8859-1 latin1  latin1 cp1252
166 # Only include the selected header fields when printing messages
167 # `headerpick' is not portable, so use the standard `retain'
168 retain from_ date from to cc subject message-id mail-followup-to reply-to
169 #headerpick type retain from_ date from to cc subject \
170 #   message-id mail-followup-to reply-to
171 # ...when forwarding messages
172 #headerpick forward retain subject date from to cc
173 # ...and don't include these when saving message, etc.
174 #if [ "$features" =@ +regex ]
175 #  headerpick save ignore '^Original-.*$' '^X-.*$'
176 #end
178 ## Some pipe-TYPE/SUBTYPE entries
180 # HTML as text, inline display via lynx(1)
181 #if [ "$features" !@ +filter-html-tagsoup ]
182 #   set pipe-text/html='lynx -stdin -dump -force_html'
183 #endif
185 # PDF display, asynchronous display
186 #wysh set pipe-application/pdf='@=&@\
187 #   trap "rm -f \"${MAILX_FILENAME_TEMPORARY}\"" EXIT;\
188 #   trap "trap \"\" INT QUIT TERM; exit 1" INT QUIT TERM;\
189 #   mupdf "${MAILX_FILENAME_TEMPORARY}"'
191 ## Gimmicks
193 # More key bindings for the Mailx-Line-Editor (when in interactive mode)
194 #if terminal && [ "$features" =@ +key-bindings ]
195 #   bind base $'\e',d mle-snarf-word-fwd
196 #   bind base $'\e',$'\c?' mle-snarf-word-bwd
197 #   bind base $'\e',f mle-go-word-fwd
198 #   bind base $'\e',b mle-go-word-bwd
199 #endif
201 # Coloured prompt for the Mailx-Line-Editor (when in interactive mode)
202 #if terminal && [ "$features" =@ +mle ] && [ "$features" =@ +colour ]
203 #   colour 256 mle-position fg=202
204 #   colour 256 mle-prompt fg=red
205 #   colour iso mle-position ft=reverse
206 #   colour iso mle-prompt fg=red
207 #   colour mono mle-position ft=reverse
208 #   colour mono mle-prompt ft=bold
209 #endif
211 # Install file-extension handlers to handle MBOXes in various formats
212 #filetype \
213 #   bz2 'bzip2 -dc' 'bzip2 -zc' \
214 #   gpg 'gpg -d' 'gpg -e' \
215 #   gz 'gzip -dc' 'gzip -c' \
216 #   xz 'xz -dc' 'xz -zc' \
217 #   zst 'zstd -dc' 'zstd -19 -zc' \
218 #   zst.pgp 'gpg -d | zstd -dc' 'zstd -19 -zc | gpg -e'
220 # s-it-mode