"Fossies" - the Fresh Open Source Software Archive

Member "s-nail-14.9.22/nail.rc" (24 Feb 2021, 9571 Bytes) of package /linux/misc/s-nail-14.9.22.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "nail.rc": 14.9.21_vs_14.9.22.

    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 #@ - Any leading and trailing whitespace (space, tabulator, newline: " \t\n"),
    6 #@   and all members of (the internal variable) *ifs-ws* are removed.
    7 #@ - Empty lines are ignored.
    8 #@ - Any other line is a command line.  Such lines may spread over multiple
    9 #@   lines if a reverse solidus character \ is placed as the last character of
   10 #@   all lines except the final one; any leading whitespace of follow lines is
   11 #@   removed, but trailing whitespace before "escaped newlines" is not.
   12 #@ - The number sign # is the comment-command and causes the (joined) line
   13 #@   (content) to be ignored.
   14 #@ S-nail v14.9.22 / 2021-02-24
   15 
   16 ## Variables
   17 
   18 # The standard POSIX 2008/Cor 2-2016 mandates the following initial settings
   19 # which are established independendly from this file:
   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 #
   28 # Notes:
   29 # - In this implementation:
   30 #   + *sendwait* is set by default (and has extended meaning).
   31 #   + no*onehop* does not exist.
   32 #     (To pass options through to the MTA, either add them after a "--"
   33 #     separator on the command line or set the *mta-arguments* variable.)
   34 # - *hold, *keep*, and *keepsave* are deliberately set below.
   35 # (Keep in SYNC: mx/nail.h:okeys, ./nail.rc, ./nail.1:"Initial settings"!)
   36 
   37 # Adjustments of standard imposed default- as well as other settings follow.
   38 # - Some of the latter are not portable and may thus have no effect with
   39 #   other Mail(1) / mailx(1) / mail(1) programs.
   40 # - "wysh" is one of the "Command modifiers" and is not portable: before v15 it
   41 #   changes the syntax of some old-style commands to sh(1)ell style quoting,
   42 #   also see "COMMANDS" -> "Shell-style argument quoting" in the manual.
   43 # - Availability of entries marked [OPTION] is a compile-time decision.
   44 
   45 # If threaded mode is activated, automatically collapse thread.
   46 set autocollapse
   47 
   48 # Enter threaded mode automatically.
   49 #set autosort=thread
   50 
   51 # Append rather than prepend when writing to mbox automatically.
   52 # Has no effect unless *hold* is unset (it is set below).
   53 # This is a traditional entry and should usually be set.
   54 set append
   55 
   56 # Confirm sending of messages:
   57 set asksend
   58 
   59 # Uncomment this in order to get coloured output in $PAGER (if possible).
   60 #set colour-pager
   61 # If your $PAGER is less(1) or lv(1) you will usually be served with
   62 #  ? wysh set PAGER=less; environ unset LESS
   63 #  ? wysh set PAGER=lv; environ unset LV
   64 
   65 # Assume a CRT-like terminal and invoke $PAGER if output does not fit on
   66 # the screen.  (Set crt=0 to always page; value treated as number of lines.)
   67 set crt
   68 
   69 # When entering compose mode, directly startup into $EDITOR, as via `~e'.
   70 # If the value is "v", startup into $VISUAL instead, as via `~v'.
   71 #set editalong=v
   72 
   73 # When spawning an editor in compose mode (`~e', `~v', *editalong*), allow
   74 # editing of headers.
   75 set editheaders
   76 
   77 # Startup into interactive mode even if the (given) mailbox is empty.
   78 set emptystart
   79 
   80 # When `reply'ing etc. name parts and comments are stripped from receiver
   81 # addresses unless this variable is set.
   82 set fullnames
   83 
   84 # [OPTION] Add more entries to the history as is done by default.
   85 # The latter will cause the built-in editor to save those entries, too.
   86 # (The *history-file* variable controls persistency of the history.)
   87 set history-gabby=all history-gabby-persist
   88 
   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
   92 
   93 # Quote the original message in replies with "> " as usual on the Internet.
   94 # POSIX mandates tabulator ("wysh set indentprefix=$'\t'") as default.
   95 set indentprefix="> "
   96 
   97 # Honour Mail-Followup-To: headers when replying etc.
   98 set followup-to-honour=ask-yes
   99 
  100 # Mark messages that have been answered.
  101 set markanswered
  102 
  103 # Try to circumvent false or missing MIME Content-Type descriptions.
  104 # Do set a value for extended behaviour (see the manual).
  105 #set mime-counter-evidence
  106 set mime-counter-evidence=0b1111
  107 
  108 # Control loading of mime.types(5) file, "s"ystem and/or "u"ser, etc.
  109 # Builtin types exist and may be sufficient.  The default equals "us".
  110 #set mimetypes-load-control
  111 
  112 # Do not remove empty (MBOX) system mailboxes.  (_No_ empty (MBOX) mailbox
  113 # at all if $POSIXLY_CORRECT a.k.a. *posix* is set!)
  114 # This may be relevant for privacy since other users could otherwise create
  115 # them with different permissions.
  116 set keep
  117 
  118 # Do not move `save'd or `write'n message to $MBOX by default since this is
  119 # likely to be irritating for most users today; also see *hold*.
  120 set keepsave
  121 
  122 # An informational prompt (and see "Gimmicks" below).
  123 # Of interest may also be \${^ERRQUEUE-EXISTS} and \${^ERRQUEUE-COUNT}.
  124 # Note the _real_ evaluation occurs once used (see *prompt* manual entry).
  125 #wysh set prompt='?\$?!\$!/\$^ERRNAME[\${account-name}#\${mailbox-display}]? '
  126 
  127 # Automatically quote the text of the message that is responded to.
  128 set quote
  129 
  130 # When replying, do not merge From: and To: of the original message
  131 # into To:.  Instead old From: -> new To:, old To: -> merge Cc:.
  132 set recipients-in-cc
  133 
  134 # When responding to a message, try to answer in the same character set
  135 # (which is subject to `charsetalias' expansion, though).
  136 #set reply-in-same-charset
  137 
  138 # Honour Reply-To: headers when replying etc.
  139 set reply-to-honour=ask-yes
  140 
  141 # [OPTION] Outgoing messages are sent in UTF-8 if possible, otherwise LATIN1.
  142 # Note: it is highly advisable to read the section "Character sets" of the
  143 # manual in order to understand all the possibilities that exist to fine-tune
  144 # charset usage (variables also of interest: *ttycharset*, *charset-8bit*,
  145 # *sendcharsets-else-ttycharset*; and of course we inherit the $LC_CTYPE /
  146 # $LC_ALL / $LANG environment variables and react upon them).
  147 set sendcharsets=utf-8,iso-8859-1
  148 
  149 # Display real sender names in header summaries instead of only addresses.
  150 set showname
  151 
  152 # Show recipients of messages sent by the user himself in header summaries.
  153 set showto
  154 
  155 ## Commands
  156 
  157 # Most commands are not portable to other Mail(1) / mailx(1) / mail(1)
  158 # programs, which is why most commands are commented out.  To remain portable,
  159 # place anything specific in its own file, and then
  160 #   set mailx-extra-rc=~/.my-file"
  161 # in $MAILRC (usually ~/.mailrc).
  162 # The below use the \ command modifier to avoid `commandalias' checks
  163 
  164 # Map ISO-8859-1 to LATIN1, and LATIN1 to CP1252.
  165 # (These mappings are not applied to character sets specified by other
  166 # variables, e.g., *sendcharsets*).
  167 #\charsetalias iso-8859-1 latin1  latin1 cp1252
  168 
  169 # Only include the selected header fields when printing messages
  170 # (`headerpick' is not portable, so use the standard `retain')
  171 retain date sender from to cc subject message-id mail-followup-to reply-to
  172 #\headerpick type retain from_ date sender from to cc subject \
  173 #   message-id mail-followup-to reply-to
  174 # - when forwarding messages
  175 #\headerpick forward retain subject date sender from to cc
  176 # - and do not include these when saving message, etc.
  177 #\if "$features" =@ ,+regex,
  178 #  \headerpick save ignore '^Original-.*$' '^X-.*$'
  179 #\end
  180 
  181 ## Some pipe-TYPE/SUBTYPE entries
  182 
  183 # HTML as text, inline display via lynx(1).
  184 #\if "$features" !@ ,+filter-html-tagsoup,
  185 #   \set pipe-text/html='?* lynx -stdin -dump -force_html'
  186 #\endif
  187 
  188 # "External body", URL type supported only.
  189 #\wysh set pipe-message/external-body='?* echo $MAILX_EXTERNAL_BODY_URL'
  190 
  191 # PDF display, asynchronous display: via `mimeview' command only.
  192 #\wysh set pipe-application/pdf='?=&@\
  193 #   trap "rm -f \"${MAILX_FILENAME_TEMPORARY}\"" EXIT;\
  194 #   trap "trap \"\" INT QUIT TERM; exit 1" INT QUIT TERM;\
  195 #   mupdf "${MAILX_FILENAME_TEMPORARY}"'
  196 
  197 ## Gimmicks
  198 
  199 # More key bindings for the Mailx-Line-Editor (when in interactive mode).
  200 #\if terminal && "$features" =@ +key-bindings
  201 #   \bind base $'\e',d mle-snarf-word-fwd
  202 #   \bind base $'\e',$'\c?' mle-snarf-word-bwd
  203 #   \bind base $'\e',f mle-go-word-fwd
  204 #   \bind base $'\e',b mle-go-word-bwd
  205 #   \bind base $'\cL' mle-clear-screen
  206 #   \bind compose :kf1 ~v
  207 #\endif
  208 
  209 # Coloured prompt for the Mailx-Line-Editor (when in interactive mode).
  210 #\if terminal && "$features" =@ +mle && "$features" =@ +colour
  211 #   \colour 256 mle-position fg=202
  212 #   \colour 256 mle-prompt fg=203
  213 #   \colour 256 mle-error bg=124
  214 #   \colour iso mle-position ft=bold
  215 #   \colour iso mle-prompt fg=brown
  216 #   \colour iso mle-error bg=red
  217 #   \colour mono mle-position ft=reverse
  218 #   \colour mono mle-prompt ft=bold
  219 #   \colour mono mle-error ft=reverse
  220 #\endif
  221 
  222 # Install file-extension handlers to handle MBOXes in various formats.
  223 #\filetype \
  224 #   bz2 'bzip2 -dc' 'bzip2 -zc' \
  225 #   gpg 'gpg -d' 'gpg -e' \
  226 #   gz 'gzip -dc' 'gzip -c' \
  227 #   xz 'xz -dc' 'xz -zc' \
  228 #   zst 'zstd -dc' 'zstd -19 -zc' \
  229 #   zst.pgp 'gpg -d | zstd -dc' 'zstd -19 -zc | gpg -e'
  230 
  231 # If mail is send from cron scripts and iconv(3) is compiled it, it could be
  232 # that sending fails because of invalid (according to locale) character input.
  233 # This undesired event can be prevented as follows, the (possibly) resulting
  234 # octet-stream message data can be read nonetheless via
  235 # *mime-counter-evidence*=0b1111:
  236 #\if ! terminal && "$LOGNAME" == root
  237 #   \set mime-force-sendout
  238 #\endif
  239 
  240 # s-it-mode