a_nag_elide_qsort(): FIX false sorting (Michael Dressel)..
[s-mailx.git] / nail.rc
blob41f8be1a9b742f5c5adc29a64ddf1013989db6a7
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 space, tabulator, newline (" \t\n") and all members
6 #@   *ifs-ws* are removed.
7 #@ - Empty lines are ignored.
8 #@ - Any other line is a command line.  Such lines can be spread over
9 #@   multiple lines if the newline character is "escaped" by placing
10 #@   a reverse solidus character \ as the last character of the line; any
11 #@   leading whitespace of follow lines is ignored, trailing whitespace before
12 #@   the escaped newline is not.
13 #@ - The number sign # is the comment-command and causes the (joined) line
14 #@   (content) to be ignored.
15 #--MKREL-START--
16 #@ S-nail v14.9.10 / 2018-03-25
17 #--MKREL-END--
19 ## Variables
21 # The standard POSIX 2008/Cor 2-2016 mandates the following initial settings:
22 # [a]   noallnet, noappend, asksub, noaskbcc, noaskcc, noautoprint,
23 # [b-e] nobang, nocmd, nocrt, nodebug, nodot, escape="~",
24 # [f-i] noflipr, nofolder, header, nohold, noignore, noignoreeof,
25 # [j-o] nokeep, nokeepsave, nometoo, nooutfolder,
26 # [p-r] nopage, prompt="? ", noquiet, norecord,
27 # [s]   save, nosendwait, noshowto, nosign, noSign,
28 # [t-z] toplines="5"
30 # Notes:
31 # - *hold, *keep*, *keepsave* and *sendwait* are deliberately set below.
32 # - no*onehop* doesn't exist in this implementation.
33 #   (To pass options through to the MTA, either add them after a "--"
34 #   separator on the command line or set the *mta-arguments* variable.)
35 # (Keep in SYNC: ./nail.h:okeys, ./nail.rc, ./nail.1:"Initial settings"!)
37 # Adjust the standard-imposed default variable settings.
38 # Some of the following variables are not portable and may thus have no effect
39 # with other Mail(1) / mailx(1) programs.
40 # Entries are marked [OPTION] if their availability is compile-time dependent.
42 # If threaded mode is activated, automatically collapse thread
43 set autocollapse
45 # Enter threaded mode automatically
46 #set autosort=thread
48 # Append rather than prepend when writing to mbox automatically.
49 # This has no effect unless *hold* is unset (it is set below), it is
50 # a compile-time setting for other cases.
51 # This is a traditional entry and should usually be set.
52 set append
54 # Ask for a message subject.
55 set ask
57 # Uncomment this in order to get coloured output in $PAGER (if possible).
58 #set colour-pager
59 # If your $PAGER is less(1) or lv(1) you will usually be served with
60 #  ? wysh set PAGER=less; environ unset LESS
61 #  ? wysh set PAGER=lv; environ unset LV
63 # Assume a CRT-like terminal and invoke a $PAGER if output doesn't fit on a
64 # the screen.  (Set crt=0 to always page; value treated as number of lines.)
65 set crt
67 # When entering compose mode, directly startup into $EDITOR, as via `~e'.
68 # If the value is "v", startup into $VISUAL, as via `~v' instead.
69 #set editalong=v
71 # When spawning an editor in compose mode (`~e', `~v', *editalong*), allow
72 # editing of headers.
73 set editheaders
75 # Startup into interactive mode even if the (given) mailbox is empty.
76 set emptystart
78 # When `reply'ing etc. name parts and comments are stripped from receiver
79 # addresses unless this variable is set.
80 set fullnames
82 # [OPTION] Add more entries to the history as is done by default.
83 # The latter will cause the built-in editor to save those entries, too.
84 # (The *history-file* variable controls persistency of the history.)
85 set history-gabby history-gabby-persist
87 # Do not move read messages of system mailboxes to MBOX by default since this
88 # is likely to be irritating for most users today; also see *keepsave*.
89 set hold
91 # Quote the original message in replies by "> " as usual on the Internet.
92 # POSIX mandates tabulator ("wysh set indentprefix=$'\t'") as default.
93 set indentprefix="> "
95 # Mark messages that have been answered.
96 set markanswered
98 # Try to circumvent false or missing MIME Content-Type descriptions.
99 # Do set a value for extended behaviour (see the manual).
100 #set mime-counter-evidence
101 set mime-counter-evidence=0b1111
103 # Control loading of mime.types(5) file, "s"ystem and/or "u"ser, etc.
104 # Builtin types exist and may be sufficient.  The default equals "us".
105 #set mimetypes-load-control
107 # Do not remove empty (MBOX) system mailboxes.  (_No_ empty (MBOX) mailbox
108 # at all if $POSIXLY_CORRECT a.k.a. *posix* is set!)
109 # This may be relevant for privacy since other users could otherwise create
110 # them with different permissions.
111 set keep
113 # Do not move `save'd or `write'n message to $MBOX by default since this is
114 # likely to be irritating for most users today; also see *hold*.
115 set keepsave
117 # An informational prompt (and see "Gimmicks" below).
118 # Note the _real_ evaluation occurs once used (see *prompt* manual entry).
119 #wysh set prompt='?\$?!\$!/\$^ERRNAME[\${account-name}#\${mailbox-display}]? '
121 # Automatically quote the text of the message that is responded to.
122 set quote
124 # When replying, do not merge From: and To: of the original message
125 # into To:.  Instead old From: -> new To:, old To: -> merge Cc:.
126 set recipients-in-cc
128 # When responding to a message, try to answer in the same character set
129 # (which is subject to `charsetalias' expansion, though).
130 #set reply-in-same-charset
132 # [OPTION] Outgoing messages are sent in UTF-8 if possible, otherwise LATIN1.
133 # Note: it is highly advisable to read the section "Character sets" of the
134 # manual in order to understand all the possibilities that exist to fine-tune
135 # charset usage (variables also of interest: *ttycharset*, *charset-8bit*,
136 # *sendcharsets-else-ttycharset*; and of course we inherit the $LC_CTYPE /
137 # $LC_ALL / $LANG environment variables and react upon them).
138 set sendcharsets=utf-8,iso-8859-1
140 # When sending a message wait until the MTA (including the built-in SMTP one)
141 # exits before accepting further commands.  Only with this variable set errors
142 # reported by the MTA will be recognizable!
143 set sendwait
145 # Display real sender names in header summaries instead of only addresses.
146 set showname
148 # Show recipients of messages sent by the user himself in header summaries.
149 set showto
151 ## Commands
153 # Most commands are not portable to other Mail(1) / mailx(1) programs, which is
154 # why most commands are commented out.  To remain portable, place anything
155 # specific in its own file, then "set mailx-extra-rc=~/.my-file" in $MAILRC
156 # (usually ~/.mailrc).
158 # Map ISO-8859-1 to LATIN1, and LATIN1 to CP1252.
159 # (These mappings are not applied to character sets specified by other
160 # variables, e.g., sendcharsets).
161 #charsetalias iso-8859-1 latin1  latin1 cp1252
163 # Only include the selected header fields when printing messages
164 # `headerpick' is not portable, so use the standard `retain'
165 retain from_ date from to cc subject message-id mail-followup-to reply-to
166 #headerpick type retain from_ date from to cc subject \
167 #   message-id mail-followup-to reply-to
168 # ...when forwarding messages
169 #headerpick forward retain subject date from to cc
170 # ...and don't include these when saving message, etc.
171 #if [ "$features" =@ +regex ]
172 #  headerpick save ignore '^Original-.*$' '^X-.*$'
173 #end
175 ## Some pipe-TYPE/SUBTYPE entries
177 # HTML as text, inline display via lynx(1).
178 #if [ "$features" !@ +filter-html-tagsoup ]
179 #   set pipe-text/html='@* lynx -stdin -dump -force_html'
180 #endif
182 # "External body", URL type supported only.
183 #wysh set pipe-message/external-body='@* echo $MAILX_EXTERNAL_BODY_URL'
185 # PDF display, asynchronous display: via `mimeview' command only.
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 #   bind compose :kf1 ~v
200 #endif
202 # Coloured prompt for the Mailx-Line-Editor (when in interactive mode).
203 #if terminal && [ "$features" =@ +mle ] && [ "$features" =@ +colour ]
204 #   colour 256 mle-position fg=202
205 #   colour 256 mle-prompt fg=red
206 #   colour iso mle-position ft=reverse
207 #   colour iso mle-prompt fg=red
208 #   colour mono mle-position ft=reverse
209 #   colour mono mle-prompt ft=bold
210 #endif
212 # Install file-extension handlers to handle MBOXes in various formats.
213 #filetype \
214 #   bz2 'bzip2 -dc' 'bzip2 -zc' \
215 #   gpg 'gpg -d' 'gpg -e' \
216 #   gz 'gzip -dc' 'gzip -c' \
217 #   xz 'xz -dc' 'xz -zc' \
218 #   zst 'zstd -dc' 'zstd -19 -zc' \
219 #   zst.pgp 'gpg -d | zstd -dc' 'zstd -19 -zc | gpg -e'
221 # s-it-mode