make.rc: enable WANT_TERMCAP by default
[s-mailx.git] / nail.rc
blobab4f979d69e77790a809dc1857a91f7406c62c50
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 # (Keep in sync: ./main.c:_startup(), ./nail.rc, ./nail.1:"Initial settings"!)
20 # [a]   noallnet, noappend, asksub, noaskbcc, noaskcc, noautoprint,
21 # [b-e] nobang, nocmd, nocrt, nodebug, nodot, escape="~",
22 # [f-i] noflipr, nofolder, header, nohold, noignore, noignoreeof,
23 # [j-o] nokeep, nokeepsave, nometoo, nooutfolder,
24 # [p-r] nopage, prompt="? ", noquiet, norecord,
25 # [s]   save, nosendwait, noshowto, nosign, noSign,
26 # [t-z] toplines="5"
27 # Notes:
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 # - *prompt* is "\\& " by default, which will act POSIX-compliant
32 #   unless the user does set *bsdcompat*
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.
59 # (Coloured output is only used if $TERM is either found in *colour-terms*
60 # or includes the string "color")
61 #set colour-pager
63 # Assume a CRT-like terminal and invoke a $PAGER if output doesn't fit on a
64 # the screen.  (Set crt=0 to always page; value treated as number of lines)
65 set crt
67 # Define date display in header summary
68 #set datefield="%R %m-%d" datefield-markout-older="   %g-%m-%d"
70 # When composing messages a line consisting of `.' finalizes a message
71 set dot
73 # Startup into $EDITOR (or $VISUAL) in compose mode ("automatic `~e'")
74 #set editalong
76 # Startup into interactive mode even if the (given) mailbox is empty
77 #set emptystart
79 # When replying to or forwarding a message the comment and name parts of email
80 # addresses are removed unless this variable is set.
81 #set fullnames
83 # [OPTION] Add more entries to the history as is done by default.
84 # The latter will cause the builtin editor to save those entries, too
85 set history-gabby history-gabby-persist
87 # Do not move read messages of system mailboxes to MBOX by default since this
88 # is likely to be irritating for most users today; also see *keepsave*
89 set hold
91 # Quote the original message in replies by "> " as usual on the Internet
92 set indentprefix="> "
94 # Mark messages that have been answered
95 set markanswered
97 # Try to circumvent false or missing MIME Content-Type descriptions
98 # (Can be set to values for extended behaviour, please see the manual.)
99 set mime-counter-evidence
101 # Control loading of mime.types(5) file: the value may be a combination of the
102 # letters "s" and "u": if "u" is seen ~/.mime.types will be loaded if possible;
103 # "s" adds /etc/mime.types, if available; setting this without any value uses
104 # only a set of builtin mimetypes; the default behaviour equals "us".
105 # An extended syntax that allows loading of other, specified files is available
106 # if the value contains an equal sign "=", see the manual for more
107 #set mimetypes-load-control
109 # Do not remove empty mail folders.
110 # This may be relevant for privacy since other users could otherwise create
111 # them with different permissions
112 set keep
114 # Do not move `save'd or `write'n message to mbox by default since this is
115 # likely to be irritating for most users today; also see *hold*
116 set keepsave
118 # When writing mailbox files we strip Content-Length: and Lines: header fields
119 # from edited / changed messages, because S-nail doesn't deal with these
120 # (non-standard) fields -- and since other MUAs may rely on their content, if
121 # present, it seems more useful to strip them than to keep them, now that they
122 # became invalid; set this to include them nonetheless
123 #set keep-content-length
125 # A nice prompt for ISO 6429/ECMA-48 terminals
126 #set prompt="\033[31m?\?[\$ \@]\& \033[0m"
128 # Automatically quote the text of the message that is responded to
129 set quote
131 # On group replies, specify only the sender of the original mail in  To: and
132 # mention it's other recipients in the secondary Cc: instead of placing them
133 # all together in To:
134 set recipients-in-cc
136 # When responding to a message, try to answer in the same character set
137 #set reply-in-same-charset
139 # [OPTION] Outgoing messages are sent in UTF-8 if possible, otherwise LATIN1.
140 # Note: it is highly advisable to read the section "Character sets" of the
141 # manual in order to understand all the possibilities that exist to fine-tune
142 # charset usage (variables also of interest: *ttycharset*, *charset-8bit*,
143 # *sendcharsets-else-ttycharset*; and of course we inherit the $LC_CTYPE /
144 # $LC_ALL / $LANG environment variables and react upon them)
145 set sendcharsets=utf-8,iso-8859-1
147 # When sending a message wait until the MTA (including the builtin SMTP one)
148 # exits before accepting further commands.  Only with this variable set errors
149 # reported by the MTA will be recognizable!
150 #set sendwait
152 # Display real sender names in header summaries instead of only addresses
153 set showname
155 # Show recipients of messages sent by the user himself in header summaries
156 set showto
158 ## Commands
160 # Only include these selected header fields when forwarding messages
161 fwdretain subject date from to
163 # Only include the selected header fields when printing messages
164 retain date from to cc subject message-id mail-followup-to reply-to
166 ## Some pipe-TYPE/SUBTYPE entries
168 # HTML as text, inline display via lynx(1)
169 #if $features !@ HTML-FILTER
170 #   set pipe-text/html="lynx -stdin -dump -force_html"
171 #endif
173 # PDF display, asynchronous display via xpdf(1)
174 #set pipe-application/pdf="@&+=@ \
175 #   trap \"rm -f \\\"${NAIL_FILENAME_TEMPORARY}\\\"\" EXIT;\
176 #   trap "trap \\\"\\\" INT QUIT TERM; exit 1" INT QUIT TERM;\
177 #   mupdf \"${NAIL_FILENAME_TEMPORARY}\""
179 # s-it-mode