Hello list, hereby i announce S-nail v14.9.13, the "Blue tit's spiral marriage swoop".
v14.9.13 replaces v14.9.12 from yesterday which would pick up an ISO C 2011 statement that is impracticable, thanks to Johannes Schöpfer and Jürgen Daubert for reporting this (i should test without OPT_AUTOCC more often.) I have also fixed -T to match NEWS (manual and code did the opposite). v14.9.12 balls will be removed from the server. Not so much happened as i was busy with other things in the second half of 2018, and could not find a grip: at the source level some efforts to turn this to mailx have taken place, including early work on a code abstraction that will be shared with my (g)roff clone: it was tiring to come back to old ideas that i have already implemented multiple times and in different languages. To mention it for the curious. So: this is a bugfix release, in fact it fixes a tremendous amount thereof, [master] was ahead by 62 commits from [v14.9.11] (not all bugs though, hrmhrm), but also with, well, a few new features, and of course, development to the last minute. ^_^ Credits, in order of commit appearance: Jörg Schilling, Paride Legovini, Olav Mørkrid, Ralph Corderoy, Rich Felker, Predrag Punosevac, Russell Bell, Dirk-Wilhelm Peters, Jean-Marc Pigeon, Warren Toomey, Cág, Martin Neitzel, Dr. Werner Fink, Dr. Matthias St. Pierre, Kurt Roeckx, Mike Sharov, Joan and Johannes Schöpfer. Very special thanks go to Jean-Marc Pigeon of OSUKISS Linux, who provided me access to a VZGOT container on the most "beefy" machine i have ever had access to! It is ever so astonishing to have work done in 90 seconds on this supercomputer which requires an hour or more here. Thank you, Jean-Marc. And thanks to Kimura-san not only my web server became accessible via TLSv1.3 (out-of-line), but we also have landed on FreeBSD! Kimura-san is the one who installed a sympathic cron job that reminds me of cherry petals wafting in a warm spring breeze -- in winter! We welcome Russell Bell, Jean-Marc Pigeon, Warren Toomey, Dr. Matthias St. Pierre, Kurt Roeckx, Mike Sharov, Joan and Johannes Schöpfer in THANKS. Number games ^^^^^^^^^^^^ The release commit is [v14.9.13.ar] ([release/v14.9.13]:[855af73b]), and it has also been stored as [timeline]:[501cdfcb]. The stable branch was tagged [v14.9.13] ([stable/v14.9]:[a5498c18]). The git(1) release commits and tags, as well as the release balls have been signed with the OpenPGP signing subkey EEC8C2FF of key stef...@sdaoden.eu / 1883A0DD (EE19 E1C1 F2F7 054F 8D39 54D8 3089 64B5 1883 A0DD) available on OpenPGP key servers, my website and download area. Release balls and OpenPGP signatures (.asc) can be downloaded via HTTPS/HTTP at \https?://ftp.sdaoden.eu. Copies of the signatures can also be found at the end of this message. s-nail-14.9.13.tar.xz: SHA1 1d4dc8cbd57d6f2b14c6e7509fdb7a25670b362e SHA256 edfa287d04bfcd03dd1c23277885b385ff47cfff92d0a116467996addba9ddd4 SHA512 6467846fab5752c708886ba7a66cd2038effc0cf8d72e2feb670283cf1d5436c27037087eeaa201c074964476ff0c213cffe74169fb03089ebf964fcc766e6ea s-nail-14.9.13.tar.gz: SHA1 a00b523d1e2475d4d41e06e0930240e7f1973780 SHA256 6cfeed551baa1116b1d295e3c0701344597faf12a9747a8363092b80964ae468 SHA512 1cdf5cab8a59510b25d0a2f3b441a59af23301c6e840efd392f3fe70d74cb8575ecf6d81c59bc671cb86e1dda5b05eb4b45b89f85a57c416ce36376fc7689a50 All files are available as "-latest" symbolic links, too, e.g., s-nail-latest.txt (a copy of this announcement text). Announcement : https?://www.sdaoden.eu/code-nail-ann.html Manual : https?://www.sdaoden.eu/code-nail.html Web : https?://www.sdaoden.eu/code.html#s-mailx git(1) clone : \https?://git.sdaoden.eu/scm/s-nail.git git(1) browse: https?://git.sdaoden.eu/cgit/s-nail.git mdocmx(7) anchors are denoted by a number-sign #: typing "^A ANCHOR" while reading the man(1)ual in a capable less(1) will scroll to the manual's Point-Of-Interest, and pointing a web browser to the "#ANCHOR" of the online manual works. NOTES, ChangeLog (packager-affine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Packagers could follow stable/* via git(1) and the "grappa" mode of the release script (see README); perl(1) is required to be totally en par with an official release. (Paride Legovini) $ git checkout stable/stable $ sh mk/make-release.sh grappa mybranch ... Program version is [.], packager release addition shall be: xy Is s-nail <v[.]-xy> correct? [y/n] y Switched to branch 'mybranch' $ git commit -S -n -m 'My release [.]-xy' - $MAKEJOBS vanished, just use -j or whatever your make(1) supports. Luckily the tested make(1)s can be persuaded to dig each others .WAIT / .WAIT: / .NOTPARALLEL: targets.. and do the right thing. - $OBJDIR support added, i use it for building / testing on tmpfs. It works in conjunction with make-emerge.sh, too, thus out-of-tree out-of-tree is possible (more or less; see INSTALL). $ make tangerine OBJDIR=/tmp/x/y/z - Option VAL_PRIVSEP_USER has been renamed to VAL_PS_DOTLOCK_USER (to reflect the new "deep tree" directory layout). - Option OPT_QUOTE_FOLD has been renamed to OPT_FILTER_QUOTE_FOLD (to reflect later code changes upwards compatibly). - New options OPT_CMD_VEXPR and OPT_CMD_CSOP, by default enabled. To include the commands `vexpr'#299 and the new `csop'#162, which now provides the byte string functions of the former. (Still available through `vexpr' until v15.) (I hope to be able to later provide a `usop' or `unisop' or so.) - *v15-compat*#584 can now have a value: if it is set, the `wysh'#126 command modifier which chooses shell quoting rules for some commands is implicit. - We have some (more) backward incompatible changes, though it is likely most users will not recognize the differences. o *headline*#421 format %T is obsolete, %L fits better. o `csop'#162 `hash' and `hash32' subcommands (formerly from `vexpr'#299) use a slightly changed hash algorithm. (Which results in an improved distribution for tested sets of words in power-of-two spaced dictionary.) These are affected by the change in the second next item, too. o Changed to use shell quoting rules for arguments: + `mimetype'#219 and `unmimetype'#220. This is affected by the change in the next item, too. + `shortcut'#269 and `unshortcut'#270. + `mlist'#222 and `unmlist'#223 as well as `mlsubscribe'#224 and `unmlsubscribe'#225. + `alias'#139, too. o Changed (with legacy compat) the "@[i]" modifier prefix to a question-mark ?[case|..] suffix, as is known from URLs. We head towards direction URL syntax, now here too. + `if'#211 and `elif'#182. E.g., 'wysh if "abc" ==?case "ABC"' is true, as well as is 'wysh if 0xFFFFFFFFFFFFFFFF -eq?saturated 36#1Y2P0IJ32E8E7'. "==?" and "-eq?" would have been sufficient, here. (No unsigned mode (yet) for `if'#211.) Yes, `if'#211 and `elif'#182 now support `wysh'#126, and see already expanded arguments, then. No more "triggers". This finally makes it possible to write things like ? wysh if X;A;wysh elif Y;B;else;C;end Note 'else;C' not 'else C'. New operators: '-n "$VAR"' and '-z "$VAR"' work like in the shell, '-N varname' and '-Z varname' do not test the expansion but the existence of variables instead. Two argument forms require `wysh'#126. + `mimetype'#219 markers have changed likewise; this also affects *pipe-TYPE/SUBTYPE*#482 and *pipe-EXTENSION*#489 (with legacy compatibility and -v/-d obsoletion warnings)! ? mimetype ?t text/x-awk awk ? wysh set pipe-application/pdf='?=&?\ trap "rm -f \"${MAILX_FILENAME_TEMPORARY}\"" EXIT;\ trap "trap \"\" INT QUIT TERM; exit 1" INT QUIT TERM;\ mupdf "${MAILX_FILENAME_TEMPORARY}"' + `vexpr'#299 (and `csop'#162) modifiers changed likewise. The case-insensitive subcommands "ifind" and "iregex" have been obsoleted, just use the ?[case] modifier to the regular function instead. P.S.: Thanks to Rich Felker the `regex' subcommands now works as desired even with empty intermediate submatches. o Changed address parse mode for command line arguments plus. This modifies decade old tradition, but results in a more predictable behaviour i think. Most people will possibly even be surprised to see the old behaviour: $ </dev/null s-nail-old -dsubject ' du , de <p@p> , pp , du ' -> To: du, de <p@p>, pp new: $ </dev/null s-nail -dsubject ' du , de <p@p> , pp , du ' -> To: "du , de , pp , du " <p@p> Of course anything but perfect, our address parser is very complicated yet far from being acceptable. (Dr. Werner Fink) This affects: + -b#58, -c#60 and To: receivers, as above. (We also have a new -T#80 receiver multiplexer, which is configurable in this regard, please see below for more.) + The -r#77 address. This saw more changes: the content is no longer evaluated via shell expression parser (when *v15-compat* is set).. unless explicitly requested via the *expandaddr*#405 flag "shquote". + *sender*#521 variable. + `addrcodec'#138 command, likewise; old: ? addrc e du , e <w@d> , d du , e <w@d> , d #?1!22/INVAL new: ? addrc e du , e <w@d> , d "du , e , d" <w@d> #?0!0/NONE + `digmsg'#170 and `~^'#316 now use this parse mode fix for headers which need a single receiver, which is backward compatible but now safer since it can be fooled less easily (to split into a list what should be a single address, as shown above for `addrcodec'#138). They now can also be forced to use that parse mode for To:, Cc:, Bcc: with a new question mark modifier "?single", here the word "single" is optional. ~^ header insert To?single: exa, <m@ple> ~^ header show to - By established rules and popular demand occurrances of '^From_' (see *mbox-rfc4155*#448) will be MBOXO quoted (prefixed with greater-than sign '>') instead of causing a non-destructive encoding like 'quoted-printable' to be chosen, unless context (e.g., message signing) requires otherwise. Only with *mime-encoding*#457=8bit. - We now support long "Options"#5 -- try --long-help. - Finally, it is possible to force sending out messages with the new *mime-force-sendout*#458 variable. If this MUA has been compiled with iconv(3) support it can happen that sending otherwise valid text messages fails because of invalid bytes sequences according to the locale; setting this new variable will avoid this; use *mime-counter-evidence*#456 to view such messages nonetheless. (Dr. Werner Fink) ChangeLog ^^^^^^^^^ - `mimeview'#221 works again with binary formats. (Russell Bell) - IMAP searches via IMAP without matches no longer report a single match. (Dirk-Wilhelm Peters) - New -Y#86 aka --cmd= option to inject commands to be executed when startup is completed (as opposed to the earlier -X#85 aka --startup-cmd=). These commands appear as if the user had typed them in. - A new *on-history-addition*#476 can be used to filter what enters the `history'#209. - New "fcc" flag for *expandaddr*#405. (Olav Mørkrid) And "domaincheck" will cause target domain comparison against entries in the new *expandaddr-domaincheck*#406. (Olav Mørkrid) - New *mbox-fcc-and-pcc*#447 will write out file and pipe addresses as a plain RFC5322 message rather than an MBOX. (Olav Mørkrid) - The `errors'#186 queue existance and size is announced via *^ERRQUEUE-EXISTS*#350 and *^ERRQUEUE-COUNT*#349. (Russell Bell, Martin Neitzel) - Our MBOX parser is now truly compliant to POSIX. (Dr. Werner Fink) - We follow symbolic links again when writing files. (Russell Bell) - *tls-rand-file*#576 is in fact now necessarily one of the optional *tls-features*#573. (Mike Sharov) - New command line option -T#80 aka --target='FIELD: BODY'. FIELD can be To:, Cc:, Bcc: or Fcc:. The BODY is parsed as a list (just as if the given FIELD would be part of a template message fed in via -t#81), but the "?single" modifier suffix can be used to avoid this. (Dr. Werner Fink) git(1) shortlog (edited) ^^^^^^^^^^^^^^^^^^^^^^^^ v14.9.13 addition: Steffen Nurpmeso (9): b1c9e48b ISO C 2011 _Static_assert() is unusable! (Johannes Schöpfer, Jürgen Daubert) 90e9ccc6 THANKS: Johannes Schöpfer 7542e1dc mk/make-config.sh: if !DEVEL, suppress -Wunused-value (Jean-Marc Pigeon) 776d9dc3 Add n_GO_INPUT_IGNERR: do not *errexit* due to *on-history-addition*! 4b3a37e4 -T: FIX brain damage, implement as announced in NEWS! Steffen Nurpmeso (277): 399fd251 nail.1: oops: document wysh EARLY (Jörg Schilling)! 46d851c3 Clarify *posix*/wysh log message (Jörg Schilling) 847d06f7 `signal': fix: make interruptible in macros; _really_ return INTR 11d010e0 make-config.in: fix: remove ..-uninstall.sh in distclean: (Paride Legovini).. 72629b8f Several: fix spelling mistakes (Paride Legovini) 01f6f96c a_coll_quote_message(): fix: stop mis-reuse of indicator (Olav Mørkrid).. 67e8dcc1 MLE:a_tty_readline(): allow terminal type-ahead in raw mode (Ralph Corderoy) b6f480c7 c_vexpr(): i?regex: fix false optional atom match assignments (Rich Felker) d81242a4 url_parse(): fix false preprocessor condition for !HAVE_TLS (Olav Mørkrid) e4624808 Fix former: jump always needed since addition of `tls'! (Olav Mørkrid) 80984e8c make-release source: add "grappa" mode (Paride Legovini) c45d9b08 README: add docu for [80984e8c] (Paride Legovini) c32a821a url_parse(): tweak!?! an error message (Olav Mørkrid) 23d68474 Tweak [34b66785] + document $COLUMNS and $LINES in batch mode (Jörg Schilling) fa8ea474 Uninstall s-nail-uninstall.sh (Paride Legovini) c9693664 a_chead__hprf(): fix: do not overflow lines (for numerics) (Jörg Schilling) 99c0c09b Fix [fa8ea474] and -uninstall script with DESTDIR (Paride Legovini) 414a8ec3 IMAP: fix dumb [dd6adbb3] ICONV/ALWAYS_UNICODE_LOCALE! (Predrag Punosevac) 102ddd7b make-errors.sh: Fix: add [E]LOOP! (Russell Bell) 409182a3 THANKS: Russell Bell 1a251320 a_header_cmatch(): fix long standing BSD Mail bug (Russell Bell).. 187d0c36 `mimeview': fix binary formats (Russell Bell).. 3f681781 FIX IMAP searches via IMAP without matches (Dirk-Wilhelm Peters).. cbb6297a MLE: FIX off-by-one (found on OSUKISS account: Jean-Marc Pigeon).. 14d236e0 THANKS: Jean-Marc Pigeon e0edb15e MLE: FIX `bind' crash if expansion is empty.. bd2932a5 a_tty_kht(): fix: do not expand "/a<TAB>" in 2nd try of "x/a<TAB>" e17a72a6 a_shexp__glob(): fix false concatenation one letter dirs (x/y/ -> xy/) 682b1eab Add "-Y cmd": add command to execute after startup completed 96772eda Add *on-history-addition* hook 9d43cb42 (BWDIC!) `mimetype', `unmimetype': only use shell quoting 41393d6c nail.1: FAQ: add "Howto handle stale dotlock files" 53d871a2 Add "fcc" flag for *expandaddr* (Olav Mørkrid) 066e232b Compose-mode: In-Reply-To: -> "-": thread of one message (Warren Toomey) c50d6882 THANKS: Warren Toomey a60d46e7 Add *mbox-fcc-and-pcc* (Olav Mørkrid) 038591a8 *expandaddr*: add "domaincheck" (via *expandaddr-domaincheck*) (Olav Mørkrid) 6b6a302c a_socket_connect(): show progress if interactive (Cág) 70a7b713 Add *socket-connect-timeout* (Cág) 3d4527be Require -vv not -v for some verbose stuff 79fee7e4 termcap care for auto_right_margin/eat_newline_glitch (Jörg Schilling).. 4ef2c81f CS hash: mix final hash as via Bret Mulvey e6fbc7df (BWDIC!) VAL_PRIVSEP_USER -> VAL_DOTLOCK_PS_USER (and helper, too).. bc1501e1 -V: more verbose version via new shared n_version() (Russell Bell) 36f94d20 Add ^ERRQUEUE-{COUNT,EXISTS} (Russell Bell, Martin Neitzel) dc965574 a_folder_mbox_setptr(): improve/correct MBOX detection (Dr. Werner Fink).. e8209a21 Auto-fix when MBOX had From_ errors on read (Dr. Werner Fink).. ce4bf2e2 Disable usage of O_NOFOLLOW again (Russell Bell).. 73f01290 `vexpr': add file-stat, file-lstat subcommands 8f81863d mx-test.sh: add test for [187d0c36] (Russell Bell) f65ea88f mx-test.sh: set $TMPDIR= to the test dir, too d904e20f src/mx/send.c:_pipefile(): longer random name on e.g. Solaris.. c0911bd0 Add *mime-force-sendout* (Dr. Werner Fink) 2991b36c RAND_DRBG_set_reseed_defaults() (Dr. M. St. Pierre, Kurt Roeckx).. 3df346bf THANKS: Dr. Matthias St. Pierre 9fbf612f THANKS: Kurt Roeckx 06157945 PRNG: (hopefully) improve our homebrew seed 5c2a013b *tls-rand-file*: optional *tls-feature* it is (Mike Sharov).. 9e701b87 THANKS: Mike Sharov e25adacc nail.1: -M: mention MIME type classification (Joan) c0e3ce09 THANKS: Joan e26bb201 mx-test.sh:t_shcodec: test Unicode 3.0, not 6.0 character (Dirk-Wilhelm Peters) a0c2e3dd a_dotlock_create(): tweak dotlock-ps (Jean-Marc Pigeon, Russell Bell).. e9446024 n_nodename(): ensure hostname is not empty (Jean-Marc Pigeon).. 901f1d63 (BWDIC!) Tweak addr parser a bit, add GNOT_A_LIST,GNULL_OK (Dr. Werner Fink).. 8274bc5c (BWDIC!) config/make stuff: unroll! -> VAL_PS_DOTLOCK_USER!.. 56caf9cc (BWDIC!) *headline*: %T -> %L 78d97b02 (BWDIC!) `shortcut': split out of groups, use su_cs_dict; -> sh arg. quoting 4f877ab3 (BWDIC!) `mlist',`mlsubscribe': detach, use su_cs_dict; -> sh arg. quoting 0fc59f2f (BWDIC!) Warp `alias' to su_cs_dict; -> sh arg. quoting 69977fa3 Fix -: arg: was yet [:/], but should have been [/-] e7b50edf a_amv_var_lookup(): panic if default value cannot be set (Russell Bell).. 1d275b60 *sender*: use n_extract_single() 0f52c7cd (BWDIC!) `digmsg': a_dmsg__header(): use n_extract_single() if possible 1305284a Reintroduce ^From_ MBOXO with *mime-encoding*=8b (too many!).. 8fdbeb87 ([BWDIC!]) `mimetype' / MIME type markers: use ? trigger, not @ 0a0ef19f ([BWDIC!]) Add new OPT_CMD_VEXPR and OPT_CMD_CSOP, by default enabled.. 433f0eb4 ([BWDIC!]) `if/elif': change modifier to ? suffix.. 81b2e119 Add "-T arget:address" a.k.a. --target= (Dr. Werner Fink).. c286d6ad (BWDIC!) OPT_QUOTE_FOLD->OPT_FILTER_QUOTE_FOLD; sort OPT_s 873ac396 *v15-compat*: turn to value, extend meaning (imply `wysh').. f1721ef9 `bind': act like 'bind*' when used without arguments 8f967543 (BWDIC!) nail.1: `csop': document hash algorithm change 624fc223 `if', `elif': support wysh; add two argument -N, -n, -Z and -z 138de50c `if', `elif': support ?[saturated] integer comparisons d8efd395 n_go_main_loop(): untangle SOURCING/ROBOT; no *newmail* checks during injections! 22f2eea7 a_shexp__glob(): support diving under EACCESS path (Dr. Werner Fink).. 3e81e69b a_shexp__glob(): optimize: if it cannot be a pattern, simply dive in 2cdc3358 (BWDIC!) -b,-c,TO: no longer parse as lists! 60a1b30e -r: do not parse argument with shexp 973675b5 -r: support "shquote" *expandaddr* flag 12043b7c Support ?[single] modifier for To:, Cc: and Bcc: 0c2ab4bf `digmsg',`~^': support ?[single] modifier for To:, Cc: and Bcc:.. v14.9.11 ("Tit family enjoying a bath"), 2018-08-08 --------------------------------------------------- A hot summer bugfix release, but it surely brings in some new features, like TLS fingerprinting and `digmsg' message access. An embarassing number of bugfixes have been seen, to fix IMAP UID handling on 32-bit hosts, UTF-8, `readall' with empty lines, rare endless iconv(3) loops, false qsort(3)ing of addressee lists, crashes due to false user shell quoting, acceptance of "0" port numbers, and more. Most of these cases now have tests. Credits, in order of commit appearance: Paride Legovini, Andrew Gee, Olav Mørkrid, Kevin McCarthy, Michael Dressel, Jürgen Bruckner, Robert Elz, Rudolf Sykora, Doug McIlroy, Gavin Troy and Jörg Schilling. A special credit to Coverity.com again, it found a bug! (<https://scan.coverity.com/projects/s-nail>, project number 444.) We welcome Andrew Gee, Kevin McCarthy, Michael Dressel, Olav Mørkrid and Jürgen Bruckner in THANKS. NOTES, ChangeLog (packager-affine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - I have discovered that GnuPG can --export-secret-subkey so that the real/full private key is no longer needed to --sign, and the excerpts of the private one can have a different password, too. So i have created a new for-signing subkey: EEC8C2FF. Unfortunately it is not possible to verify new signatures with the old public key, an update is necessary. For example via https://ftp.sdaoden.eu/steffen.asc or just update 1883A0DD via normal gpg(1). - Maildir support is now optional but default via OPT_MAILDIR. (Paride Legovini) - I hope for the last time there has been a change to SSL configuration: i have renamed all ssl* variables to tls*. The old ssl* ones still exist until v15, though, yet obsoletion warnings will be produced. This is so because i expect that in a not too distant future only the term TLS will be around. Also the term CipherList was falsely used, it should have been CipherString. - Most (if not all) commands which take a message list and a file target now use shell-style quoting. (Before that say `copy'#161 scanned backwards over "something possibly quoted", took that off, then treated the rest as a message list. Now shell tokens are parsed starting at the front, the last is taken off, and anything before that is the message list.) (Gavin Troy. 2013.) - `~^#'? "header show" now backward-incompatibly shows the address type in field 1, but since this _only_ applies to non-network addresses i made the change. - We will find ncurses on DragonFly BSD. - On Solaris tests no longer need GNU cksum(1): the Solaris cksum is different only for whitespace separators. (Jörg Schilling) - All generated files reside in .obj/, and the tests run in there, too. A "rm -f .obj" should suffice to clean anything up. ChangeLog ^^^^^^^^^ - `~F'#323, `~f'#324, `~M'#329, `~m'#330, `~U'#338 and `~u'#339 now default to the current message (the "dot"). (Andrew Gee) - *indentprefix*#436 handling has had its pitfalls when quoting messages. (Andrew Gee) - -r#77 will again set *from*#418 even after -S#78 has been used to set *from*. (Michael Dressel) - No longer process From: (*from*#418) content via `alternates'#141 when Sender: (*sender*#521) is set. (Michael Dressel) - Because the priority class of headers was not taken into account, it could happen that addressees in Cc: would remain but the same in To: were removed. (Michael Dressel) - IMAP accounts for RFC 4551 (and 7162) and supports 64-bit UIDVALIDITY. - *spamfilter-rate-scanscore*#558 could crash if specification did not match program output. - Shims for TLSv1.3 support, e.g., for *tls-config-pairs*#570. - Obsoleted *dotlock-ignore-error*, added *dotlock-disable*#399. (Paride Legovini) - In compose-mode, removing the In-Reply-To: header breaks an old, and starts a new thread. (Doug McIlroy) - Added new *forward-inject-tail*#417, *quote-inject-head*#504 and *quote-inject-tail*#505 variables, and extended the meaning of *quote*#500. All of *{forward,quote}-inject-{head,tail}* now support a compose-mode specific set of formats (see *quote-inject-head*#504), for now a few only. (This adds meaning onto the content of *forward-inject-head*#416 as introduced in v14.9.0.) The generated output honours *quote-fold*#503, which now takes an optional third argument in order to produce better output. While here, introduce the new command escape `~Q'#332 which performs full *quote*#500 cycles on the given message list. - Fcc: headers are now understood in -t#81 templates or when placed in compose mode (`~v'#340, *editalong*#400 etc.). Since each such header only takes one addressee, no quoting issues apply, the entire header body is the value. - `~|'#315 will pass the entire message including headers when used as "~||", e.g., prepend a file-carbon-copy message header: ~|| echo Fcc: /tmp/test; cat - New `tls'#285 multiplexer command. Yet primitive and only supports a `fingerprint' subcommand. Supports `vput'#125. The new *tls-fingerprint*#574 variable chain aids in adding support for connection verification without an installed CA certificate pool in conjunction with the new *tls-fingerprint-digest*#575 chain. Consequently *smime-sign-message-digest* has been renamed to *smime-sign-digest*#541 (old version will cease in v15). The latter now defaults to SHA512 if possible. - New MLE commands mle-go-screen-bwd and mle-go-screen-fwd to go backward and forward one screenful. And a new mle-clear-screen command. (Todd C. Miller) - New *expandaddr*#405 setting "shquote" will evaluate addresses as if specified within $'' shell-quotes for -b#58, -c#60, and all direct command line receivers. This allows for, e.g., $ s-nail -Sexpandaddr=shquote '\$contact-mail' - *quote-as-attachment*#501 no longer needs to be set before compose mode is entered in order to become honoured. - Even for -H#67 or -L#70 *folder-hook*#411s will now be called. Possible sorting is also applied. - `='#133 now optionally supports message list arguments and the `vput'#125 modifier in order to store the result list. The new `digmsg'#170 multiplexer adds some message access, just like `~^'#316 does in compose mode. In fact the set of commands is shared, yet only in compose mode `digmsg' can change messages or access attachments until v15, however. For example, #?0[steffen@essex nail.git]$ cat > /tmp/z.rc <<'_EOT' define one { if [ "${#}" -gt 0 ] digmsg create $1 - # no `read'/`readall' overlay but stdout #digmsg $1 header list digmsg $1 header show subject digmsg remove $1 shift \eval xcall one "$@" \end } define all { local set all # localize ("localopts yes" would do too) vput = all *; echo all: $all; eval call one $all } _EOT #?0[steffen@essex nail.git]$ MAILRC=/tmp/z.rc \ .obj/s-nail -:u -Snoheader -Squiet -Rf /tmp/z ? call all all: 1 2 3 212 Subject Re: [S-mailx] FYI: after USB stick loss i have rotated keys, plus 212 Subject Re: Problem with page? 212 Subject Re: s-nail Source ... ? x git(1) shortlog: Steffen Nurpmeso (203): v14.9.10 ("(40th Mail anniversary) Blue tit"), 2018-03-25 --------------------------------------------------------- On this day in 1978 Kurt Shoens placed the following comment in def.h (now it is in nail.h): /* * Mail -- a mail program * * Author: Kurt Shoens (UCB) March 25, 1978 */ v14.9.10 is mostly a stability and bugfix release. It has seen a full test series including Coverity.com scans. It fixes bugs i have introduced (also a double free in IMAP cache that i introduced for v14.9.* series to address Coverity CID 1376978..). In the end i am saying thanks to Gunnar Ritter for the IMAP module, and absolutely especially his really neat idea of an IMAP cache including offline work queue. (IMAP will nonetheless temporarily go in v15, but these ideas will come back thereafter.) I have gray hairs now. Credits, in order of commit appearance: William Yodlowsky, Stuart Henderson, Jörg Schilling, Viktor SZÉPE, Rich Felker, Ralph Corderoy and Philipp Gesang. A special credit to Coverity.com again. Because: tcc is 618496 bytes, pcc is 851968+24576 bytes, but gcc is 73355264 bytes and clang is even 147406848 bytes, i wonder why the latter two never said a word that would have addressed the pretty obvious CID 1387053! [Use of initialized value, the author.] We welcome Stuart Henderson and Philipp Gesang in THANKS. NOTES, ChangeLog (packager-affine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - The balls are now build with umask 0022 not 0027. (William Yodlowsky, Stuart Henderson) - One actual development of this version was the addition of multiple choice VAL_ues, as documented in make.rc. For now we have VAL_IDNA (for OPT_IDNA) VAL_IDNA="idnkit idn2 idn" and VAL_RANDOM (by itself) VAL_RANDOM="arc4 ssl libgetrandom sysgetrandom urandom builtin" (Stuart Henderson) In brief: The value is interpreted as a whitespace separated list of strings, like "idn2 idn idnkit", case is ignored, order is important. The special strings "all" and "any" as well as the empty value are wildcard matches; if any entry in the list is a wildcard match, the rest of the list is ignored. The special string "error" will abort configuration once its list position is reached; this is only supported if documented, and not with an accompanying OPT_ (which then offers "require", as below). Since this VAL_RANDOM approach is so much better i have dropped OPT_SSL_RANDOM and OPT_NOEXTRANDOM that were recently introduced again. They were c..p. - Support for idnkit 2.3 has been added. Support for idnkit 1 (especially as idnkitlite) has been fixed. - For the first time this codebase should be able to handle invalid MBOX mailboxes (produced by, e.g., dma(1)) gracefully. I hope i have found all places (sic) where code has to be fixed. E.g., "? copy * INVALID-MBOX" now works. (Smalltalk already knew objects which know what they are doing are for the better... This is v15, then.) - P.S.: the two FreeBSD test failures are noted in INSTALL. ChangeLog ^^^^^^^^^ - *asksend*#364 will now really allow recomposing. - `help'#208 now supports recursive `commandalias'#158es, and command self-recursion detection now works differently, it has been false for something like commandalias x q; commandalias q echo au since q became expanded to `quit'#243 (alias expansion equals new command word). New behaviour: we allow equals once: commandalias q q; commandalias x q; x -> x -> q -> q -> quit - *editalong*#400 can have a value, say "set editalong=v" and it will startup $VISUAL#617 not $EDITOR#595. - Path separators are now normalized, thus all places, including MLE tab-expansion ("On terminal control and line editor"#17), can expand something like "///t*////t*". - -E#63 flag will not be obsoleted. -D#61 flag has been reintroduced (sets *disconnected*#642 right away, was not reinstantiated with the rest of the IMAP support.) git(1) shortlog: Steffen Nurpmeso (71) v14.9.9 ("Marsh tit savours first spring sun, II") 2018-03-06 ------------------------------------------------------------- A bugfix release. I hope with this the fallout of the Christmas 2016 "address the Dr. Problem workshop" has been fully resolved and thus MIME for header address fields, even if iconv(3) is involved, been fully restored! We have even more tests for this now. The release v14.9.8 was broken on big endian machines. I will remove the v14.9.8 balls from the server by the weekend. Sorry for the inconvenience! Credits, in order of commit appearance: Slavko, Matej Mužila, Rich Felker, Simon McVittie, Paride Legovini, Cág, Predrag Punosevac. We welcome Slavko, Matej Mužila, Rich Felker and Simon McVittie in THANKS. NOTES, ChangeLog (packager-affine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - The v14.9.* series called *pipe-TYPE/SUBTYPE*#482 handlers in display or quote mode with CR (carriage-return) bytes stripped because of a missing output file comparison check, which broke binary formats etc. (Slavko) - We now have native support for Libidn2. (Matej Mužila) - uname(1) is now hookable by setting the shell variable uname when calling make ("uname=MY-UNAME make config" etc.). (Simon McVittie) We no longer bake the kernel version into the binary, and `version'#298 includes uname(2) output. (Simon McVittie, Paride Legovini) - We now support a fallback P(seudo)R(andomNumber)G(enerator) initialization even if getrandom(2)/getrandom(3) has been found by the configuration, just like we do for "/dev/urandom" usage. This does not affect systems with arc4random(3) or OpenSSL random usage. (David Čepelík, Simon McVittie) A new OPT_SSL_RANDOM make.rc variable, by default initialized to the value of OPT_SSL. ChangeLog ^^^^^^^^^ - `~@'#314 list-edit behaviour in -##88 batch mode was broken. - Character set names will now undergo generic normalization, including stripping of iconv(3) //SUFFIXes. git(1) shortlog: Steffen Nurpmeso (33) v14.9.7 ("Marsh tit patiently scraping bark") 2018-02-16 -------------------------------------------------------- A maintenance release which fixes bugs and brings in features. Credits, in order of commit appearance: Alexander Harm, Viktor SZÉPE, Paul Eggert, Joseph Bisch, Paride Legovini, and Peter J. Holzer. A special credit to the disappearing mutt(1) bug tracker. And to Gmane.org for creating gmane.mail.s-mailx.general! Thanks Paride Legovini for becoming maintainer of the Debian port. We welcome Joseph Bisch, Paride Legovini, and Peter J. Holzer in THANKS. NOTES, ChangeLog (packager-affine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - The USB stick loss reported for v14.9.6 was fake news, so to say, the stick exists and therefore the old key is not compromised. - We are back at Gmane.org! news.gmane.org/gmane.mail.s-mailx.general - `history'#209 has learned to be context-sensitive a bit, and has two new subcommands, `load' and `save'. This is in parts backward incompatible because it needs a new *history-file*#424 format; however, the old format can be loaded yet compose-mode commands will not appear in compose mode no more. Iirc you can start with an old format then `save' to the new, then replace the "d" in the first column with "c" for compose-mode commands which should appear correctly. - Obsoletion warnings for variables now happen at `set'#265 time instead of when used. Running once via -v#84 may be beneficial. - The saturation modifier of `vexpr'#299 is henceforth a prefix, the suffix version is obsolete (but still supported for a while). - A network address that contains no domain-, but only a valid local user <name> in angle brackets will be automatically expanded to a valid address when *hostname*#429 is set to a non-empty value; setting it to the empty value instructs us that the used *mta*#460 (including builtin SMTP) will perform the necessary expansion. (Viktor SZÉPE) Note that *hostname*#429 as well as *smtp-hostname*#544 will now undergo IDNA expansion if IDNA is supported. And *from*#418 and *sender*#521 are now verified at `set'#265 time, not when used. (Viktor SZÉPE) - The commit message in [d503bd82] is wrong, apologies to Paride Legovini. The test(1) operator "-n" appeared in Seventh Edition UNIX, not V8 as falsely claimed. ChangeLog ^^^^^^^^^ - Our `addrcodec'#138 parser chokes on lesser constructs. - Presence of command-line MTA arguments without *expandargv*#407 are now a hard error. It was my fault that this was not the default from the very start. (Viktor SZÉPE) - Seen on the mutt bug tracker, we also still have had problems with time settings that cross 32-bit boundaries. As that is in parts induced by the C standard, now implement those parts on our own, and be super careful in general. (Joseph Bisch) - The `~@'#314 command escape did not shell-unquote the user input again and was thus a bit broken; message attachments also work again. - Support custom headers from the command line via -C#59. And *customhdr*#393 is verified upon `set'#265 time. - The simple builtin HTML viewer now supports <blockquote> elements, which many web mailers, most notably gmail, use for citation. (Peter J. Holzer) git(1) shortlog: Paride Legovini (1), Steffen Nurpmeso (66) v14.9.6 ("Marsh tit abiding a snow storm"), 2017-12-05 ------------------------------------------------------ A bugfix release which fixes four serious and three other bugs. A few new features came in, too. Many thanks go to Ralph Corderoy who reported an issue that was caused by a terrible, terrible word reversal that i managed to produce in December 2016, and which caused the v14.9.x series to not MIME encode (non-address) content of address header fields! Credits, in order of commit appearance: Thomas Dickey, Andreas Baumann, Erich Eckner, Gaetan Bisson, Solar Designer, Cág, Ivan Tham, Ralph Corderoy and Doug McIlroy. We welcome Andreas Baumann, Erich Eckner, Solar Designer and Cág in THANKS. NOTES, ChangeLog (packager-affine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - After USB stick loss the authors OpenPGP key has been switched to pub 4096R/1883A0DD 2017-11-30 [expires: 2027-11-28] Key fingerprint = EE19 E1C1 F2F7 054F 8D39 54D8 3089 64B5 1883 A0DD uid Steffen Nurpmeso <stef...@sdaoden.eu> - $TMPDIR#615 no longer honoured for root runs. (Solar Designer) - *mime-encoding*#457 defaults to quoted-printable again. (Cág) - We _can_ MIME encode even header fields which contain addresses. Thanks to Ralph Corderoy we now also _do_ so again! ChangeLog ^^^^^^^^^ - ***#336 now uses *ifs*#431 when splitting. - Freezing *ttycharset*#580 via -S#78 also survives using or setting any of $LC_ALL#597, $LC_CTYPE#598 and $LANG#599 during program startup. - New `local'#122 command modifier to localize changes. Yet supported only for `set'#265, i.e., we have gained macro-local variables. - `vexpr'#299 now supports a BASE#number notation for integers, like 16#AFFE as an alternative to 0xAFFE. Hint: variable settings can most often use several bases, too, e.g., i have "set mime-counter-evidence=0b1111". - Very simple form of *quote-chars*#502 to adjust our knowledge of what actually is to be treated as a quote character. - *mime-counter-evidence*#456 deep inspection (bit four) has been improved for the sole cases of quoting or displaying a message. So messages with less than 25% of control characters and such will now be displayed (made printable). This is yet not configurable nor do we have a way to easily access a message with more than that. (Doug McIlroy) git(1) shortlog: Steffen Nurpmeso (44) v14.9.5 ("Marsh tit engaged with a peanut"), 2017-10-21 ------------------------------------------------------- A bugfix release which fixes two bugs which were cast in stone. A few compatibility improvements (AlpineLinux, Solaris). And minor features. Apologies to Jörg Schilling, a git bug i think it was who caused joining of changesets, losing a credit, and it had been pushed to [master] before the problem was realized. Credits, in order of commit appearance: Jörg Schilling, Doug McIlroy, Random832, Nick Stoughton and Ivan Tham. We welcome Nick Stoughton and Ivan Tham in THANKS. NOTES, ChangeLog (packager-affine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - New OPT_USE_PKGSYS option can be disabled to not automatically pick known package system paths (pkg(7), OpenCSW, schily). (Jörg Schilling) ChangeLog ^^^^^^^^^ - The software indeed _never_ dealt with iconv(3) output character set errors (as opposed to invalid input character set byte sequences etc.) for the main message body! And I have missed that when i tweaked our iconv layer a bit! - Fixed a race condition with sigsuspend(2) that i could only see on OpenBSD. config.h offers n_SIGSUSPEND_NOT_WAITPID, by the way, which saves some systemcalls and did not run races, but noone adjusts this file. - Message list specifications gained two new colon modifiers, one can now "search :Ll" to find "Mailing lists"#10. The *headline*#421 format %T now also uses L and l rather than S and L accordingly. New `addrcodec'#138 subcommand `skinlist' acts like `skin' but stores in *!*#344 *^ERR*#346-EXIST if the address is one of the known "Mailing lists"#10. - `echo'#177 family now supports `vput'#125 and *!*#344 error storage, offering some kind of printf(1) experience, almost. git(1) shortlog: Steffen Nurpmeso (35) v14.9.4 ("(5th anniversary) Marsh tit"), 2017-09-18 --------------------------------------------------- This is an update feature release but which also ships a furious number of bug fixes, about six of which were pretty serious. It also applies overall trimming, and improves configuration time compatibility on macOS. Thanks to Alexander Harm there is now a macOS Homebrew package. Credits, in order of commit appearance: Paul Vojta, Daniel Lublin, Alexander Harm, Norman Ramsey, Viktor Szépe, Rich Salz, David Čepelík, Ralph Corderoy, Stéphane Chazelas, Aharon Robbins, Ken Hornstein. We welcome Daniel Lublin, Alexander Harm, David Čepelík and Stéphane Chazelas in THANKS. NOTES, ChangeLog (packager-affine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Out-of-tree builds have become possible via the new make-emerge.sh script: $ cd /tmp && mkdir build && cd build && ~/src/nail.git/make-emerge.sh && make tangerine DESTDIR=.ddir We now have a `citron' make target which is like `tangerine' but does not run the tests. - Configuration with OPT_AUTOCC honours $CC=cc. (Norman Ramsey) - SSL/TLS configuration has been revamped (again) in order to support new possibilities of OpenSSL (and LibreSSL) without ending up and introducing more and more variables. Instead we now have *ssl-config-pairs*#?, a comma-separated list of all options. With e.g. OpenSSL 1.1.xx this will be directly passed through to SSL_CONF_cmd(), so there _anything_ can be passed, otherwise we use a builtin parser to map. The new *ssl-features*#? states what is supported. E.g.: if [ "$ssl-features" =% +ctx-set-maxmin-proto ] wysh set ssl-config-pairs='\ CipherList=TLSv1.2:!aNULL:!eNULL:@STRENGTH,\ Curves=P-521:P-384:P-256,\ MinProtocol=TLSv1.1' else wysh set ssl-config-pairs='\ CipherList=TLSv1.2:!aNULL:!eNULL:@STRENGTH,\ Curves=P-521:P-384:P-256,\ Protocol=-ALL\,+TLSv1.1 \, +TLSv1.2' endif OpenSSL v1.1.xx also introduces an interesting and neat idea to centralize SSL/TLS configuration of (all) programs in a single file. This can be driven via *ssl-config-file*#? and the new *ssl-config-module*#? variables, several entries per program are allowed, see *ssl-config-module*#? for an example. New manual section "Encrypted network communication"#13. - Variables set or unset via -S#78 are now frozen until program startup is complete. ChangeLog ^^^^^^^^^ - Historical behaviour of *askcc*#362 / *askbcc*#363 has been reintroduced. (Norman Ramsey) A new *asksend*#364 variable will show a final header summary and allows reentering compose mode. Set by default. POSIX mirrors *ask* onto *asksub*#366, so dropped" the former. - `~^'#316 no longer normalizes header names to titlecase. - We no longer generate charset=binary MIME parameters. This was introduced on 2013-01-02 and was i think owed to file(1)s -i output as i failed to find any other reference. (Normal Ramsey) - *mime-alternative-favour-rich*#455 now also works for handlers installed via *pipe-TYPE/SUBTYPE*#482. (Viktor Szépe) - v14.9.* series did not generate In-Reply-To: headers! - `alias'#139 now supports high-bit bytes and semicolon. Expect that at some later time the input must be valid according to the locale, though. (Norman Ramsey) - Combinations of *record*#508 could crash because of an unterminated variable function argument list. (Norman Ramsey) - New command `readall'#245 loads an entire file into a variable. *signature*#528 has been obsoleted. - `vexpr'#299 now supports negative arguments for the substring subcommand and adds trim, trim-front and trim-end subcommands. - `!'#129 can be used in send mode. - `~A'#317, `~a'#318, `~I'#327 and `~i'#328 will henceforth expand \t and \n only if *posix*#495 is set. Please use `set'#265 instead (with `wysh'#126, until v15). - New "The mime.types files"#35 type marker: @q ("quiet"). git(1) shortlog (edited): Steffen (Daode) Nurpmeso (90) v14.9.3 ("Crested tit nibbling sunflower seeds"), 2017-08-03 ------------------------------------------------------------ This is a bugfix release but which ships some improvements, too. It silently replaces both of v14.9.1 v14.9.2 from earlier this week, which were broken or not entirely fixed. Credits, in order of commit appearance: Felix Fontein, Paul Vojta, Ralph Corderoy, Christos Zoulas, Gavin Troy, Gaetan Bisson. Thanks, Coverity.com. We welcome Christos Zoulas in THANKS. Apologies to Viktor Szépe for the false spelling of his name in the v14.9.0 announcement. And to Gaetan Bisson for not giving credit for [14fbce97]! NOTES, ChangeLog (packager-affine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - fakeroot support was blindly taken from Debian and broken. (Gavin Troy, Gaetan Bisson) - Base64 output was broken for cases which involved iconv(3). The data is not lost, you can read it with S-nail v14.9.0 and above, and save it somewhere. I know of no other base64 decoder which reads those things correctly, though. We now have tests. Along this i fixed an iconv(3) error which likely caused stateful decoding (like, e.g., for ISO-2022-JP) to fail because of an unnecessary reset of the iconv(3) state machine. Thanks to Gaetan Bisson for mentioning this issue! ChangeLog ^^^^^^^^^ - In compose mode the MLE allows empty lines again. - We no longer require a writable $HOME#596. Due to false code flow (but but but: with correct comment) a non-writable $HOME entry in /etc/password (i.e., from getpwuid(3)) would lead to a crash. (Felix Fontain; Ralph Corderoy) - Two faulty string operations slipped into the IMAP code, resulting in a crash and a "is-same-host" test that would fail for IMAPS connections like `save'#262 or `copy'#161 because of an implicit IMAP protocol for the target of those operations (thus IMAP != IMAPS). (Paul Vojta) - The MLE tab-expansion will now automatically append a "/" if there is only one possible expansion and that is a directory, saving the user one <TAB>. (Christos Zoulas) The shell expression parser had a bug regarding understood metacharacters (;|&), which in turn could cause an infinite loop in the MLE tab-expansion for, e.g., "move &9 +<TAB>", because the "&" would never have been stepped over. - New `~I'#327 command escape is like `~i'#328 but does not append a newline. - `localopts'#214 gained an optional second argument. It is now possible to specify that any macro `call'#147ed will have localopts enabled, and it is possible to fixate the setting so that it cannot be reverted. - *@*#352 should now act completely compatible to the sh(1)ell, thus obsoleting my hysteric warnings in the v14.9.0 announcement. - The `Lreply'#215, `reply'#250, `Reply'#249 series as well as `mail'#217 now manage the error status *!*#344. I.e., there are now errors like *^ERR*#346-DESTADDRREQ, ^ERR-NODATA, ^ERR-PERM and similar. It is not perfect yet, because $DEAD#594 may have been written (with *save*#516) or not, for example. `Lreply' and `reply' have been rewritten rather completely indeed. They join Reply-To: and Mail-Followup-To: dependent on the context (i.e., *reply-to-honour*#514, *followup-to-honour*#414, see "Mailing lists"#10 for the picture), and if they did, use this list as the receivers exclusively. It now honours *recipients-in-cc*#507 even for such addressees. (And now i wonder whether i should have credited Paul Vojta for that.) Also `Lreply' would have crashed for mails with Reply-To: but without *reply-to-honour*#514 set. We now have a test. Note *replyto* is obsoleted in favour of *reply-to*#513. v14.9.0 ("Long-tailed tit"), 2017-07-16 --------------------------------------- This is a major feature release which took about ~22 months (24 less two) of development to complete, and which imposed massive changes under the hood, but also quite a lot of user visible changes, including some **backward incompatibilities**. As usual, "s-nail -d" will show obsoletion warnings. We gain noticeable improvements regarding scriptability and its reliability, but also for interactive use cases, especially notable to users is our completely new M(ailx)L(ine)E(ditor) that supports rather real tabulator expansion and program-mode-context- sensitive key bindings. We now support macros with arguments, which can be `shift'ed, a `return' status can be used, and a `vexpr' multiplexer offers some arithmetic and string operations. `commandalias'es are recursive, further command modifier prefixes, like `ignerr', give a hand that we otherwise could not offer. In compose-mode the new `~^' command escape allows some message and attachment access, and can be used, e.g., to implement things like custom headers, and has been especially designed for scripted access via the new *on-compose-splice* and *on-compose-splice-shell* hooks. S-nail will move (more or less) backward-incompatibly to sh(1)ell compatible argument quoting (documented in "COMMANDS"), and an increasing number of commands do support this already: new ones exclusively, some old ones have either been switched (like `localopts'), others -- noticeably `set' -- can be switched to the new syntax with a `wysh' command modifier prefix. E.g.: ? define __xv { # Be careful to choose sh(1)ell-style on _entire_ line! localopts yes; wysh set verbose; ignerr eval "${@}"; return $? } ? commandalias call echo boo-boo ? commandalias xv call __xv ? xv list ? commandalias xv '\'call __xv ? xv list Calling the latter `xv' for `list' will give more detailed command information, including which kind of argument is used. I have not managed to implement the three features i have started this development cycle for, these are thus subject to further development, just like wysh for message-list argument commands to support, e.g., negation, wysh for `if' and consorts, the -- terminator to finally overcome the ridiculous requirement to quote entire shell commands filenames for commands like `pipe. And and and. Credits, in order of commit appearance: Antonio Radici, Aharon Robbins, Mike Frysinger, Predrag Punosevac, Michael Convey, Hariskar, Rudolf Sykora, Martin Neitzel, Gavin Troy, Salvatore Bonaccorso, Todd C. Miller, Sergey Matveev, Robert Elz, Mantas Mikulėnas, Respiranto, Jens Schleusener, Walter Alejandro Iglesias, Ralph Corderoy, David Levine, Lyndon Nerenberg, Thomas Dickey, Afan, Justin Ellingwood, Ingo Schwarze, Viktor Szépe, Gaetan Bisson, Juan RP, William Yodlowsky, Hilko Bengen, Matthew Dillon, Colin Watson, Donald Mugnai, Stephen Isard, Jürgen Daubert, Sven Neuhaus, trondd, Ismael Bouya, Felipe Gasper, Paul Eggert, Dr. Werner Fink, Ken Hornstein, Noel Chiappa, Random832, Doug McIlroy, Baptiste Daroussin, Riccardo Ductor, Pietro Cerutti, Jörg Schilling, rain1, Xin LI. We welcome Antonio Radici, Mike Frysinger, Predrag Punosevac, Michael Convey, Rudolf Sykora, Todd C. Miller, Robert Elz, Jens Schleusener, Walter Alejandro Iglesias, Thomas Dickey, Afan, Justin Ellingwood, Viktor Szépe, Juan RP, Matthew Dillon, Colin Watson, Donald Mugnai, Sven Neuhaus, Ismael Bouya, Felipe Gasper, Paul Eggert, Dr. Werner Fink, Ken Hornstein, Noel Chiappa, Random832, Doug McIlroy, Baptiste Daroussin, Riccardo Ductor, Pietro Cerutti, Jörg Schilling, rain1, and Xin LI in THANKS. Apologies: Sergey Matveev. Members of the Roff community which await progress. NOTES, ChangeLog (packager-affine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * This release brings some backward incompatibilities, outlined in the following. Most users will not be affected, and we have added a lot of compatibility cruft, but that will vanish in v15. "$ s-nail -v"! * The configuration and build system has changed. Packagers have received updated package files. o Anything which was WANT_xy before is now OPT_xy, and compiled-in paths and values, like PREFIX or PAGER, have gained a VAL_ prefix (thus VAL_PREFIX and VAL_PAGER). This is _not_ true for non-persistent or environmental values, e.g., DESTDIR, CC, etc., and also not for the overwritable program variables during configuration, e.g., $awk. o SENDMAIL -> VAL_MTA, SENDMAIL_PROGNAME -> VAL_MTA_ARGV0, MAILSPOOL -> VAL_MAIL. And NAIL -> VAL_MAILX, though this is still a lie. o The make system now needs config..build..install or all..install or tangerine (config..build..test..install). Some constants which some experts may want to fine-tune have been moved to config.h. Usual adjustments+doc via make.rc. o The `build' phase can be parallelized by setting the $MAKEJOBS environment variable, e.g., "make MAKEJOBS=-j4 build". Note this variable is not tracked in the configuration. (Gaetan Bisson) o Unless DESTDIR is set an uninstallation script will be installed along with the rest (see INSTALL file for more). o Set the new OPT_CROSS_BUILD to avoid feature runtime tests, only compile- and link-availability will be tested. (Juan RP) o VERBOSE is implemented straight, but must be given at configuration time in order to become honoured. (William Yodlowsky) o ADDCFLAGS / ADDLDFLAGS -> EXTRA_CFLAGS / EXTRA_LDFLAGS. o The LD_LIBRARY_PATH etc. building processes will skip any path which contains the string "fakeroot". (Hilko Bengen) o We honour a set $SOURCE_DATE_EPOCH#613 environment variable to an extend that allows reproducible tests, which is why the repository gained a [test-out] branch with some expected plain text outputs. (reproducible-builds.org; Colin Watson) The new *log-prefix*#442 variable aids in improving the reproducibility of error messages. o These are upward compatible changes. * "make OPENSSL_API_COMPAT=0x10100000 all" should work. * Internal and environment variables are now explicitly _defined_ and _tracked_ after variable handling has been rewritten completely. Notes: o This means that, e.g., "$ password=NOT_SECRET s-nail" will **NOT** work no more, since *password*#480 is an internal variable! o But if you do, e.g., "? set TMPDIR=~/tmp", then this will also be reflected in the program environment (it is an environment variable) and thus affect child processes. o Therefore we no longer have `setenv' and `unsetenv'. o To integrate any other environment variable transparently into our variable management, the new command `environ'#185 needs to be used, e.g., "? environ set NEWVAR=value" or "? environ link EXISTINGVAR". - -H#67 and -L#70 have been decoupled: it used to be -e#64 -L#70 instead! - *NAIL_{HEAD,TAIL}* have been obsoleted in favour of *message-inject-head*#451 and *message-inject-tail*#452. *NAIL_HIST{FILE,SIZE}* have been obsoleted in favour of *history-file*#424 and *history-size*#427. *NAIL_EXTRA_RC* has been obsoleted in favour of *mailx-extra-rc*#445. *batch-exit-on-error* has been obsoleted by *errexit*#403, which works just like the POSIX sh(1)ell "set -e" construct; the `ignerr'#121 command modifier (`-' for command escapes in compose mode, and see below) can be used to ignore command errors even then. (This will remain even if we at some later time will support at least some of the sh(1) constructs which "swallow" failures with set -e.) *bsdannounce* is obsolete, the feature is integrated in *header*#420 as this is much more useful. (This is however also dependent upon the also new but well-known $POSIXLY_CORRECT#611 <> *posix*#495, but that is just how it is; these affect more behaviour, and increasing.) - Colour support has been changed backward in- and upward (from user interface side) compatibly, see the manual section "Coloured display"#18. + New commands: `colour'#156 and `uncolour'#157. You can define context-sensitive, terminal-capability- sensitive settings, e.g.: if terminal && [ "$features" =% +colour ] colour iso view-header ft=bold,fg=magenta,bg=cyan colour 256 view-header ft=bold,fg=208,bg=230 subject,from colour mono view-header ft=bold colour mono view-header ft=bold,ft=reverse subject,from endif + The variable *colour-pager*#389 defines whether colour and font attribute sequences should be generated when viewing something in $PAGER#609. + Set the variable *colour-disable*#388 to turn colour off without affecting established settings. + It is deduced via termcap(5) (see below) whether the terminal supports colors, e.g., "$ s-nail -Stermcap=Co#256". This is also true if we don't have termcap support. + Support for 256-colour terminals. (Gavin Troy) - `source'#277 series support shell pipes if the last character of the "filename" ends with a vertical bar |, e.g., ? source 'gpg -qd ~/.s-nailrc-private.gpg |' - Shell pipes are also supported as targets for `move'#227, `copy'#161 etc., yet unfortunately not with via a sh(1)ell token parser, so that the target still has to be a single argument. ? copy . '| cat; echo huhu' - Support for custom headers via the new `~^'#316 compose-mode command escape and in addition, or alternatively, with the internal variable *customhdr*#393, which also can be covered by `localopts'#214. (Sergey Matveev) + Support of $ORGANIZATION has been dropped. + Command escape `~e'#322 supports _any_ header. + Command escape `~^'#316 supports _any_ header. - New -:#54 command line option can be used to more easily select which startup files should be loaded, e.g., -:/ loads none. (Robert Elz) - `account'#136s and *folder-hook*#411s now have `localopts'#214 enabled by default. - A first simple form of compose-mode hooks has been implemented: *on-compose-enter*#472, *on-compose-leave*#473 and *on-compose-cleanup*#471 can be set to macros which get invoked at appropriate times. For the `resend'#254 series there is *on-resend-enter*#478 and *on-resend-cleanup*#477: this is very likely to change once true message access is possible even in this mode. An even more powerful mechanism is available via the also new *on-compose-splice*#474 and *on-compose-splice-shell*#475 hooks. These are executed in child processes and communicate with the parent via their standard input and output, and therefore can do anything and act as if they were the user. `localopts'#214 are enabled and cannot be disabled (and extend until the message is sent). (Jens Schleusener, Rudolf Sykora) ? set on-compose-splice=ocs ? define ocs { read ver echo Splice protocol version is $ver echo '~^header list' read hl; vput vexpr es substring "${hl}" 0 1 if [ "$es" != 2 ] echoerr 'Failed to read header list, bailing out' echo '~x' elif [ "$hl" @i!% ' cc' ] echo '~^header insert cc Diet is your <mirr.or>' read es; vput vexpr es substr "${es}" 0 1 if [ "$es" != 2 ] echoerr 'Failed to insert Cc:, bailing out'; echo '~x' end end } - "The .netrc file"#37 + gained support for comments. (Walter Alejandro Iglesias, Ralph Corderoy) + `netrc'#230 now has a "load" subcommand. + the new *netrc-pipe*#466 obsoletes OPT_AGENT and *agent-shell-lookup*, and can be used to load an encrypted .netrc file, e.g.: ? set netrc-lookup netrc-pipe='gpg -qd ~/.netrc.gpg' I.e., this is in usual .netrc syntax and thus possibly much nicer than saying "? source 'gpg -qd ~/.credentials.gpg |'". - termcap(5) / terminfo(5) support has been changed backward in- and upward (from user interface side) compatibly, please read "On terminal control and line editor"#17. + OPT_TERMCAP is by default enabled. The new, by default enabled, configuration option OPT_TERMCAP_VIA_TERMINFO can be used to (try to) use terminfo(5) instead. + The variable *termcap*#561 can be used to freely define or override terminal capabilities, and *termcap-disable*#563 will disable interaction with the chosen library, leaving only *termcap* in charge. To use the so-called ca-mode on supporting terminals, effectively turning S-nail into a fullscreen application, *termcap-ca-mode*#562 must be set. + The built-in line editor has been rather completely rewritten to be the Mailx-Line-Editor (OPT_MLE, default yes), and supports wide glyphs (if possible), infinite line lengths (2 GB) and more. Tabulator expansion is no longer an option (but needs fnmatch(3)). + Optionally (OPT_KEY_BINDINGS, default yes) it has become possible to freely define key bindings for the MLE via the new `bind'#145 and `unbind'#146 commands. These key bindings can make use of termcap(5) and/or terminfo(5) names. The MLE will install a set of default bindings (unless there is a set *line-editor-no-defaults*#441), more so with OPT_TERMCAP, i.e., try "? bind*". Sufficient support provided, one can now, e.g., type "p " and then collect the message numbers to type, scrolling forward and backward via key-bindings, without losing the line content, then commit the final line. + OPT_EDITLINE and OPT_READLINE support have been dropped. The new MLE should not miss anything. Does it? Tip: in an UTF-8 locale try "? !touch /tmp/hall{,öchen}" and then autocomplete that: once, then ^Q, and again. - `source'#277 can be used in `call'#147ed macros. What sounds so innocent replaced an entire machinery and got rid of a brilliant idea of Kurt Shoens from the 70s, but which never worked with Nail/Heirloom extensions, namely macros, and in the right order. Accompanying this -X#85 can (dig multiline arguments and can) be used to define macros and run them etc. Should work: $ s-nail -X'define x {' -Xversion -Xx -X'}' -X'call x' $ s-nail -X'source \' -X'"echo version|"' -Xx Macros can be `undefine'#167d from within themselves, and re- `define'#166d. It is still not possible to define macros from within macros, and/or have inner macros, not to talk about local scoping or anything more sophisticated such. - -u#82 / $LOGNAME#602 ($USER) handling has been redefined, and "-u USER" is now exactly the same as "-f %USER", and $LOGNAME (and $USER) is actively set to the active user. (Afan) $LOGNAME#602 is POSIX standardized and henceforth used and preferred over $USER, which came from BSD. (Todd C. Miller) - In the future (at least non-message-list) argument handling will be changed backward-incompatibly to be sh(1)ell compatible (and thus POSIX standardized), see "Shell-style argument quoting"#23. New commands use it already today (`bind'#145, `colour'#156, `headerpick'#205), some others (most importantly, `set'#265) can be forced to do so via the new `wysh'#126 command prefix, as in: ? wysh set message-inject-tail=$'\n--steffen' ? bind base $'\cA,\x61' 'echo control-A and small a' - We now actively manage *umask*#582: 0077 by default, but an empty string will use the setting that is active upon startup. Just like changes to (known) environment variables, this setting will also be inherited by any child process. (Walter Alejandro Iglesias) - Anything SENDMAIL / *sendmail*-ish has been renamed to *mta*#460, *mta-arguments*#461, *mta-no-default-arguments*#462 and *mta-argv0*#464. The reason is that in v15 we won't even have *smtp*: it is just another form of MTA, and thus obsolete by itself. Note that *mta-arguments* is now parsed via the shell-token parser, so the following ends up exactly as desired. ? set mta-arguments='-t -X "/tmp/my log"' For now we support a hack that understands a file:// URL in *mta*, too, but that is also the default if there is no protocol. E.g.: "? set mta=smtp://a:b@xy.z" - The "spamd" *spam-interface*#548 is obsolete. I haven't tested it since my main machine died, it is error prone since it assumes internals of the spamassassin wire protocol, and there never was a speed improvement over "spamc". (However it could react upon the "is-spam" state of a message, which "spamc" doesn't allow.) - The new *inbox*#435 variable will henceforth be looked up when searching for a primary system mailbox (as in "? File %"), followed by the usual $MAIL#603 and compile-time defined local mailspool search. (Stephen Isard, Jürgen Daubert) - The semantic of -a#56 and `~@'#314 have been changed, and both commands now use the same syntax: -a file[=input-charset[#output-charset]] - New "failinvaddr" keyword for *expandaddr*#405. - We finally "can" the so-called (by myself) "Dr. Problem" (a bit): (Dr. Werner Fink) $ </dev/null s-nail -d:/ -sTrödler 'Dr. D. Iet <z@a.k>' 2>&1 |\ grep To: s-nail: >>> To: "Dr. D. Iet" <z@a.k> This can be done via the new `addrcodec'#138, too, note this supports multiple modes (and the `vput'#125 command modifier): $ echo 'addrcodec e Dr. Diet <t...@fu.soj> Curd' | s-nail -#:/ "Dr. Diet Curd" <t...@fu.soj> - All commands with the string "codec" in their name use different argument quoting, namely none at all, please read "Raw data arguments for codec commands"#25. This means that `urlcodec'#295 (and `imapcodec'#641) has slightly changed semantics. And, while here: there is a new `shcodec'#267, too. - We gained "Command modifiers"#21: `\'#120 (avoid expansion of `commandalias'#158es), `vput'#125 (store result in variable), `ignerr'#121 (ignore an error of the following command, even if the new *errexit*#403 is set), `wysh'#126 (use shell-style arguments). $ echo 'vput cwd resvar;echo $resvar' | s-nail -#:/ /home/steffen/src/nail.git And the usual sh(1) stuff: `return'#260, `shift'#271, `eval'#187, plus a `xcall'#303 stack-avoidance optimization (to be used in place of a `call'#147 which would be the last called command). And an "expr(1) like thing", yet simple, `vexpr'#299. $ echo 'vexpr + 1 2' | s-nail -#:/ 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000011 03 | 0x3 | 3 $ echo 'vput vexpr resvar + 1 2;echo $resvar' | s-nail -#:/ 3 We actually start walking (*?*#343, *^*#345). ? vput vexpr res regex 'bananarama' 'Bana(.+)' '\$1\$0' ? echo $?/$^ERRNAME :$res: 1/NODATA :: ? vput vexpr res iregex 'bananarama' '(.+)rama' '\$1\$0' ? echo $?/$^ERRNAME :$res: 0/NONE :bananabananarama: The command `vpospar'#300 can be used to manage the stack of positional parameters, i.e., much like "set --". It also offers the possibility to save and restore the stack to and from variables. Etc. Btw., to contact the maintainer (make.rc variables VAL_CONTACT_WEB and VAL_CONTACT_MAIL): ? echo $contact-web; eval mail $contact-mail - `if'#211 no longer performs automatic number conversion, we use the explicit -lt, -gt etc. syntax of the sh(1). Note: `if' will change to be almost identical to sh(1) if(1), so please ensure proper test bracketing, even if it is less convenient. Moreover, the default string comparison mode has changed to case-sensitive, just like in the shell. This is because in the future this crux with trigger characters will vanish and `if' etc. will simply slurp in already expanded shell tokens, it will act like the shell in that respect. We have modifiers, though, yet only "@i" for case-insensitivity, also for regex matches: LC_ALL=C i=`LC_ALL=C.utf8 s-nail -:/ -# -X ' \define cset_test { \if [ "${ttycharset}" @i=% utf ] \echo $LC_ALL \xit 0 \end \if [ "${#}" -gt 0 ] \wysh set LC_ALL=${1} \shift \eval xcall cset_test "${@}" \end \xit 1 } \call cset_test C.UTF-8 POSIX.utf8 POSIX.UTF-8 \ en_EN.utf8 en_EN.UTF-8 en_US.utf8 en_US.UTF-8 '` [ $? -eq 0 ] && UTF8_LOCALE=$i Please note the `eval' in 'eval xcall cset_test "${@}". This is a difference of S-nail/mailx and the sh(1)ell that will remain, as documented in "COMMANDS"#20: whereas the shell implements a language and performs standardized expansions on the line until finally the command is called, S-nail will decide the type of command line parsing dependent on the seen command, and will then perform a single expansion. Therefore "${@}" will expand to multiple arguments if $# is greater 0, but it will expand to the empty string otherwise, which is not furtherly expanded away since it is meaningless like it is in the shell: therefore $# will be 1 (the empty string) not 0. - Using an explicit proto:// prefix should get you the desired thing apart of *newfolders*#467, e.g.: ? File maildir:///tmp/x.mdir ? copy * file:///tmp/x.mbox - New variable *record-files*#509 can be set to extend the meaning of *record*#508. *record-resent*#510 was there already. - New variable *ifs*#431 acts a bit like the sh(1)ell's $IFS for, e.g., the new `read'#244 command. There is a `readctl'#246 command which can be used to manage the active channel used by `read'#244. - The `~' alias for `call'#147 is gone. - `mimetype'#219 only allows specification of a single type per call, on the other hand no need to quote that. - `mimeview'#221 must now be used explicitly to look at any non-text MIME part, for normal display etc. purposes we only support "copiousoutput"#628 MIME handlers. - New *socks-proxy*#547 can be used to proxy all network traffic over a SOCKS5 proxy. (Gaetan Bisson) ChangeLog ^^^^^^^^^ - The manual has seen another major overhaul, all the variables are now documented in a single, sorted list, and many clarifications should have been added. I hope it has become a better read. (Predrag Punosevac, Michael Convey, Hariskar, Rudolf Sykora, Respiranto, Thomas Dickey, Donald Mugnai) - To support RFC 1524 a.k.a. .mailcap files (see below) many "trigger"-characters have been added for *pipe-TYPE/SUBTYPE*#482, which may (rarely) affect existing values. The .mailcap support itself is not yet implemented. - *mime-counter-evidence*#456 gained bit 4 (perform proper in-depth content inspection as necessary; set to 0xE for all bits). (Aharon Robbins) - Maildir paths are now created recursively as necessary. (Justin Ellingwood) - -M#71 and -m#72 options have been added to enforce a special send mode that will flag standard input / the given file with the specified / detected MIME 'Content-Type:'. This can be used to directly send, e.g., HTML log output. (Viktor Szépe, Ralph Corderoy) - Disallow symlinks on writable files. Note this requires O_NOFOLLOW support for the operating-system-call open(2), but which has been standardized a long time ago. (Matthew Dillon) - `retain'#259, `ignore'#212 etc. now differentiate in between From (the From: header) and From_ (the MBOX ident). In fact we now have a new `headerpick'#205 command which is a multiplexer for all retain and ignore lists used, call it without arguments to see the current setting(s). In v15 only `headerpick' and the standard-imposed wrappers `retain' and `ignore' will remain, all other wrappers will vanish. Regular expressions can now be used if available: ? headerpick headerpick type retain blahblahblah cc date from \ mail-followup-to message-id openpgp reply-to subject to \ user-agent #headerpick type ignore currently covers no fields #headerpick save retain currently covers no fields headerpick save ignore '^Original-.*$' '^X-.*$' '^DKIM.*$' headerpick forward retain cc date from list-id \ mail-followup-to openpgp reply-to subject to #headerpick forward ignore currently covers no fields - `top'#287 has been rewritten completely, `Top'#286 is new. It uses a built-in set of retain/ignore headers, but it is possible to register a custom set via `headerpick'#205. Also, *toplines*#578 has been extended a bit and the new *topsqueeze*#579 variable may pimp your `top' experience. ? headerpick top retain add subject ? top [-- Message 1 -- 87 lines, 4791 bytes --]: Subject: Re: I can't dist to myself I wrote: 3.22. bounce_delivered - `features' has been dropped, `version'#298 extended. - The *prompt*#497 handling has changed: we lost the capability to expand \?, \@ and \$, instead new "private" variables *?*#343, *account*#356, *mailbox-resolved*#444 and *mailbox-display*#443 have been introduced, and the prompt is completely shell expanded (thus twice with `wysh' or in v15), as if dollar-single-quote quoted. We do support the reverse- solidus escaped bracket notation for embedding characters which should not be counted when calculating the width of the prompt. The `colour'#156 command has a slot for the prompt colour. We gained *prompt2*#498 as a second level prompt. ? var prompt wysh set \ prompt='?\${?}!\${!}[\${account}#\${mailbox-display}]? ' - The filename "-" can be used as a receiver, e.g., $ echo Hey,\ you | s-nail -:/ -Sexpandaddr -sUB - - The -s#79 command line option, the `~s'#336 command escape as well as the corresponding slots of `~^'#316 will actively strip [\r\n] from their value (Debian #419840). - New `read'#244 and `echoerr'#178 commands, mostly for *on-compose-splice*#474. But also `echon'#179 and `echoerrn'#180, which do not write a trailing newline. - New variable *r-option-implicit*#506 may be helpful to those who regulary need the functionality of the -r#77 command line option. (Felipe Gasper, Martin Neitzel) - By using new "pseudo-URLs" one can automatize the use of S/MIME keys / (certificates / intermediate include certificates) with passwords. E.g., to drive b...@exam.ple, set *smime-sign-cert-...@exam.ple* to the private key / certificate pair as usual, the password lookup will then be performed for b...@exam.ple.smime-cert-key, b...@exam.ple.smime-cert-cert and b...@exam.ple.smime-include-certs. Like this the password can be stored in an encrypted .netrc file when *netrc-lookup*#465 and *netrc-pipe*#466 are set, or it may be stored in an encrypted resource file that has been loaded via `source'#277 as a simple *password*#480 variable. Note that the prompting that happens as a last resort of password lookup will still interfere with a possibly running $PAGER#609 instance, dependent on the setting of *crt*#392, of course. Proper job control handling and recognizing that we are running $PAGER when doing that prompt is a TODO for v15. Sorry. - Some commands, like `set'#265, `help'#208, `list'#213, `mlist'#222 etc., now react upon the setting of *verbose*#585 and(/or) *debug*#396. - `write'#302 uses iconv(3) as appropriate. - *mbox-rfc4155*#448 has first been dropped, and was then reintroduced with different semantics. Because, it can be helpful if a messed up MBOX is read, in which case we henceforth will warn you and point you to this: ? define mboxfix { \localopts yes; \wysh set mbox-rfc4155;\ \wysh File "${1}"; \eval copy * "${2}" } ? call mboxfix /tmp/bad.mbox /tmp/good.mbox P.S. Here you see how weird the current thing still is, in v15: ? define mboxfix { localopts yes; set mbox-rfc4155; File "${1}"; copy * -- "${2}" } And also in v15 we will not apply (proper) so-called MBOXO quoting, but instead (simply MIME) re-encode mail messages. - `call_if'#148 is new and, different to "? ignerr call", silent and not messing with the return status. - The new *smime-ca-flags*#532 and *ssl-ca-flags*#? can be used to fine-tune X509_STORE_set_flags(3) a.k.a the X509 CA certificate verification. ? set ssl-ca-flags=partial-chain ? wysh set smime-ca-flags="${ssl-ca-flags}" Also, *ssl-curves*#? for TLSv1.3. - Socket connections use TLS S(erver)N(ame)I(ndication) as appropriate (RFC 7817). - `alternates'#141 checks arguments and supports `vput'#125. It by default no longer replaces but appends alternates, unless *posix*#495 mode is active. There is a new `unalternates'#142 command to remove alternates. - A new `charsetalias'#151 command. (Pietro Cerutti, mutt#3925) - New commands `filetype'#192 and `unfiletype'#193: in the future we will no longer know any builtin filetypes, in fact we already simulate .gz etc. via the new mechanism as necessary: ? filetype \ bz2 'bzip2 -dc' 'bzip2 -zc' \ gpg 'gpg -d' 'gpg -e' \ gz 'gzip -dc' 'gzip -c' \ xz 'xz -dc' 'xz -zc' \ zst 'zstd -dc' 'zstd -19 -zc' \ zst.pgp 'gpg -d | zstd -dc' 'zstd -19 -zc | gpg -e' - `~<'#311 now offers a "- [HERE-delimiter]" mode for pasting etc. (Ralph Corderoy) - `exit'#188 and `quit'#243 take an optional exit status. (That is not fixated yet, though.) - We have a useful -h / --help output. (Doug McIlroy) - *encoding* obsoleted in favour of new *mime-encoding*#457, which now defaults to base64. - *allnet*#358 now works (broken since nail 10.00, 2002-09-29). Appendix ^^^^^^^^ The complete changelog of commits in between two versions OLD and NEW can be inspected by using the git(1) `log' command: $ git log --reverse --topo-order --abbrev-commit OLD..NEW # Only topic branch headers (--no-merges for content commits only): $ git log --oneline --reverse --topo-order --merges OLD..NEW # Same, but truly accessible: $ git log --oneline --reverse --topo-order --merges --parents OLD..NEW | while read c1 c2 c3 c4 c5 c6; do printf "%-24s: \$ git log --oneline --no-merges %s ^%s\n" \ "${c6}" "${c1}" "${c2}"; done Entries for releases before v14.9.0 have been cut off and can be found in the git(1) repository: v14.8.0 - v14.8.16: $ git show v14.8.16:NEWS v13 - v14.8.5 : $ git show v14.8.5:NEWS 9.0 - 12.5 : $ git show heirloom:ChangeLog Also accessible via HTTPS?, just replace X.Y.Z accordingly: \https?://git.sdaoden.eu/cgit/s-nail.git/tree/NEWS?h=vX.Y.Y For even older releases you need to look into the [timeline] branch, but no changelog has been administrated for them. -----BEGIN PGP SIGNATURE----- iQIcBAABCgAGBQJcgpFCAAoJEN8IL2ruyML/DE0P/3U0o6n6jmOh0hWp97p+OPXb WiaMH18txQcqHqIPWkwID2I1GbrrAh5nD174XG2jMhbHHYFaVAPxkl/gHxIi0QKW FXnM+a9tw2IdtG/UzQ0AM1FjZJTugPpihyfH/oHn9quvw2/4NluBnUReo36ZHmYY 2AKvt1EDaKrUwLCvsGX//IMH0RVrR9OdkMDantLWFfB9sU1Ky6S7EOM9GfAgrw1K 53XYz9Kba8hT/N7mfj/ZDxfhXKDvgQMimH7ZoQwnxJfz9R4+kMrIVbVnVtOJfxWV DB6P0yMf6dobuxRl9KAQvypdwfnp6glgfs4jp2UMBhLIyoXX2/AK1wllW81GCGsv Qqk8YpvisEo07RsZiBYU6yTOFtGFi3YSBPXpKZzZnAX89FWrIJh7bpHa4XypoOxR JsJsQVTvFGdwcKwz+O1gfmW5c9AtjmWm89GKaAI/zSfoJEZN6PhjG0bpjkhzPtIR 08ZPr99HtsJ58ej1bZIYma/li8N6XY7PPVdlaYvyKfVkAWbKCs/T7ljM0bTYbvyb w7aYCW2HlbU50tXx8jm+f9/zb7B450+b0oCPTpLV47zSz15tecYcfC706bSejI3A i4TcC1edx362A7Aha8j32qgrHKWTysHQE/QGVozWGx6FrAq3qq2a8wXmsJWqUNXD nPV5ZmTPRXqbm4hmEkg2 =Pkhd -----END PGP SIGNATURE----- -----BEGIN PGP SIGNATURE----- iQIcBAABCgAGBQJcgpFDAAoJEN8IL2ruyML/wjQQAJQW9X3cQVCdHgzZJ3/v0FHC r4tSETyUdewoaMnbmz56slcGAtVSZFnrJtu+I8yRPPfo4psyRLApI+QHJqirQ8HH ASu4Qb8d7ujQTwkQKGD2shRXCDYU19qmn6AS3mMtz+reI0GgR+AHNmTK19mrQjPc 6RyVMfL78YzOvxqDr2JC4/kKz668lGC2wFobQ4Z6oYiJhC1jnfT7VsZ8876lLT3c UUlgp+9azMesJklNf2yGL9lgx1ewybwLDHU8JxWaGsCmLGiGrZfVwHw+8Zl9dhvH /UPGIsNZdcwWgIm5nBgQmjbKSxe4JTE6BBDBP1PvhkA4KCXEoiL2fyyhGy+idk4F JOf4IKKh3I5klSLb/3nO+j30+/UzD79Hg9zOmtdRRsMm2o2QGUDV4GlASyPPShRV xdG0HkSwj0i+3ffP/ofHJLYL7gHG5Zi+Jw1+iR3wUJXjQ6Xyh7/I5UDteM1CB1Ej kR4HC1k6YafXCejXALDiaKHRRe7i9+qOXghLqoNDzuVRCz8QnYGEMWxJ/qRfMQft /a3CO6Q0Bdjo6tmIYU9GNNCoe1Ac+h/Mdbi9OU7YpRjxxMSLQ61UKoXZQQI6dPvh y9tfsad5TBMIx9dY3WVxP60gVkTajlq1r3i3YiYEOYd0kgy97tYaUZNiqsqhN3nN ZuXs+HyTee08C3TNKTJr =ra7D -----END PGP SIGNATURE----- --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)
smime.p7s
Description: S/MIME digital signature