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