Ensure reproducable environment..
[s-mailx.git] / nail.rc
blob02fbfefc792acbfb00a1eec2fbdb077658265f1c
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.8.10 / 2016-08-20
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
61 # Assume a CRT-like terminal and invoke a $PAGER if output doesn't fit on a
62 # the screen.  (Set crt=0 to always page; value treated as number of lines)
63 set crt
65 # Define date display in header summary
66 #set datefield="%R %m-%d" datefield-markout-older="   %g-%m-%d"
68 # When composing messages a line consisting of `.' finalizes a message
69 set dot
71 # Startup into $EDITOR (or $VISUAL) in compose mode ("automatic `~e'")
72 #set editalong
74 # Startup into interactive mode even if the (given) mailbox is empty
75 #set emptystart
77 # When replying to or forwarding a message the comment and name parts of email
78 # addresses are removed unless this variable is set.
79 #set fullnames
81 # [OPTION] Add more entries to the history as is done by default.
82 # The latter will cause the builtin editor to save those entries, too
83 set history-gabby history-gabby-persist
85 # Do not move read messages of system mailboxes to MBOX by default since this
86 # is likely to be irritating for most users today; also see *keepsave*
87 set hold
89 # Quote the original message in replies by "> " as usual on the Internet
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 # (Can be set to values for extended behaviour, please see the manual.)
97 set mime-counter-evidence
99 # Control loading of mime.types(5) file: the value may be a combination of the
100 # letters "s" and "u": if "u" is seen ~/.mime.types will be loaded if possible;
101 # "s" adds /etc/mime.types, if available; setting this without any value uses
102 # only a set of builtin mimetypes; the default behaviour equals "us".
103 # An extended syntax that allows loading of other, specified files is available
104 # if the value contains an equal sign "=", see the manual for more
105 #set mimetypes-load-control
107 # Do not remove empty mail folders.
108 # This may be relevant for privacy since other users could otherwise create
109 # them with different permissions
110 set keep
112 # Do not move `save'd or `write'n message to mbox by default since this is
113 # likely to be irritating for most users today; also see *hold*
114 set keepsave
116 # When writing mailbox files we strip Content-Length: and Lines: header fields
117 # from edited / changed messages, because S-nail doesn't deal with these
118 # (non-standard) fields -- and since other MUAs may rely on their content, if
119 # present, it seems more useful to strip them than to keep them, now that they
120 # became invalid; set this to include them nonetheless
121 #set keep-content-length
123 # An informational prompt (and see "Gimmicks" below)
124 #set prompt="?\?[\$ \@]\& "
126 # Automatically quote the text of the message that is responded to
127 set quote
129 # On group replies, specify only the sender of the original mail in  To: and
130 # mention it's other recipients in the secondary Cc: instead of placing them
131 # all together in To:
132 set recipients-in-cc
134 # When responding to a message, try to answer in the same character set
135 #set reply-in-same-charset
137 # [OPTION] Outgoing messages are sent in UTF-8 if possible, otherwise LATIN1.
138 # Note: it is highly advisable to read the section "Character sets" of the
139 # manual in order to understand all the possibilities that exist to fine-tune
140 # charset usage (variables also of interest: *ttycharset*, *charset-8bit*,
141 # *sendcharsets-else-ttycharset*; and of course we inherit the $LC_CTYPE /
142 # $LC_ALL / $LANG environment variables and react upon them)
143 set sendcharsets=utf-8,iso-8859-1
145 # When sending a message wait until the MTA (including the builtin SMTP one)
146 # exits before accepting further commands.  Only with this variable set errors
147 # reported by the MTA will be recognizable!
148 #set sendwait
150 # Display real sender names in header summaries instead of only addresses
151 set showname
153 # Show recipients of messages sent by the user himself in header summaries
154 set showto
156 ## Commands
158 # Only include these selected header fields when forwarding messages
159 fwdretain subject date from to
161 # Only include the selected header fields when printing messages
162 retain date from to cc subject message-id mail-followup-to reply-to
164 ## Some pipe-TYPE/SUBTYPE entries
166 # HTML as text, inline display via lynx(1)
167 #if $features !@ HTML-FILTER
168 #   set pipe-text/html="lynx -stdin -dump -force_html"
169 #endif
171 # PDF display, asynchronous display via xpdf(1)
172 #set pipe-application/pdf="@&+=@ \
173 #   trap \"rm -f \\\"${NAIL_FILENAME_TEMPORARY}\\\"\" EXIT;\
174 #   trap "trap \\\"\\\" INT QUIT TERM; exit 1" INT QUIT TERM;\
175 #   mupdf \"${NAIL_FILENAME_TEMPORARY}\""
177 ## Gimmicks
179 # Coloured prompt for the Mailx-Line-Editor (when in interactive mode)
180 #if terminal && $features =@ +mle && $features =@ +colour
181 #   colour 256 mle-position   fg=202
182 #   colour 256 mle-prompt     fg=red
183 #   colour iso mle-position   ft=reverse
184 #   colour iso mle-prompt     fg=red
185 #   colour mono mle-position  ft=reverse
186 #   colour mono mle-prompt    ft=bold
187 #endif
189 # s-it-mode