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