head.c:a_head_idna_apply(): FIX IDNA result length calculation!
[s-mailx.git] / nail.rc
blob3120291aee02096081f020ea7b6a0b7406c0e8d3
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 #@ - A lines' leading 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 backslash character \ as the last character of the line; any leading
10 #@   whitespace of follow lines is ignored, trailing whitespace before the
11 #@   escaped newline is not.
12 #@ - The number sign # is the comment-command and causes the (joined) line
13 #@   (content) to be ignored.  No other form of comments exist.
14 #--MKREL-START--
15 #@ S-nail(1): v14.9.0-pre3 / 2016-12-31
16 #--MKREL-END--
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"
26 # Notes:
27 # - *hold, *keep*, *keepsave* and *sendwait* are deliberately set below.
28 # - no*onehop* doesn't exist in this implementation.
29 #   (To pass options through to the MTA, either add them after a "--"
30 #   separator on the command line or set the *sendmail-arguments* variable.)
31 # (Keep in SYNC: ./nail.h:okeys, ./nail.rc, ./nail.1:"Initial settings"!)
33 ## The remaining content adjusts the standard-imposed default settings.
34 # Note that some of the following flags are specific to S-nail(1) and may thus
35 # not work with other Mail(1) / mailx(1) programs.
36 # Entries are marked [OPTION] if their availability is compile-time dependent
38 ## Variables
40 # If threaded mode is activated, automatically collapse thread
41 set autocollapse
43 # Enter threaded mode automatically
44 #set autosort=thread
46 # Append rather than prepend when writing to mbox automatically.
47 # This has no effect unless *hold* is unset (it is set below)
48 set append
50 # Ask for a message subject.
51 set ask
53 # *bsdannounce* prints a header summary on folder change and thus complements
54 # *header* on a per-folder basis (it is meaningless unless *header* is set)
55 set bsdannounce
57 # Uncomment this in order to get coloured output in $PAGER (if possible).
58 #set colour-pager
59 # Btw., if your $PAGER is less(1) or lv(1) you will usually be served, as
60 # documented for $PAGER in the manual, very well by doing, e.g., less(1):
61 #  set PAGER=less
62 #  environ unset LESS
64 # Assume a CRT-like terminal and invoke a $PAGER if output doesn't fit on a
65 # the screen.  (Set crt=0 to always page; value treated as number of lines)
66 set crt
68 # Define date display in header summary
69 #set datefield="%R %m-%d" datefield-markout-older="   %g-%m-%d"
71 # When composing messages a line consisting of `.' finalizes a message
72 #set dot
74 # Startup into $EDITOR (or $VISUAL) in compose mode ("automatic `~e'")
75 #set editalong
77 # When spawning an editor in compose mode (*editalong*, ~e), edit headers
78 set editheaders
80 # Startup into interactive mode even if the (given) mailbox is empty
81 set emptystart
83 # When replying to or forwarding a message the comment and name parts of email
84 # addresses are removed unless this variable is set.
85 set fullnames
87 # [OPTION] Add more entries to the history as is done by default.
88 # The latter will cause the builtin editor to save those entries, too
89 set history-gabby history-gabby-persist
91 # Do not move read messages of system mailboxes to MBOX by default since this
92 # is likely to be irritating for most users today; also see *keepsave*
93 set hold
95 # Quote the original message in replies by "> " as usual on the Internet
96 set indentprefix="> "
98 # Mark messages that have been answered
99 set markanswered
101 # Try to circumvent false or missing MIME Content-Type descriptions.
102 # Do set a value for extended behaviour (see the manual)
103 #set mime-counter-evidence
104 set mime-counter-evidence=0xE
106 # Control loading of mime.types(5) file: the value may be a combination of the
107 # letters "s" and "u": if "u" is seen ~/.mime.types will be loaded if possible;
108 # "s" adds /etc/mime.types, if available; setting this without any value uses
109 # only a set of builtin mimetypes; the default behaviour equals "us".
110 # An extended syntax that allows loading of other, specified files is available
111 # if the value contains an equal sign "=", see the manual for more
112 #set mimetypes-load-control
114 # Do not remove empty (MBOX) system mailboxes (or _no_ empty (MBOX) mailbox
115 # at all if $POSIXLY_CORRECT / *posix* are set!).
116 # This may be relevant for privacy since other users could otherwise create
117 # them with different permissions
118 set keep
120 # Do not move `save'd or `write'n message to mbox by default since this is
121 # likely to be irritating for most users today; also see *hold*
122 set keepsave
124 # When writing mailbox files we strip Content-Length: and Lines: header fields
125 # from edited / changed messages, because S-nail doesn't deal with these
126 # (non-standard) fields -- and since other MUAs may rely on their content, if
127 # present, it seems more useful to strip them than to keep them, now that they
128 # became invalid; set this to include them nonetheless
129 #set keep-content-length
131 # An informational prompt (and see "Gimmicks" below).
132 # Note the _real_ evaluation occurs once used (see *prompt* manual entry)
133 #wysh set prompt='?\${-exit-status}[\${-account-name} \${-mailbox-display}]? '
135 # Automatically quote the text of the message that is responded to
136 set quote
138 # On group replies, specify only the sender of the original mail in  To: and
139 # mention it's other recipients in the secondary Cc: instead of placing them
140 # all together in To:
141 set recipients-in-cc
143 # When responding to a message, try to answer in the same character set
144 #set reply-in-same-charset
146 # [OPTION] Outgoing messages are sent in UTF-8 if possible, otherwise LATIN1.
147 # Note: it is highly advisable to read the section "Character sets" of the
148 # manual in order to understand all the possibilities that exist to fine-tune
149 # charset usage (variables also of interest: *ttycharset*, *charset-8bit*,
150 # *sendcharsets-else-ttycharset*; and of course we inherit the $LC_CTYPE /
151 # $LC_ALL / $LANG environment variables and react upon them)
152 set sendcharsets=utf-8,iso-8859-1
154 # When sending a message wait until the MTA (including the builtin SMTP one)
155 # exits before accepting further commands.  Only with this variable set errors
156 # reported by the MTA will be recognizable!
157 set sendwait
159 # Display real sender names in header summaries instead of only addresses
160 set showname
162 # Show recipients of messages sent by the user himself in header summaries
163 set showto
165 ## Commands
167 # Only include the selected header fields when printing messages
168 headerpick type retain add from_ date from to cc subject \
169    message-id mail-followup-to reply-to
170 # ...when forwarding messages
171 headerpick forward retain add subject date from to cc
172 # ...and don't include these when saving message, etc.
173 #headerpick save ignore add ^Original-.*$ ^X-.*$
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 # PDF display, asynchronous display
183 #wysh set pipe-application/pdf='@=&@\
184 #   trap "rm -f \"${NAIL_FILENAME_TEMPORARY}\"" EXIT;\
185 #   trap "trap \"\" INT QUIT TERM; exit 1" INT QUIT TERM;\
186 #   mupdf "${NAIL_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 # s-it-mode