"Fossies" - the Fresh Open Source Software Archive

Member "s-nail-14.9.19/nail.rc" (26 Apr 2020, 9508 Bytes) of package /linux/misc/s-nail-14.9.19.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.18_vs_14.9.19.

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