Bump S-nail v14.9.0-pre2, 2016-10-31
[s-mailx.git] / nail.rc
blob046a7eb8abd585e8459104a10d34ca72aaae0add
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-pre2 / 2016-10-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 # - *prompt* is "\\& " by default, which will act POSIX-compliant
29 #   unless the user does set *bsdcompat*
30 # - no*onehop* doesn't exist in this implementation.
31 #   (To pass options through to the MTA, either add them after a "--"
32 #   separator on the command line or set the *sendmail-arguments* variable.)
33 # (Keep in SYNC: ./nail.h:okeys, ./nail.rc, ./nail.1:"Initial settings"!)
35 ## The remaining content adjusts the standard-imposed default settings.
36 # Note that some of the following flags are specific to S-nail(1) and may thus
37 # not work with other Mail(1) / mailx(1) programs.
38 # Entries are marked [OPTION] if their availability is compile-time dependent
40 ## Variables
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)
50 set append
52 # Ask for a message subject.
53 set ask
55 # *bsdannounce* prints a header summary on folder change and thus complements
56 # *header* on a per-folder basis (it is meaningless unless *header* is set)
57 set bsdannounce
59 # Uncomment this in order to get coloured output in $PAGER (if possible).
60 #set colour-pager
61 # Btw., if your $PAGER is less(1) or lv(1) you will usually be served, as
62 # documented for $PAGER in the manual, very well by doing, e.g., less(1):
63 #  set PAGER=less
64 #  environ unset LESS
66 # Assume a CRT-like terminal and invoke a $PAGER if output doesn't fit on a
67 # the screen.  (Set crt=0 to always page; value treated as number of lines)
68 set crt
70 # Define date display in header summary
71 #set datefield="%R %m-%d" datefield-markout-older="   %g-%m-%d"
73 # When composing messages a line consisting of `.' finalizes a message
74 #set dot
76 # Startup into $EDITOR (or $VISUAL) in compose mode ("automatic `~e'")
77 #set editalong
79 # Startup into interactive mode even if the (given) mailbox is empty
80 set emptystart
82 # When replying to or forwarding a message the comment and name parts of email
83 # addresses are removed unless this variable is set.
84 set fullnames
86 # [OPTION] Add more entries to the history as is done by default.
87 # The latter will cause the builtin editor to save those entries, too
88 set history-gabby history-gabby-persist
90 # Do not move read messages of system mailboxes to MBOX by default since this
91 # is likely to be irritating for most users today; also see *keepsave*
92 set hold
94 # Quote the original message in replies by "> " as usual on the Internet
95 set indentprefix="> "
97 # Mark messages that have been answered
98 set markanswered
100 # Try to circumvent false or missing MIME Content-Type descriptions.
101 # Do set a value for extended behaviour (see the manual)
102 #set mime-counter-evidence
103 set mime-counter-evidence=0xE
105 # Control loading of mime.types(5) file: the value may be a combination of the
106 # letters "s" and "u": if "u" is seen ~/.mime.types will be loaded if possible;
107 # "s" adds /etc/mime.types, if available; setting this without any value uses
108 # only a set of builtin mimetypes; the default behaviour equals "us".
109 # An extended syntax that allows loading of other, specified files is available
110 # if the value contains an equal sign "=", see the manual for more
111 #set mimetypes-load-control
113 # Do not remove empty mail folders.
114 # This may be relevant for privacy since other users could otherwise create
115 # them with different permissions
116 set keep
118 # Do not move `save'd or `write'n message to mbox by default since this is
119 # likely to be irritating for most users today; also see *hold*
120 set keepsave
122 # When writing mailbox files we strip Content-Length: and Lines: header fields
123 # from edited / changed messages, because S-nail doesn't deal with these
124 # (non-standard) fields -- and since other MUAs may rely on their content, if
125 # present, it seems more useful to strip them than to keep them, now that they
126 # became invalid; set this to include them nonetheless
127 #set keep-content-length
129 # An informational prompt (and see "Gimmicks" below)
130 #set prompt="?\?[\$ \@]\& "
132 # Automatically quote the text of the message that is responded to
133 set quote
135 # On group replies, specify only the sender of the original mail in  To: and
136 # mention it's other recipients in the secondary Cc: instead of placing them
137 # all together in To:
138 set recipients-in-cc
140 # When responding to a message, try to answer in the same character set
141 #set reply-in-same-charset
143 # [OPTION] Outgoing messages are sent in UTF-8 if possible, otherwise LATIN1.
144 # Note: it is highly advisable to read the section "Character sets" of the
145 # manual in order to understand all the possibilities that exist to fine-tune
146 # charset usage (variables also of interest: *ttycharset*, *charset-8bit*,
147 # *sendcharsets-else-ttycharset*; and of course we inherit the $LC_CTYPE /
148 # $LC_ALL / $LANG environment variables and react upon them)
149 set sendcharsets=utf-8,iso-8859-1
151 # When sending a message wait until the MTA (including the builtin SMTP one)
152 # exits before accepting further commands.  Only with this variable set errors
153 # reported by the MTA will be recognizable!
154 set sendwait
156 # Display real sender names in header summaries instead of only addresses
157 set showname
159 # Show recipients of messages sent by the user himself in header summaries
160 set showto
162 ## Commands
164 # Only include these selected header fields when forwarding messages
165 fwdretain subject date from to cc
167 # Only include the selected header fields when printing messages
168 retain from_ date from to cc subject message-id mail-followup-to reply-to
170 ## Some pipe-TYPE/SUBTYPE entries
172 # HTML as text, inline display via lynx(1)
173 #if $features !@ +filter-html-tagsoup
174 #   set pipe-text/html='lynx -stdin -dump -force_html'
175 #endif
177 # PDF display, asynchronous display
178 #wysh set pipe-application/pdf='@=&@\
179 #   trap "rm -f \"${NAIL_FILENAME_TEMPORARY}\"" EXIT;\
180 #   trap "trap \"\" INT QUIT TERM; exit 1" INT QUIT TERM;\
181 #   mupdf "${NAIL_FILENAME_TEMPORARY}"'
183 ## Gimmicks
185 # More key bindings for the Mailx-Line-Editor (when in interactive mode)
186 #if terminal && $features =@ +key-bindings
187 #   bind base $'\e',d mle-snarf-word-fwd
188 #   bind base $'\e',$'\c?' mle-snarf-word-bwd
189 #   bind base $'\e',f mle-go-word-fwd
190 #   bind base $'\e',b mle-go-word-bwd
191 #endif
193 # Coloured prompt for the Mailx-Line-Editor (when in interactive mode)
194 #if terminal && $features =@ +mle && $features =@ +colour
195 #   colour 256 mle-position   fg=202
196 #   colour 256 mle-prompt     fg=red
197 #   colour iso mle-position   ft=reverse
198 #   colour iso mle-prompt     fg=red
199 #   colour mono mle-position  ft=reverse
200 #   colour mono mle-prompt    ft=bold
201 #endif
203 # s-it-mode