nail.1: a bit more user friendliness (Georg Schlisio)
[s-mailx.git] / nail.rc
bloba8fb97a0ab2a92d5ab72ce80e9b14798802fdc9d
1 #--MKRC-START--
2 # /etc/s-nail.rc
3 # Configuration file for S-nail(1).
4 #--MKRC-END--
6 ## The standard POSIX 2008/Cor 1-2013 mandates the following initial settings:
7 # [a]   noallnet, noappend, asksub, noaskbcc, noaskcc, noautoprint,
8 # [b-e] nobang, nocmd, nocrt, nodebug, nodot, escape="~",
9 # [f-i] noflipr, nofolder, header, nohold, noignore, noignoreeof,
10 # [j-o] nokeep, nokeepsave, nometoo, nooutfolder,
11 # [p-r] nopage, prompt="? ", noquiet, norecord,
12 # [s]   save, nosendwait, noshowto, nosign, noSign,
13 # [t-z] toplines="5"
14 # Notes:
15 # - *noonehop* doesn't exist in this implementation.
16 #   To pass through options to the MTA, use the `-O' command line option
17 # - *prompt* is "\\& " by default, which will act POSIX-compliant
18 #   unless the user would set *bsdcompat*
20 ## The remaining content adjusts the standard-imposed default settings.
21 # Note that some of the following flags are specific to S-nail(1) and may thus
22 # not work with other Mail(1) / mailx(1) programs.
23 # Entries are marked [OPTION] if their availability is compile-time dependent
25 # If threaded mode is activated, automatically collapse thread
26 set autocollapse
28 # Enter threaded mode automatically
29 #set autothread autosort=thread
31 # Append rather than prepend when writing to mbox automatically.
32 # This has no effect unless *hold* is unset again
33 set append
35 # Ask for a message subject.
36 set ask
38 # Slightly more "BSDish" behaviour: traditional flag display in the header
39 # summary; *bsdannounce* prints a header summary on folder change and thus
40 # complements *header* on a per-folder basis (it is meaningless unless
41 # *header* is set)
42 set bsdflags bsdannounce
44 # Assume a CRT-like terminal and invoke a $PAGER
45 set crt
47 # Define date display in header summary
48 #set datefield="%R %m-%d" datefield-markout-older="   %g-%m-%d"
50 # When composing messages a line consisting of `.' finalizes a message
51 set dot
53 # Immediately start $EDITOR (or $VISUAL) when composing a message
54 #set editalong
56 # Do not remove empty private mail folders
57 set emptybox
59 # Startup into interactive mode even if the (given) mailbox is empty
60 #set emptystart
62 # [OPTION] Add more entries to the history as is done by default
63 set history-gabby
65 # Do not forward to mbox by default since this is likely to be
66 # irritating for most users today
67 set hold
69 # Quote the original message in replies by "> " as usual on the Internet
70 set indentprefix="> "
72 # Mark messages that have been answered
73 set markanswered
75 # Try to circumvent false or missing MIME Content-Type descriptions
76 set mime-counter-evidence
78 # Control loading of mime.types(5) file: the value may be a combination of the
79 # letters "s" and "u": if "u" is seen ~/.mime.types will be loaded if possible;
80 # "s" adds /etc/mime.types, if available; setting this without any value uses
81 # only a set of builtin mimetypes; the default behaviour equals "us".
82 #set mimetypes-load-control
84 # Do not remove empty mail folders in the spool directory.
85 # This may be relevant for privacy since other users could otherwise create
86 # them with different permissions
87 set keep
89 # When writing mailbox files we strip Content-Length: and Lines: header fields
90 # from edited / changed messages, because S-nail doesn't deal with these
91 # (non-standard) fields -- and since other MUAs may rely on their content, if
92 # present, it seems more useful to strip them than to keep them, now that they
93 # became invalid; set this to include them nonetheless
94 #set keep-content-length
96 # A nice prompt for ISO 6429/ECMA-48 terminals
97 #set prompt="\033[31m?\?[\$ \@]\& \033[0m"
99 # Automatically quote the text of the message that is responded to
100 set quote
102 # On group replies, specify only the sender of the original mail in  To: and
103 # mention it's other recipients in the secondary Cc: instead of placing them
104 # all together in To:
105 set recipients-in-cc
107 # When responding to a message, try to answer in the same character set
108 #set reply-in-same-charset
110 # [OPTION] Outgoing messages are sent in ISO-8859-1 if all their characters
111 # are representable in it, otherwise in UTF-8.
112 # Note: it is highly advisable to read the section "Character sets" of the
113 # manual in order to understand all the possibilities that exist to fine-tune
114 # charset usage (variables also of interest: *ttycharset*, *charset-8bit*,
115 # *sendcharsets-else-ttycharset*; and of course we inherit the $LC_CTYPE /
116 # $LC_ALL / $LANG environment variables and react upon them)
117 set sendcharsets=iso-8859-1,utf-8
119 # Display sender's real names in header summaries
120 set showname
122 # Show recipients of messages sent by the user himself in header summaries
123 set showto
125 # Hide some header fields which are uninteresting for most human readers
126 ignore received in-reply-to message-id references
127 ignore mime-version content-transfer-encoding
129 # Only include selected header fields when forwarding messages.
130 fwdretain subject date from to
132 # Unfortunately some mime.types(5) that are really text were assigned to
133 # `application/xy' rather than to `text/xy'.
134 # The special pipe command `@' will force treatment of an attachment as plain
135 # text, so add some rather useful of those
136 set pipe-application/javascript=@
137 set pipe-application/json=@
138 set pipe-application/mbox=@
139 set pipe-application/pgp-signature=@
140 set pipe-application/x-csh=@
141 set pipe-application/x-latex=@
142 set pipe-application/x-perl=@
143 set pipe-application/x-sh=@
144 set pipe-application/x-shar=@
145 set pipe-application/x-tex=@
146 set pipe-application/x-texinfo=@
147 set pipe-application/x-xfig=@
148 set pipe-application/xhtml+xml=@
149 set pipe-application/xml=@
150 set pipe-application/xml-dtd=@
151 set pipe-application/xslt+xml=@
152 set pipe-image/svg+xml=@
154 # Other pipe-CONTENT/SUBCONTENT entries
155 #set pipe-text/html="lynx -stdin -dump -force_html"
157 # vim:set fenc=utf-8 syntax=conf:s-it-mode