nail.1: an "option" is command line, the rest are "variables"
[s-mailx.git] / nail.rc
blob69f035a0804a1270e1b04432117558f3313a31f4
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 # - 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 mail folders.
115 # This may be relevant for privacy since other users could otherwise create
116 # them with different permissions
117 set keep
119 # Do not move `save'd or `write'n message to mbox by default since this is
120 # likely to be irritating for most users today; also see *hold*
121 set keepsave
123 # When writing mailbox files we strip Content-Length: and Lines: header fields
124 # from edited / changed messages, because S-nail doesn't deal with these
125 # (non-standard) fields -- and since other MUAs may rely on their content, if
126 # present, it seems more useful to strip them than to keep them, now that they
127 # became invalid; set this to include them nonetheless
128 #set keep-content-length
130 # An informational prompt (and see "Gimmicks" below).
131 # Note the _real_ evaluation occurs once used (see *prompt* manual entry)
132 #wysh set prompt='?\${-exit-status}[\${-account-name} \${-mailbox-display}]? '
134 # Automatically quote the text of the message that is responded to
135 set quote
137 # On group replies, specify only the sender of the original mail in  To: and
138 # mention it's other recipients in the secondary Cc: instead of placing them
139 # all together in To:
140 set recipients-in-cc
142 # When responding to a message, try to answer in the same character set
143 #set reply-in-same-charset
145 # [OPTION] Outgoing messages are sent in UTF-8 if possible, otherwise LATIN1.
146 # Note: it is highly advisable to read the section "Character sets" of the
147 # manual in order to understand all the possibilities that exist to fine-tune
148 # charset usage (variables also of interest: *ttycharset*, *charset-8bit*,
149 # *sendcharsets-else-ttycharset*; and of course we inherit the $LC_CTYPE /
150 # $LC_ALL / $LANG environment variables and react upon them)
151 set sendcharsets=utf-8,iso-8859-1
153 # When sending a message wait until the MTA (including the builtin SMTP one)
154 # exits before accepting further commands.  Only with this variable set errors
155 # reported by the MTA will be recognizable!
156 set sendwait
158 # Display real sender names in header summaries instead of only addresses
159 set showname
161 # Show recipients of messages sent by the user himself in header summaries
162 set showto
164 ## Commands
166 # Only include these selected header fields when forwarding messages
167 fwdretain subject date from to cc
169 # Only include the selected header fields when printing messages
170 retain from_ date from to cc subject message-id mail-followup-to reply-to
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 # PDF display, asynchronous display
180 #wysh set pipe-application/pdf='@=&@\
181 #   trap "rm -f \"${NAIL_FILENAME_TEMPORARY}\"" EXIT;\
182 #   trap "trap \"\" INT QUIT TERM; exit 1" INT QUIT TERM;\
183 #   mupdf "${NAIL_FILENAME_TEMPORARY}"'
185 ## Gimmicks
187 # More key bindings for the Mailx-Line-Editor (when in interactive mode)
188 #if terminal && $features =@ +key-bindings
189 #   bind base $'\e',d mle-snarf-word-fwd
190 #   bind base $'\e',$'\c?' mle-snarf-word-bwd
191 #   bind base $'\e',f mle-go-word-fwd
192 #   bind base $'\e',b mle-go-word-bwd
193 #endif
195 # Coloured prompt for the Mailx-Line-Editor (when in interactive mode)
196 #if terminal && $features =@ +mle && $features =@ +colour
197 #   colour 256 mle-position   fg=202
198 #   colour 256 mle-prompt     fg=red
199 #   colour iso mle-position   ft=reverse
200 #   colour iso mle-prompt     fg=red
201 #   colour mono mle-position  ft=reverse
202 #   colour mono mle-prompt    ft=bold
203 #endif
205 # s-it-mode