cc-test.sh: t_behave_iconv_mainbody() should compile test instead, sigh!
[s-mailx.git] / NEWS
blobe47649721345432e7f136ea05b8342071c896870
1 S - n a i l / S - m a i l x  N e w s
2 ====================================
4   mdocmx(7) anchors are denoted by a number-sign #: typing
5   "^A ANCHOR" while reading the man(1)ual in a capable less(1)
6   will scroll to the manual's Point-Of-Interest, and pointing
7   a web- browser to the "#ANCHOR" of the online manual works.
9 v14.9.6 ("Marsh tit abiding a snow storm"), 2017-12-05
10 ------------------------------------------------------
12 A bugfix release which fixes four serious and three other bugs.
13 A few new features came in, too.
15 Many thanks go to Ralph Corderoy who reported an issue that was
16 caused by a terrible, terrible word reversal that i managed to
17 produce in December 2016, and which caused the v14.9.x series to
18 not MIME encode (non-address) content of address header fields!
20 Credits, in order of commit appearance: Thomas Dickey,
21 Andreas Baumann, Erich Eckner, Gaetan Bisson, Solar Designer, Cág,
22 Ivan Tham, Ralph Corderoy and Doug McIlroy.
24 We welcome Andreas Baumann, Erich Eckner, Solar Designer and Cág
25 in THANKS.
27 NOTES, ChangeLog (packager-affine)
28 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30 - After USB stick loss the authors OpenPGP key has been switched to
32     pub   4096R/1883A0DD 2017-11-30 [expires: 2027-11-28]
33           Key fingerprint =
34             EE19 E1C1 F2F7 054F 8D39  54D8 3089 64B5 1883 A0DD
35     uid                  Steffen Nurpmeso <steffen@sdaoden.eu>
37 - $TMPDIR#591 no longer honoured for root runs.  (Solar Designer)
39 - *mime-encoding*#436 defaults to quoted-printable again.  (Cág)
41 - We _can_ MIME encode even header fields which contain addresses.
42   Thanks to Ralph Corderoy we now also _do_ so again!
44 ChangeLog
45 ^^^^^^^^^
47 - ***#336 now uses *ifs*#411 when splitting.
49 - Freezing *ttycharset*#557 via -S#75 also survives using or
50   setting any of $LC_ALL#573, $LC_CTYPE#574 and $LANG#575 during
51   program startup.
53 - New `local'#113 command modifier to localize changes.
54   Yet supported only for `set'#253, i.e., we have gained
55   macro-local variables.
57 - `vexpr'#287 now supports a BASE#number notation for integers,
58   like 16#AFFE as an alternative to 0xAFFE.
60   Hint: variable settings can most often use several bases, too,
61   e.g., i have "set mime-counter-evidence=0b1111".
63 - Very simple form of *quote-chars*#479 to adjust our knowledge of
64   what actually is to be treated as a quote character.
66 - *mime-counter-evidence*#435 deep inspection (bit four) has
67   been improved for the sole cases of quoting or displaying
68   a message.  So messages with less than 25% of control characters
69   and such will now be displayed (made printable).  This is yet
70   not configurable nor do we have a way to easily access a message
71   with more than that.  (Doug McIlroy)
73 git(1) shortlog (edited)
74 ^^^^^^^^^^^^^^^^^^^^^^^^
76 Steffen Nurpmeso (44):
77 9bdfeba2 Introduce *mta-no-receiver-arguments* to bypass OpenSMTPD behaviour..
78 4ce4f80d mail1(): fix: unroll compose-mode `localopts' even on compose
79         failure!
80 3dc1d4ee FIX debug assertion (Thomas Dickey)..
81 b039b309 a_main_startup(): isatty() yay fdopen(,"w") nay (A. B., E. E., G.
82         B.)..
83 e6ec2b06 THANKS: Andreas Baumann
84 5e808dc1 THANKS: Erich Eckner
85 7cc7fd0a Invent n_O_NOXY_BITS for more O_NO* etc. (Solar Designer)
86 409c5df7 THANKS: Solar Designer
87 62d5947a config.h: no, change [f64eb665], use MIMEE_QP again (Cág)
88 43449982 THANKS: Cág
89 cd212599 Do not honour $TMPDIR if run by root (Solar Designer)
90 3e283d18 Fix semantics of $* to go for *ifs*
91 6d437ab6 FIX i_strdup(), broken since [354fc47e] as of 2017-07-16..
92 c20b6b7c nail.1: WHEN is a mlist a regex (Ivan Tham)
93 bd72268c nail.1: FAQ: Can S-nail git-send-email? (Cág)
94 ffd29558 FIX [0ede309c] as of 2016-12-26! (Ralph Corderoy)..
95 fce7d5ca FIX: LC_ALL/LC_CTYPE/LANG: do not _force_ overwrite of *ttycharset*..
96 16fb7bf7 `environ' unset: report errors (remove respective TODO)..
97 8eb67f95 Add `local' command modifier: alter command to work on block-scope
98 23327af7 n_idec*(), `vexpr': support BASE#number (2 <= x <= 36) notation
99 78727768 "[@fields]@" spec.: support regex in fields, empty body: header
100         exists
101 ca35643c Add *quote-chars* (simple)
102 429a294d Improve *mime-counter-evidence* deep inspection (Doug McIlroy)..
103 c0fcb67c Introduce *version-hexnum*
104 090819a2 Fix [ab0cd3b8]..
105 8c72989b cc-test.sh: fix test of [ffd29558]..
107 v14.9.5 ("Marsh tit engaged with a peanut"), 2017-10-21
108 -------------------------------------------------------
110 A bugfix release which fixes two bugs which were cast in stone.
111 A few compatibility improvements (AlpineLinux, Solaris).
112 And minor features.
114 Apologies to Jörg Schilling, a git bug i think it was who caused
115 joining of changesets, loosing a credit, and it had been pushed to
116 [master] before the problem was realized.
118 Credits, in order of commit appearance: Jörg Schilling,
119 Doug McIlroy, Random832, Nick Stoughton and Ivan Tham.
121 We welcome Nick Stoughton and Ivan Tham in THANKS.
123 NOTES, ChangeLog (packager-affine)
124 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
126 - New OPT_USE_PKGSYS option can be disabled to not automatically
127   pick known package system paths (pkg(7), OpenCSW, schily).
128   (Jörg Schilling)
130 ChangeLog
131 ^^^^^^^^^
133 - The software indeed _never_ dealt with iconv(3) output character
134   set errors (as opposed to invalid input character set byte
135   sequences etc.) for the main message body!
136   And I have missed that when i tweaked our iconv layer a bit!
138 - Fixed a race condition with sigsuspend(2) that i could only see
139   on OpenBSD.  config.h offers n_SIGSUSPEND_NOT_WAITPID, by the
140   way, which saves some systemcalls and did not run races, but
141   noone adjusts this file.
143 - Message list specifications gained two new colon modifiers, one
144   can now "search :Ll" to find "Mailing lists"#10.
145   The *headline*#402 format %T now also uses L and l rather than
146   S and L accordingly.
148   New `addrcodec'#129 subcommand `skinlist' acts like `skin'
149   but stores in *!*#331 *^ERR*#333-EXIST if the address is
150   one of the known "Mailing lists"#10.
152 - `echo'#166 family now supports `vput'#116 and *!*#331 error
153   storage, offering some kind of printf(1) experience, almost.
155 git(1) shortlog (edited)
156 ^^^^^^^^^^^^^^^^^^^^^^^^
158 Steffen Nurpmeso (35):
159 d76fd200 Fully support putenv(3) fallback (Jörg Schilling)
160 ab0cd3b8 FIX iconv for main body part (since EVER!) (Doug McIlroy,
161         Random832)..
162 8d472b37 FIX sigsuspend(2) race condition (since EVER! Only seen on OpenBSD)..
163 ca045d7d Add is_mlist_mp() and :Ll colon modifiers, and use "Ll" for
164         *headline*'s %T
165 88a69abf Set termsize after SIGCONT; n_signal(): use sigfillset (Nick
166         Stoughton)..
167 f169483d THANKS: Nick Stoughton
168 2f1e46ee `echo' family: support `vput' and *!* error storage
169 22ac50c7 make.rc, make-config.sh: add OPT_USE_PKGSYS (Jörg Schilling)
170 09a8b2ef Even less shell globbing (Ivan Tham)
171 b35ccc6d THANKS: Ivan Tham
172 820d02b4 obs-imap.c: drop dopr(), pr(1) often not available
173 2a05fcd9 main.c, make-config.sh: preparate for tcgetwinsize(3)
174 9feaf8ae `addrcodec': add skinlist subcommand, skin+check whether mlist
176 v14.9.4 ("(5th anniversary) Marsh tit"), 2017-09-18
177 ---------------------------------------------------
179 This is an update feature release but which also ships a furious
180 number of bug fixes, about six of which were pretty serious.  It
181 also applies overall trimming, and improves configuration time
182 compatibility on macOS.
184 Thanks to Alexander Harm there is now a macOS Homebrew package.
186 Credits, in order of commit appearance: Paul Vojta, Daniel Lublin,
187 Alexander Harm, Norman Ramsey, Viktor Szépe, Rich Salz,
188 David Čepelík, Ralph Corderoy, Stéphane Chazelas, Aharon Robbins,
189 Ken Hornstein.
191 We welcome Daniel Lublin, Alexander Harm, David Čepelík and
192 Stéphane Chazelas in THANKS.
194 NOTES, ChangeLog (packager-affine)
195 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
197 - Out-of-tree builds have become possible via the new
198   make-emerge.sh script:
200   $ cd /tmp && mkdir build && cd build &&
201     ~/src/nail.git/make-emerge.sh &&
202     make tangerine DESTDIR=.ddir
204   We now have a `citron' make target which is like `tangerine' but
205   does not run the tests.
207 - Configuration with OPT_AUTOCC honours $CC=cc. (Norman Ramsey)
209 - SSL/TLS configuration has been revamped (again) in order to
210   support new possibilities of OpenSSL (and LibreSSL) without
211   ending up and introducing more and more variables.
213   Instead we now have *ssl-config-pairs*#540, a comma-separated
214   list of all options.  With e.g. OpenSSL 1.1.xx this will be
215   directly passed through to SSL_CONF_cmd(), so there _anything_
216   can be passed, otherwise we use a builtin parser to map.
217   The new *ssl-features*#544 states what is supported.  E.g.:
219     if [ "$ssl-features" =% +ctx-set-maxmin-proto ]
220       wysh set ssl-config-pairs='\
221           CipherList=TLSv1.2:!aNULL:!eNULL:@STRENGTH,\
222           Curves=P-521:P-384:P-256,\
223           MinProtocol=TLSv1.1'
224     else
225       wysh set ssl-config-pairs='\
226           CipherList=TLSv1.2:!aNULL:!eNULL:@STRENGTH,\
227           Curves=P-521:P-384:P-256,\
228           Protocol=-ALL\,+TLSv1.1 \, +TLSv1.2'
229     endif
231   OpenSSL v1.1.xx also introduces an interesting and neat idea to
232   centralize SSL/TLS configuration of (all) programs in a single
233   file.  This can be driven via *ssl-config-file*#538 and the new
234   *ssl-config-module*#539 variables, several entries per program
235   are allowed, see *ssl-config-module*#539 for an example.
237   New manual section "Encrypted network communication"#13.
239 - Variables set or unset via -S#75 are now frozen until program
240   startup is complete.
242 ChangeLog
243 ^^^^^^^^^
245 - Historical behaviour of *askcc*#347 / *askbcc*#348 has been
246   reintroduced.  (Norman Ramsey)
248   A new *asksend*#349 variable will show a final header summary
249   and allows reentering compose mode.  Set by default.
251   POSIX mirrors *ask* onto *asksub*#351, so dropped" the former.
253 - `~^'#304 no longer normalizes header names to titlecase.
255 - We no longer generate charset=binary MIME parameters.
256   This was introduced on 2013-01-02 and was i think owed to
257   file(1)s -i output as i failed to find any other reference.
258   (Normal Ramsey)
260 - *mime-alternative-favour-rich*#434 now also works for handlers
261   installed via *pipe-TYPE/SUBTYPE*#459. (Viktor Szépe)
263 - v14.9.* series did not generate In-Reply-To: headers!
265 - `alias'#130 now supports high-bit bytes and semicolon.
266   Expect that at some later time the input must be valid according
267   to the locale, though. (Norman Ramsey)
269 - Combinations of *record*#483 could crash because of an
270   unterminated variable function argument list. (Norman Ramsey)
272 - New command `readall'#233 loads an entire file into a variable.
274   *signature*#503 has been obsoleted.
276 - `vexpr'#287 now supports negative arguments for the substring
277   subcommand and adds trim, trim-front and trim-end subcommands.
279 - `!'#120 can be used in send mode.
281 - `~A'#305, `~a'#306, `~I'#315 and `~i'#316 will henceforth expand
282   \t and \n only if *posix*#472 is set.
283   Please use `set'#253 instead (with `wysh'#117, until v15).
285 - New "The mime.types files"#35 type marker: @q ("quiet").
287 git(1) shortlog (edited)
288 ^^^^^^^^^^^^^^^^^^^^^^^^
290 Steffen (Daode) Nurpmeso (90):
291 9becdd01 Fix [32e5c7c2] (MLE: KHT: auto-append / for directories at once..)
292 cc54681e $PAGER: always set (non-existent) $LESS=RXi (Paul Vojta)..
293 49124f13 nail.1: use `~.' in "On sending mail.." (Daniel Lublin)
294 7cd29917 THANKS: Daniel Lublin
295 62f5957f nail.h: unconditionally include inttypes.h (Alexander Harm)..
296 c121f519 THANKS: Alexander Harm
297 f0aeef8d Adjust OpenCSW & pkgsrc paths, drop CONFIG=MEDIUM (Alexander Harm)..
298 19fdc151 INSTALL: tweak INCS and LIBS (Alexander Harm)
299 24199743 make-config.sh: integrate DYLD_LIBRARY_PATH in LD_.. (Alexander Harm)
300 64026f7b make-config.in: also needs .PHONY for MacOS (Alexander Harm)
301 52ddd687 make-config.sh: OPT_{NOMEMDBG,ASAN_*}: reduce cc_maxopt=1 (Alexander
302         Harm)..
303 f3087a5c Fix **-honour* <-> *recipients-in-cc* for original To: ones
304 2205dc27 Fix: ask for `write' targets of message/rfc822 attachments (again)
305 5cd0f50d Restore historical behaviour of *askb?cc* (Norman Ramsey)
306 80038311 Fix: do not generate charset=binary parameter (Norman Ramsey)..
307 05427cea send.c:sendpart(): extend *mime-alternative-favour-rich* support
308         (SZÉPE Viktor)..
309 226c1f26 FIX In-Reply-To: generation, broken since [c13e1205], 2017-06-04!
310 135cbebe makefile: add missing reverse solidus (Norman Ramsey)
311 8a4237d2 `alias': support high-bit bytes and semicolon (Norman Ramsey)
312 22c48009 a_nag_group_lookup(): FIX used case-i?sensitive hash function!
313 1bc65e1b a_amv_var_lookup(): error log on empty environment variable (Norman
314         Ramsey)
315 179b39f3 sendout.c:mightrecord(): FIX: terminate starg list! (Norman Ramsey)
316 c2635714 Add `readall' command
317 999a9dbf `vexpr': substring: support negative offset / length
318 58474b55 `vexpr': add trim, trim-front and trim-end subcommands
319 7ab345ae Allow `!' in send mode?!
320 08305026 Obsolete *signature* (quite some better and more generic ways now!)
321 cd03ec01 Glue ~A,~a,~I,~i \t and \n expansion to *posix*; while here: resort
322 c5a223d8 Introduce @q MIME type marker
323 93a4e38a Rework (usage of) *SSL random handling (Rich Salz)..
324 f2cc9b83 Work around possible Linux getrandom() bugs (David Čepelík)
325 35879445 THANKS: David Čepelík
326 dddff6ef Extend the meanings of *fullnames*..
327 884983a3 Diversify n_PSO_STARTED_ states, gain more cmds via -X
328 ba103b71 Reserve command modifier prefixes "local" and "u"
329 4ff9c046 {make-{config,emerge},cc-test}.sh: no command -v (Norman, Ralph,
330         Stéphane)..
331 2a2895f1 THANKS: Stéphane Chazelas
332 24615d82 make-config.sh: accept CC=cc (Norman Ramsey)
333 d6f18b52 Add more support surrounding OpenSSL config stuff++..
334 94bafbc6 Temporarily freeze variables set via -S..
335 bb0d0bf2 Port to SunOS 5.9 (Aharon Robbins)
336 788faabe Support *pipe-message/external-body* access-type=url handlers (Ken
337         Hornstein)
338 02407c15 FIX maildir "yet-exists" hashmap!..
340 v14.9.3 ("Crested tit nibbling sunflower seeds"), 2017-08-03
341 ------------------------------------------------------------
343 This is a bugfix release but which ships some improvements, too.
344 It silently replaces both of v14.9.1 v14.9.2 from earlier this
345 week, which were broken or not entirely fixed.
347 Credits, in order of commit appearance: Felix Fontein, Paul Vojta,
348 Ralph Corderoy, Christos Zoulas, Gavin Troy, Gaetan Bisson.
349 Thanks, Coverity.com.
351 We welcome Christos Zoulas in THANKS.
353 Apologies to Viktor Szépe for the false spelling of his name in
354 the v14.9.0 announcement.
355 And to Gaetan Bisson for not giving credit for [14fbce97]!
357 NOTES, ChangeLog (packager-affine)
358 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
360 - fakeroot support was blindly taken from Debian and broken.
361   (Gavin Troy, Gaetan Bisson)
363 - Base64 output was broken for cases which involved iconv(3).
364   The data is not lost, you can read it with S-nail v14.9.0 and
365   above, and save it somewhere.  I know of no other base64 decoder
366   which reads those things correctly, though.  We now have tests.
367   Along this i fixed an iconv(3) error which likely caused
368   stateful decoding (like, e.g., for ISO-2022-JP) to fail because
369   of an unnecessary reset of the iconv(3) state machine.
370   Thanks to Gaetan Bisson for mentioning this issue!
372 ChangeLog
373 ^^^^^^^^^
375 - In compose mode the MLE allows empty lines again.
377 - We no longer require a writable $HOME#572.  Due to false code
378   flow (but but but: with correct comment) a non-writable $HOME
379   entry in /etc/password (i.e., from getpwuid(3)) would lead to
380   a crash.  (Felix Fontain; Ralph Corderoy)
382 - Two faulty string operations slipped into the IMAP code,
383   resulting in a crash and a "is-same-host" test that would fail
384   for IMAPS connections like `save'#250 or `copy'#152 because of an
385   implicit IMAP protocol for the target of those operations (thus
386   IMAP != IMAPS).  (Paul Vojta)
388 - The MLE tab-expansion will now automatically append a "/" if
389   there is only one possible expansion and that is a directory,
390   saving the user one <TAB>.  (Christos Zoulas)
392   The shell expression parser had a bug regarding understood
393   metacharacters (;|&), which in turn could cause an infinite loop
394   in the MLE tab-expansion for, e.g., "move &9 +<TAB>", because
395   the "&" would never have been stepped over.
397 - New `~I'#315 command escape is like `~i'#316 but does not append
398   a newline.
400 - `localopts'#202 gained an optional second argument.
401   It is now possible to specify that any macro `call'#138ed
402   will have localopts enabled, and it is possible to fixate the
403   setting so that it cannot be reverted.
405 - *@*#337 should now act completely compatible to the sh(1)ell,
406   thus obsoleting my hysteric warnings in the v14.9.0 announcement.
408 - The `Lreply'#203, `reply'#238, `Reply'#237 series as well as
409   `mail'#205 now manage the error status *!*#331.
410   I.e., there are now errors like *^ERR*#333-DESTADDRREQ,
411   ^ERR-NODATA, ^ERR-PERM and similar.  It is not perfect yet,
412   because $DEAD#570 may have been written (with *save*#491) or not,
413   for example.
415   `Lreply' and `reply' have been rewritten rather completely
416   indeed.  They join Reply-To: and Mail-Followup-To: dependent on
417   the context (i.e., *reply-to-honour*#489, *followup-to-honour*#396,
418   see "Mailing lists"#10 for the picture), and if they did, use
419   this list as the receivers exclusively.  It now honours
420   *recipients-in-cc*#482 even for such addressees.  (And now i wonder
421   whether i should have credited Paul Vojta for that.)
423   Also `Lreply' would have crashed for mails with Reply-To: but
424   without *reply-to-honour*#489 set.  We now have a test.
426   Note *replyto* is obsoleted in favour of *reply-to*#488.
428 git(1) shortlog (edited)
429 ^^^^^^^^^^^^^^^^^^^^^^^^
431 670aabb6 a_amv_var_check_vips(): FIX code to match comment (Felix Fontein)..
432 3dcdaa83 THANKS: Felix Fontein
433 3745e002 FIX [81d7f4d8] (IMAP: try (hard) to reinstantiate..) (Paul Vojta)
434 33b2834f FIX [81d7f4d8] (IMAP: try (hard) to reinstantiate..) (Paul Vojta)..
435 1cc0d3de Allow non-writable $HOME (Felix Fontain, Ralph Corderoy)
436 32e5c7c2 MLE: KHT: auto-append / for directories at once (Christos Zoulas)
437 e2bb54b7 THANKS: Christos Zoulas
438 f593fc18 make-config.sh: do NOT skip fakeroot paths
439         (Gavin Troy, Gaetan Bisson)
440 4fe971ea FIX [4047a432] possible bound excess in memset()!
441 84efbcab FIX shexp parser regarding metachars (and poss. endless <TAB> loop)
442 14fbce97 FIX: OH!  The codebase NEVER supported *mime-encoding*=base64!
444 v14.9.0 ("Long-tailed tit"), 2017-07-16
445 ---------------------------------------
447 This is a major feature release which took about ~22 months (24
448 less two) of development to complete, and which imposed massive
449 changes under the hood, but also quite a lot of user visible
450 changes, including some **backward incompatibilities**.
451 As usual, "s-nail -d" will show obsoletion warnings.
453 We gain noticeable improvements regarding scriptability and its
454 reliability, but also for interactive use cases, especially
455 notable to users is our completely new M(ailx)L(ine)E(ditor) that
456 supports rather real tabulator expansion and program-mode-context-
457 sensitive key bindings.
459 We now support macros with arguments, which can be `shift'ed,
460 a `return' status can be used, and a `vexpr' multiplexer offers
461 some arithmetic and string operations.  `commandalias'es are
462 recursive, further command modifier prefixes, like `ignerr', give
463 a hand that we otherwise could not offer.  In compose-mode the new
464 `~^' command escape allows some message and attachment access, and
465 can be used, e.g., to implement things like custom headers, and
466 has been especially designed for scripted access via the new
467 *on-compose-splice* and *on-compose-splice-shell* hooks.
469 S-nail will move (more or less) backward-incompatibly to sh(1)ell
470 compatible argument quoting (documented in "COMMANDS"), and an
471 increasing number of commands do support this already: new ones
472 exclusively, some old ones have either been switched (like
473 `localopts'), others -- noticeably `set' -- can be switched to the
474 new syntax with a `wysh' command modifier prefix.  E.g.:
476   ? define __xv {
477     # Be careful to choose sh(1)ell-style on _entire_ line!
478      localopts yes; wysh set verbose; ignerr eval "${@}"; return $?
479     }
480   ? commandalias call echo boo-boo
481   ? commandalias xv call __xv
482   ? xv list
483   ? commandalias xv '\'call __xv
484   ? xv list
486 Calling the latter `xv' for `list' will give more detailed command
487 information, including which kind of argument is used.
489 I have not managed to implement the three features i have started
490 this development cycle for, these are thus subject to further
491 development, just like wysh for message-list argument commands to
492 support, e.g., negation, wysh for `if' and consorts, the --
493 terminator to finally overcome the ridiculous requirement to quote
494 entire shell commands filenames for commands like `pipe.
495 And and and.
497 Credits, in order of commit appearance: Antonio Radici,
498 Aharon Robbins, Mike Frysinger, Predrag Punosevac, Michael Convey,
499 Hariskar, Rudolf Sykora, Martin Neitzel, Gavin Troy,
500 Salvatore Bonaccorso, Todd C. Miller, Sergey Matveev, Robert Elz,
501 Mantas Mikulėnas, Respiranto, Jens Schleusener, Walter Alejandro
502 Iglesias, Ralph Corderoy, David Levine, Lyndon Nerenberg,
503 Thomas Dickey, Afan, Justin Ellingwood, Ingo Schwarze,
504 Viktor Szépe, Gaetan Bisson, Juan RP, William Yodlowsky,
505 Hilko Bengen, Matthew Dillon, Colin Watson, Donald Mugnai,
506 Stephen Isard, Jürgen Daubert, Sven Neuhaus, trondd, Ismael Bouya,
507 Felipe Gasper, Paul Eggert, Dr. Werner Fink, Ken Hornstein,
508 Noel Chiappa, Random832, Doug McIlroy, Baptiste Daroussin,
509 Riccardo Ductor, Pietro Cerutti, Jörg Schilling, rain1, Xin LI.
511 We welcome Antonio Radici, Mike Frysinger, Predrag Punosevac,
512 Michael Convey, Rudolf Sykora, Todd C. Miller, Robert Elz,
513 Jens Schleusener, Walter Alejandro Iglesias, Thomas Dickey, Afan,
514 Justin Ellingwood, Viktor Szépe, Juan RP, Matthew Dillon,
515 Colin Watson, Donald Mugnai, Sven Neuhaus, Ismael Bouya,
516 Felipe Gasper, Paul Eggert, Dr. Werner Fink, Ken Hornstein,
517 Noel Chiappa, Random832, Doug McIlroy, Baptiste Daroussin,
518 Riccardo Ductor, Pietro Cerutti, Jörg Schilling, rain1, and
519 Xin LI in THANKS.
521 Apologies: Sergey Matveev.
522 Members of the Roff community which await progress.
524 NOTES, ChangeLog (packager-affine)
525 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
527 * This release brings some backward incompatibilities, outlined
528   in the following.  Most users will not be affected, and we have
529   added a lot of compatibility cruft, but that will vanish in v15.
530   "$ s-nail -v"!
532 * The configuration and build system has changed.
533   Packagers have received updated package files.
535   o Anything which was WANT_xy before is now OPT_xy, and
536     compiled-in paths and values, like PREFIX or PAGER, have
537     gained a VAL_ prefix (thus VAL_PREFIX and VAL_PAGER).
539     This is _not_ true for non-persistent or environmental values,
540     e.g., DESTDIR, CC, etc., and also not for the overwritable
541     program variables during configuration, e.g., $awk.
543   o SENDMAIL -> VAL_MTA, SENDMAIL_PROGNAME -> VAL_MTA_ARGV0,
544     MAILSPOOL -> VAL_MAIL.
545     And NAIL -> VAL_MAILX, though this is still a lie.
547   o The make system now needs config..build..install or
548     all..install or tangerine (config..build..test..install).
549     Some constants which some experts may want to fine-tune have
550     been moved to config.h.  Usual adjustments+doc via make.rc.
552   o The `build' phase can be parallelized by setting the $MAKEJOBS
553     environment variable, e.g., "make MAKEJOBS=-j4 build".
554     Note this variable is not tracked in the configuration.
555     (Gaetan Bisson)
557   o Unless DESTDIR is set an uninstallation script will be
558     installed along with the rest (see INSTALL file for more).
560   o Set the new OPT_CROSS_BUILD to avoid feature runtime tests,
561     only compile- and link-availability will be tested.  (Juan RP)
563   o VERBOSE is implemented straight, but must be given at
564     configuration time in order to become honoured.
565     (William Yodlowsky)
567   o ADDCFLAGS / ADDLDFLAGS -> EXTRA_CFLAGS / EXTRA_LDFLAGS.
569   o The LD_LIBRARY_PATH etc. building processes will skip any path
570     which contains the string "fakeroot".  (Hilko Bengen)
572   o We honour a set $SOURCE_DATE_EPOCH#589 environment variable to
573     an extend that allows reproducible tests, which is why the
574     repository gained a [test-out] branch with some expected plain
575     text outputs.  (reproducible-builds.org; Colin Watson)
577     The new *log-prefix*#422 variable aids in improving the
578     reproducibility of error messages.
580   o These are upward compatible changes.
582 * "make OPENSSL_API_COMPAT=0x10100000 all" should work.
584 * Internal and environment variables are now explicitly _defined_
585   and _tracked_ after variable handling has been rewritten
586   completely.  Notes:
588   o This means that, e.g., "$ password=NOT_SECRET s-nail" will
589     **NOT** work no more, since *password*#457 is an internal
590     variable!
592   o But if you do, e.g., "? set TMPDIR=~/tmp", then this will
593     also be reflected in the program environment (it is an
594     environment variable) and thus affect child processes.
596   o Therefore we no longer have `setenv' and `unsetenv'.
598   o To integrate any other environment variable transparently
599     into our variable management, the new command `environ'#174
600     needs to be used, e.g., "? environ set NEWVAR=value" or
601     "? environ link EXISTINGVAR".
603 - -H#64 and -L#67 have been decoupled:
604    it used to be -e#61 -L#67 instead!
606 - *NAIL_{HEAD,TAIL}* have been obsoleted in favour of
607   *message-inject-head*#430 and *message-inject-tail*#431.
609   *NAIL_HIST{FILE,SIZE}* have been obsoleted in favour of
610   *history-file*#404 and *history-size*#407.
612   *NAIL_EXTRA_RC* has been obsoleted in favour of
613   *mailx-extra-rc*#425.
615   *batch-exit-on-error* has been obsoleted by *errexit*#386, which
616   works just like the POSIX sh(1)ell "set -e" construct; the
617   `ignerr'#112 command modifier (`-' for command escapes in compose
618   mode, and see below) can be used to ignore command errors even
619   then.  (This will remain even if we at some later time will
620   support at least some of the sh(1) constructs which "swallow"
621   failures with set -e.)
623   *bsdannounce* is obsolete, the feature is integrated in
624   *header*#401 as this is much more useful.  (This is however also
625   dependent upon the also new but well-known $POSIXLY_CORRECT#587
626   <> *posix*#472, but that is just how it is; these affect more
627   behaviour, and increasing.)
629 - Colour support has been changed backward in- and upward (from
630   user interface side) compatibly, see the manual section
631   "Coloured display"#18.
633   + New commands: `colour'#147 and `uncolour'#148.
634     You can define context-sensitive, terminal-capability-
635     sensitive settings, e.g.:
637       if terminal && [ "$features" =% +colour ]
638         colour iso  view-header ft=bold,fg=magenta,bg=cyan
639         colour 256  view-header ft=bold,fg=208,bg=230 subject,from
640         colour mono view-header ft=bold
641         colour mono view-header ft=bold,ft=reverse subject,from
642       endif
644   + The variable *colour-pager*#372 defines whether colour and font
645     attribute sequences should be generated when viewing something
646     in $PAGER#585.
648   + Set the variable *colour-disable*#371 to turn colour off
649     without affecting established settings.
651   + It is deduced via termcap(5) (see below) whether the terminal
652     supports colors, e.g., "$ s-nail -Stermcap=Co#256".
653     This is also true if we don't have termcap support.
655   + Support for 256-colour terminals. (Gavin Troy)
657 - `source'#265 series support shell pipes if the last character
658    of the "filename" ends with a vertical bar |, e.g.,
660       ? source 'gpg -qd ~/.s-nailrc-private.gpg |'
662 - Shell pipes are also supported as targets for `move'#215,
663   `copy'#152 etc., yet unfortunately not with via a sh(1)ell token
664   parser, so that the target still has to be a single argument.
666       ? copy . '| cat; echo huhu'
668 - Support for custom headers via the new `~^'#304 compose-mode
669   command escape and in addition, or alternatively, with the
670   internal variable *customhdr*#376, which also can be covered by
671   `localopts'#202.  (Sergey Matveev)
673   + Support of $ORGANIZATION has been dropped.
675   + Command escape `~e'#310 supports _any_ header.
677   + Command escape `~^'#304 supports _any_ header.
679 - New -:#53 command line option can be used to more easily select
680   which startup files should be loaded, e.g., -:/ loads none.
681   (Robert Elz)
683 - `account'#127s and *folder-hook*#393s now have `localopts'#202
684    enabled by default.
686 - A first simple form of compose-mode hooks has been implemented:
687   *on-compose-enter*#450, *on-compose-leave*#451 and
688   *on-compose-cleanup*#449 can be set to macros which get invoked
689   at appropriate times.
690   For the `resend'#242 series there is *on-resend-enter*#455 and
691   *on-resend-cleanup*#454: this is very likely to change once
692   true message access is possible even in this mode.
694   An even more powerful mechanism is available via the also new
695   *on-compose-splice*#452 and *on-compose-splice-shell*#453 hooks.
696   These are executed in child processes and communicate with the
697   parent via their standard input and output, and therefore can
698   do anything and act as if they were the user.
700   `localopts'#202 are enabled and cannot be disabled (and extend
701   until the message is sent).
702   (Jens Schleusener, Rudolf Sykora)
704     ? set on-compose-splice=ocs
705     ? define ocs {
706       read ver
707       echo Splice protocol version is $ver
708       echo '~^header list'
709       read hl; vput vexpr es substring "${hl}" 0 1
710       if [ "$es" != 2 ]
711         echoerr 'Failed to read header list, bailing out'
712         echo '~x'
713       elif [ "$hl" @i!% ' cc' ]
714         echo '~^header insert cc Diet is your <mirr.or>'
715         read es; vput vexpr es substr "${es}" 0 1
716         if [ "$es" != 2 ]
717           echoerr 'Failed to insert Cc:, bailing out'; echo '~x'
718         end
719       end
720     }
722 - "The .netrc file"#37
724   + gained support for comments.
725     (Walter Alejandro Iglesias, Ralph Corderoy)
727   + `netrc'#218 now has a "load" subcommand.
729   + the new *netrc-pipe*#444 obsoletes OPT_AGENT and
730     *agent-shell-lookup*, and can be used to load an encrypted
731     .netrc file, e.g.:
733       ? set netrc-lookup netrc-pipe='gpg -qd ~/.netrc.gpg'
735     I.e., this is in usual .netrc syntax and thus possibly much
736     nicer than saying "? source 'gpg -qd ~/.credentials.gpg |'".
738 - termcap(5) / terminfo(5) support has been changed backward in-
739   and upward (from user interface side) compatibly, please read
740   "On terminal control and line editor"#17.
742   + OPT_TERMCAP is by default enabled.
743     The new, by default enabled, configuration option
744     OPT_TERMCAP_VIA_TERMINFO can be used to (try to) use
745     terminfo(5) instead.
747   + The variable *termcap*#552 can be used to freely define or
748     override terminal capabilities, and *termcap-disable*#554 will
749     disable interaction with the chosen library, leaving only
750     *termcap* in charge.
752     To use the so-called ca-mode on supporting terminals,
753     effectively turning S-nail into a fullscreen application,
754     *termcap-ca-mode*#553 must be set.
756   + The built-in line editor has been rather completely rewritten
757     to be the Mailx-Line-Editor (OPT_MLE, default yes), and
758     supports wide glyphs (if possible), infinite line lengths
759     (2 GB) and more.  Tabulator expansion is no longer an option
760     (but needs fnmatch(3)).
762   + Optionally (OPT_KEY_BINDINGS, default yes) it has become
763     possible to freely define key bindings for the MLE via the new
764     `bind'#136 and `unbind'#137 commands.  These key bindings can
765     make use of termcap(5) and/or terminfo(5) names.  The MLE will
766     install a set of default bindings (unless there is a set
767     *line-editor-no-defaults*#421), more so with OPT_TERMCAP,
768     i.e., try "? bind*".
770     Sufficient support provided, one can now, e.g., type "p " and
771     then collect the message numbers to type, scrolling forward
772     and backward via key-bindings, without loosing the line
773     content, then commit the final line.
775   + OPT_EDITLINE and OPT_READLINE support have been dropped.
776     The new MLE should not miss anything.  Does it?
777     Tip: in an UTF-8 locale try "? !touch /tmp/hall{,öchen}" and
778     then autocomplete that: once, then ^Q, and again.
780 - `source'#265 can be used in `call'#138ed macros.
781   What sounds so innocent replaced an entire machinery and got rid
782   of a brilliant idea of Kurt Shoens from the 70s, but which never
783   worked with Nail/Heirloom extensions, namely macros, and in the
784   right order.
785   Accompanying this -X#81 can (dig multiline arguments and can) be
786   used to define macros and run them etc.  Should work:
788     $ s-nail -X'define x {' -Xversion -Xx -X'}' -X'call x'
789     $ s-nail -X'source \' -X'"echo version|"' -Xx
791   Macros can be `undefine'#157d from within themselves, and re-
792   `define'#156d.  It is still not possible to define macros
793   from within macros, and/or have inner macros, not to talk
794   about local scoping or anything more sophisticated such.
796 - -u#78 / $LOGNAME#578 ($USER) handling has been redefined,
797   and "-u USER" is now exactly the same as "-f %USER", and
798   $LOGNAME (and $USER) is actively set to the active user.  (Afan)
800   $LOGNAME#578 is POSIX standardized and henceforth used and
801   preferred over $USER, which came from BSD.  (Todd C. Miller)
803 - In the future (at least non-message-list) argument handling will
804   be changed backward-incompatibly to be sh(1)ell compatible (and
805   thus POSIX standardized), see "Shell-style argument quoting"#24.
806   New commands use it already today (`bind'#136, `colour'#147,
807   `headerpick'#193), some others (most importantly, `set'#253) can
808   be forced to do so via the new `wysh'#117 command prefix, as in:
810     ? wysh set message-inject-tail=$'\n--steffen'
811     ? bind base $'\cA,\x61' 'echo control-A and small a'
813 - We now actively manage *umask*#559: 0077 by default, but an
814   empty string will use the setting that is active upon startup.
815   Just like changes to (known) environment variables, this setting
816   will also be inherited by any child process.
817   (Walter Alejandro Iglesias)
819 - Anything SENDMAIL / *sendmail*-ish has been renamed to *mta*#438,
820   *mta-arguments*#439, *mta-no-default-arguments*#440 and
821   *mta-argv0*#442.
823   The reason is that in v15 we won't even have *smtp*: it is just
824   another form of MTA, and thus obsolete by itself.
825   Note that *mta-arguments* is now parsed via the shell-token
826   parser, so the following ends up exactly as desired.
828     ? set mta-arguments='-t -X "/tmp/my log"'
830   For now we support a hack that understands a file:// URL in
831   *mta*, too, but that is also the default if there is no protocol.
832   E.g.: "? set mta=smtp://a:b@xy.z"
834 - The "spamd" *spam-interface*#522 is obsolete.  I haven't tested
835   it since my main machine died, it is error prone since it assumes
836   internals of the spamassassin wire protocol, and there never was
837   a speed improvement over "spamc".  (However it could react upon
838   the "is-spam" state of a message, which "spamc" doesn't allow.)
840 - The new *inbox*#415 variable will henceforth be looked up when
841   searching for a primary system mailbox (as in "? File %"),
842   followed by the usual $MAIL#579 and compile-time defined local
843   mailspool search.  (Stephen Isard, Jürgen Daubert)
845 - The semantic of -a#55 and `~@'#302 have been changed, and both
846   commands now use the same syntax:
848     -a file[=input-charset[#output-charset]]
850 - New "failinvaddr" keyword for *expandaddr*#388.
852 - We finally "can" the so-called (by myself) "Dr. Problem" (a bit):
853   (Dr. Werner Fink)
855     $ </dev/null s-nail -d:/ -sTrödler 'Dr. D. Iet <z@a.k>' 2>&1 |\
856       grep To:
857     s-nail: >>> To: "Dr. D. Iet" <z@a.k>
859   This can be done via the new `addrcodec'#129, too, note this
860   supports multiple modes (and the `vput'#116 command modifier):
862     $ echo 'addrcodec e Dr. Diet <to@fu.soj> Curd' | s-nail -#:/
863     "Dr. Diet Curd" <to@fu.soj>
865 - All commands with the string "codec" in their name use different
866   argument quoting, namely none at all, please read
867   "Raw data arguments for codec commands"#25.
868   This means that `urlcodec'#282 (and `imapcodec'#617) has
869   slightly changed semantics.
870   And, while here: there is a new `shcodec'#255, too.
872 - We gained "Command modifiers"#21: `\'#111 (avoid expansion of
873   `commandalias'#149es), `vput'#116 (store result in variable),
874   `ignerr'#112  (ignore an error of the following command, even
875   if the new *errexit*#386 is set), `wysh'#117 (use shell-style
876   arguments).
878     $ echo 'vput cwd resvar;echo $resvar' | s-nail -#:/
879     /home/steffen/src/nail.git
881   And the usual sh(1) stuff: `return'#248, `shift'#259, `eval'#176,
882   plus a `xcall'#291 stack-avoidance optimization (to be used in
883   place of a `call'#138 which would be the last called command).
884   And an "expr(1) like thing", yet simple, `vexpr'#287.
886     $ echo 'vexpr + 1 2' | s-nail -#:/
887     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000011
888     03 | 0x3 | 3
889     $ echo 'vput vexpr resvar + 1 2;echo $resvar' | s-nail -#:/
890     3
892   We actually start walking (*?*#330, *^*#332).
894     ? vput vexpr res regex 'bananarama' 'Bana(.+)' '\$1\$0'
895     ? echo $?/$^ERRNAME :$res:
896     1/NODATA ::
897     ? vput vexpr res iregex 'bananarama' '(.+)rama' '\$1\$0'
898     ? echo $?/$^ERRNAME :$res:
899     0/NONE :bananabananarama:
901   The command `vpospar'#288 can be used to manage the stack of
902   positional parameters, i.e., much like "set --".
903   It also offers the possibility to save and restore the stack to
904   and from variables.  Etc.
906   Btw., to contact the maintainer (make.rc variables
907   VAL_CONTACT_WEB and VAL_CONTACT_MAIL):
909     ? echo $contact-web; eval mail $contact-mail
911 - `if'#199 no longer performs automatic number conversion, we
912   use the explicit -lt, -gt etc. syntax of the sh(1).
913   Note: `if' will change to be almost identical to sh(1) if(1),
914   so please ensure proper test bracketing, even if it is less
915   convenient.
917   Moreover, the default string comparison mode has changed to
918   case-sensitive, just like in the shell.  This is because in the
919   future this crux with trigger characters will vanish and `if'
920   etc. will simply slurp in already expanded shell tokens, it will
921   act like the shell in that respect.  We have modifiers, though,
922   yet only "@i" for case-insensitivity, also for regex matches:
924     LC_ALL=C
925     i=`LC_ALL=C.utf8 s-nail -:/ -# -X '
926        \define cset_test {
927           \if [ "${ttycharset}" @i=% utf ]
928              \echo $LC_ALL
929              \xit 0
930           \end
931           \if [ "${#}" -gt 0 ]
932              \wysh set LC_ALL=${1}
933              \shift
934              \eval xcall cset_test "${@}"
935           \end
936           \xit 1
937        }
938        \call cset_test C.UTF-8 POSIX.utf8 POSIX.UTF-8 \
939           en_EN.utf8 en_EN.UTF-8 en_US.utf8 en_US.UTF-8
940    '`
941    [ $? -eq 0 ] && UTF8_LOCALE=$i
943   Please note the `eval' in 'eval xcall cset_test "${@}".  This is
944   a difference of S-nail/mailx and the sh(1)ell that will remain,
945   as documented in "COMMANDS"#20: whereas the shell implements
946   a language and performs standardized expansions on the line
947   until finally the command is called, S-nail will decide the type
948   of command line parsing dependent on the seen command, and will
949   then perform a single expansion.  Therefore "${@}" will expand
950   to multiple arguments if $# is greater 0, but it will expand to
951   the empty string otherwise, which is not furtherly expanded away
952   since it is meaningless like it is in the shell: therefore $#
953   will be 1 (the empty string) not 0.
955 - Using an explicit proto:// prefix should get you the desired
956   thing apart of *newfolders*#445, e.g.:
958     ? File maildir:///tmp/x.mdir
959     ? copy * file:///tmp/x.mbox
961 - New variable *record-files*#484 can be set to extend the meaning
962   of *record*#483.  *record-resent*#485 was there already.
964 - New variable *ifs*#411 acts a bit like the sh(1)ell's $IFS for,
965   e.g., the new `read'#232 command.
967   There is a `readctl'#234 command which can be used to manage
968   the active channel used by `read'#232.
970 - The `~' alias for `call'#138 is gone.
972 - `mimetype'#207 only allows specification of a single type per
973   call, on the other hand no need to quote that.
975 - `mimeview'#211 must now be used explicitly to look at any
976   non-text MIME part, for normal display etc. purposes we only
977   support "copiousoutput"#604 MIME handlers.
979 - New *socks-proxy*#521 can be used to proxy all network traffic
980   over a SOCKS5 proxy.  (Gaetan Bisson)
982 ChangeLog
983 ^^^^^^^^^
985 - The manual has seen another major overhaul, all the variables
986   are now documented in a single, sorted list, and many
987   clarifications should have been added.  I hope it has become
988   a better read.
989   (Predrag Punosevac, Michael Convey, Hariskar, Rudolf Sykora,
990   Respiranto, Thomas Dickey, Donald Mugnai)
992 - To support RFC 1524 a.k.a. .mailcap files (see below) many
993   "trigger"-characters have been added for *pipe-TYPE/SUBTYPE*#459,
994   which may (rarely) affect existing values.
995   The .mailcap support itself is not yet implemented.
997 - *mime-counter-evidence*#435 gained bit 4 (perform proper in-depth
998   content inspection as necessary; set to 0xE for all bits).
999   (Aharon Robbins)
1001 - Maildir paths are now created recursively as necessary.
1002   (Justin Ellingwood)
1004 - -M#68 and -m#69 options have been added to enforce a special
1005   send mode that will flag standard input / the given file with
1006   the specified / detected MIME 'Content-Type:'.  This can be used
1007   to directly send, e.g., HTML log output.
1008   (Viktor Szépe, Ralph Corderoy)
1010 - Disallow symlinks on writable files.  Note this requires
1011   O_NOFOLLOW support for the operating-system-call open(2), but
1012   which has been standardized a long time ago.
1013   (Matthew Dillon)
1015 - `retain'#247, `ignore'#200 etc. now differentiate in between
1016   From (the From: header) and From_ (the MBOX ident).
1018   In fact we now have a new `headerpick'#193 command which
1019   is a multiplexer for all retain and ignore lists used, call it
1020   without arguments to see the current setting(s).
1021   In v15 only `headerpick' and the standard-imposed wrappers
1022   `retain' and `ignore' will remain, all other wrappers will
1023   vanish.  Regular expressions can now be used if available:
1025     ? headerpick
1026       headerpick type retain blahblahblah cc date from \
1027         mail-followup-to message-id openpgp reply-to subject to \
1028         user-agent
1029       #headerpick type ignore currently covers no fields
1030       #headerpick save retain currently covers no fields
1031       headerpick save ignore '^Original-.*$' '^X-.*$' '^DKIM.*$'
1032       headerpick forward retain cc date from list-id \
1033         mail-followup-to openpgp reply-to subject to
1034       #headerpick forward ignore currently covers no fields
1036 - `top'#274 has been rewritten completely, `Top'#273 is new.
1037   It uses a built-in set of retain/ignore headers, but it is
1038   possible to register a custom set via `headerpick'#193.
1039   Also, *toplines*#555 has been extended a bit and the new
1040   *topsqueeze*#556 variable may pimp your `top' experience.
1042     ? headerpick top retain add subject
1043     ? top
1044     [-- Message  1 -- 87 lines, 4791 bytes --]:
1045     Subject: Re: I can't dist to myself
1047     I wrote:
1048         3.22. bounce_delivered
1050 - `features' has been dropped, `version'#286 extended.
1052 - The *prompt*#474 handling has changed: we lost the capability to
1053   expand \?, \@ and \$, instead new "private" variables *?*#330,
1054   *account*#341, *mailbox-resolved*#424 and
1055   *mailbox-display*#423 have been introduced, and the prompt
1056   is completely shell expanded (thus twice with `wysh' or in v15),
1057   as if dollar-single-quote quoted.  We do support the reverse-
1058   solidus escaped bracket notation for embedding characters which
1059   should not be counted when calculating the width of the prompt.
1060   The `colour'#147 command has a slot for the prompt colour.
1061   We gained *prompt2*#475 as a second level prompt.
1063     ? var prompt
1064     wysh set \
1065       prompt='?\${?}!\${!}[\${account}#\${mailbox-display}]? '
1067 - The filename "-" can be used as a receiver, e.g.,
1069     $ echo Hey,\ you | s-nail -:/ -Sexpandaddr -sUB -
1071 - The -s#76 command line option, the `~s'#323 command escape
1072   as well as the corresponding slots of `~^'#304 will actively
1073   strip [\r\n] from their value (Debian #419840).
1075 - New `read'#232 and `echoerr'#167 commands, mostly for
1076   *on-compose-splice*#452.
1077   But also `echon'#168 and `echoerrn'#169, which do not write
1078   a trailing newline.
1080 - New variable *r-option-implicit*#481 may be helpful to those
1081   who regulary need the functionality of the -r#74 command
1082   line option.  (Felipe Gasper, Martin Neitzel)
1084 - By using new "pseudo-URLs" one can automatize the use of S/MIME
1085   keys / (certificates / intermediate include certificates) with
1086   passwords.  E.g., to drive bob@exam.ple, set
1087   *smime-sign-cert-bob@exam.ple* to the private key / certificate
1088   pair as usual, the password lookup will then be performed for
1089   bob@exam.ple.smime-cert-key, bob@exam.ple.smime-cert-cert and
1090   bob@exam.ple.smime-include-certs.
1091   Like this the password can be stored in an encrypted .netrc file
1092   when *netrc-lookup*#443 and *netrc-pipe*#444 are set, or it may
1093   be stored in an encrypted resource file that has been loaded via
1094   `source'#265 as a simple *password*#457 variable.
1096   Note that the prompting that happens as a last resort of
1097   password lookup will still interfere with a possibly running
1098   $PAGER#585 instance, dependent on the setting of *crt*#375, of
1099   course.  Proper job control handling and recognizing that we are
1100   running $PAGER when doing that prompt is a TODO for v15.  Sorry.
1102 - Some commands, like `set'#253, `help'#196, `list'#201,
1103   `mlist'#209 etc., now react upon the setting of *verbose*#562
1104   and(/or) *debug*#379.
1106 - `write'#290 uses iconv(3) as appropriate.
1108 - *mbox-rfc4155*#427 has first been dropped, and was then
1109   reintroduced with different semantics.  Because, it can be
1110   helpful if a messed up MBOX is read, in which case we henceforth
1111   will warn you and point you to this:
1113     ? define mboxfix {
1114       \localopts yes; \wysh set mbox-rfc4155;\
1115         \wysh File "${1}"; \eval copy * "${2}"
1116     }
1117     ? call mboxfix /tmp/bad.mbox /tmp/good.mbox
1119   P.S.  Here you see how weird the current thing still is, in v15:
1121     ? define mboxfix {
1122       localopts yes; set mbox-rfc4155; File "${1}"; copy * -- "${2}"
1123     }
1125   And also in v15 we will not apply (proper) so-called MBOXO
1126   quoting, but instead (simply MIME) re-encode mail messages.
1128 - `call_if'#139 is new and, different to "? ignerr call", silent
1129   and not messing with the return status.
1131 - The new *smime-ca-flags*#507 and *ssl-ca-flags*#534 can be used
1132   to fine-tune X509_STORE_set_flags(3) a.k.a the X509 CA
1133   certificate verification.
1135     ? set ssl-ca-flags=partial-chain
1136     ? wysh set smime-ca-flags="${ssl-ca-flags}"
1138   Also, *ssl-curves*#543 for TLSv1.3.
1140 - Socket connections use TLS S(erver)N(ame)I(ndication) as
1141   appropriate (RFC 7817).
1143 - `alternates'#132 checks arguments and supports `vput'#116.
1144   It by default no longer replaces but appends alternates, unless
1145   *posix*#472 mode is active.  There is a new `unalternates'#133
1146   command to remove alternates.
1148 - A new `charsetalias'#142 command.  (Pietro Cerutti, mutt#3925)
1150 - New commands `filetype'#180 and `unfiletype'#181: in the future
1151   we will no longer know any builtin filetypes, in fact we already
1152   simulate .gz etc. via the new mechanism as necessary:
1154     ? filetype \
1155        bz2 'bzip2 -dc' 'bzip2 -zc' \
1156        gpg 'gpg -d' 'gpg -e' \
1157        gz 'gzip -dc' 'gzip -c' \
1158        xz 'xz -dc' 'xz -zc' \
1159        zst 'zstd -dc' 'zstd -19 -zc' \
1160        zst.pgp 'gpg -d | zstd -dc' 'zstd -19 -zc | gpg -e'
1162 - `~<'#299 now offers a "- [HERE-delimiter]" mode for pasting etc.
1163   (Ralph Corderoy)
1165 - `exit'#177 and `quit'#231 take an optional exit status.
1166   (That is not fixated yet, though.)
1168 - We have a useful -h / --help output.  (Doug McIlroy)
1170 - *encoding* obsoleted in favour of new *mime-encoding*#436, which
1171   now defaults to base64.
1173 - *allnet*#343 now works (broken since nail 10.00, 2002-09-29).
1175 git(1) shortlog (abbreviated)
1176 '''''''''''''''''''''''''''''
1178 f01291d extract_date_from_from_(): dig more invalid MBOXes (Antonio Radici)..
1179 df8768b Add *mime-counter-evidence* bit 4 (Aharon Robbins)..
1180 d3fe980 Ftmp(): drop "mode" argument (not wrong: Mike Frysinger)..
1181 86159db nail.1: we support searching, really (Predrag Punosevac)
1182 5b61a08 nail.1: talk about address lists (again) (Michael Convey)..
1183 0eeffc4 nail.1: try improve states / MBOX etc. relation (Michael Convey)
1184 43ea039 nail.1: what is an environment variable (Michael Convey)
1185 13e0804 nail.1: fix typo (Hariskar (archlinux Wiki))
1186 03d6af5 nail.1: more on sortability (Rudolf Sykora)..
1187 4da9043 Not "binary", but "boolean" variables! (Predrag Punosevac)..
1188 c85f56d Support :d specifier for at least `from' (Martin Neitzel)..
1189 b12e1ed Be more friendly when composing mails (Martin Neitzel)..
1190 b50eac0 nail.1: use display/show not type/print (Michael Convey)..
1191 6feafaf Add `search' alias for `from' (Predrag Punosevac)
1192 a4e2612 Support 256-colour terminals (Gavin Troy)
1193 8655aff Error framework: print UAGENT prefix (ident in pipes; Salvatore
1194         Bonaccorso)
1195 e96baaa Introduce $LOGNAME, the POSIX equivalent of $USER (Todd C. Miller)
1196 76e6364 Add `customhdr' (Sergey Matveev)..
1197 ad58c91 Support *customhdr*, too (Sergey Matveev)..
1198 6322e0a Support _any_ user header via ~e (Sergey Matveev)..
1199 5d52578 Add -: command line option (Robert Elz)..
1200 53b5f07 README: use git(1) --single-branch (Mantas Mikulėnas)
1201 420131f Fix mispelling: can|to be send->sent (Respiranto (archlinux Wiki))
1202 d6902e1 Add *on-compose-{enter,leave}* hooks (Jens Schleusener, Rudolf
1203         Sykora)..
1204 abf2e5d .netrc: support comments (Walter Alejandro Iglesias, Ralph Corderoy)..
1205 37e0c26 nail.1: .netrc comma separator was in original Berknet parser! (Ralph
1206         Corderoy)
1207 40522c3 nail.1: use -v option to cat(1) if available (Thomas Dickey)
1208 d8f7cd7 (BWDIC!) Redefine -u / $LOGNAME / $USER (Afan)..
1209 e337e00 Support expansions in $MAIL!; more on `account's (Afan)..
1210 d596d74 Compare *newfolders* case-insensitively (Justin Ellingwood)..
1211 57744f9 Redefine *folder* / getfold->folder_query() / *HOME* (Justin
1212         Ellingwood)..
1213 3c57c83 n_path_mkdir(): create recursively as necessary (Justin Ellingwood)
1214 0bbe981 nail.1: fix spelling errors as by igor(1) (Ingo Schwarze)
1215 f1a775b Add -M and -m options (Viktor Szépe, Ralph Corderoy)..
1216 1bd8e48 Add *umask*, and set actively (Walter Alejandro Iglesias)..
1217 6b1cd93 Now with *umask*, just drop fchmod(2)++ calls (Walter Alejandro
1218         Iglesias)
1219 ba22166 Change make targets; add $MAILJOBS; don't track $DESTDIR (Gaetan
1220         Bisson)..
1221 cd244b1 Add WANT_CROSS_BUILD make.rc option (Juan RP)..
1222 95141f6 Tweak VERBOSE handling (William Yodlowsky)..
1223 d74a18a mk-conf.sh:path_check(): skip any "fakeroot" path (Hilko Bengen)
1224 10990e4 Add n_O_NOFOLLOW, disallow symlinks for writable files (Matthew
1225         Dillon)..
1226 df4954c Add $SOURCE_DATE_EPOCH (reproducible-builds.org; Colin Watson)
1227 dc92f2c savedeadletter()->sendout.c; tweak POSIX compliance (Ralph Corderoy)
1228 20f3cd2 nail.1: more explicit `set' references instead of saying 'Set' (Donald
1229         Mugnai)..
1230 2d53b46 url_parse(): better take better care for path parts (Stephen Isard)..
1231 21f0eaa mk-conf.sh: find terminfo on Sun (Thomas Dickey)..
1232 e4ddaa8 Change n_iconv*() protos, add enum n_iconv_flags (Ralph Corderoy)..
1233 1587069 FIX [44cec1f] (Fix "address" message specifications (John Dodson))..
1234 e40e181 nail.1, nail.rc: set *sendwait* by default (Ralph Corderoy)
1235 7adcf99 `write'++: !interactive: urlxenc() attachment paths (Ralph Corderoy)..
1236 b14aae7 `write'++: !interactive:.. But now, really (Lyndon Nerenberg, David
1237         Levine)..
1238 5270bf1 Simplify *folder* (implicit trail solidus) (Stephen Isard, Ralph
1239         Corderoy)
1240 a638bcf Add *typescript-mode*, set it for -# (Ralph Corderoy, Martin
1241         Neitzel)..
1242 053e19f Add *inbox* (Stephen Isard, and Jürgen Daubert)..
1243 20e3240 Add OPT_ALWAYS_UNICODE_LOCALE (Predrag Punosevac)..
1244 14b5a3a Make combinetime() overflow safe (Vincent Lefevre)..
1245 7a657d9c cc-test.sh: add S/MIME disproofs via smime(1) (Sven Neuhaus)..
1246 ae86c884 cmd1.c:__hprf(): compensate for add. bytes of UTF-8 seq.(s) (Martin
1247         Neitzel)
1248 975e6869 (BWDIC!) Only rm sysboxes, unless *posix* (Walter A. Iglesias,
1249         trondd)..
1250 81e33751 Throw away file_expand() (Ismael Bouya)..
1251 5ae556f8 Add *r-option-implicit* (Felipe Gasper, Martin Neitzel)..
1252 33709163 nail.1: some more words for *inbox*, and such sort (Stephen Isard)
1253 88c19049 mk-release.inc: place OpenPGP signatures last (learned from Paul
1254         Eggert)
1255 0ede309c Rudely fix the RFC 5322 dot-atom, the "Dr. Problem" (Dr. Werner Fink)
1256 f797c27e FIX privsep.c, yes, vulnerability (wapiflapi)..
1257 f2699449 FIX privsep.c vulnerability, II (forgot hostname!) (wapiflapi)
1258 303d46cd FIX [3d7835fc] aka `~^' attachments, especially Content-ID: (Ralph
1259         Corderoy)
1260 4ce4eb55 privsep.c: and just verify the box is also in CWD (wapiflapi)
1261 25d9e6e2 Generate Content-ID: as applic. (Ralph Corderoy, Ken Hornstein, David
1262         Levine)
1263 6409c886 nail.1: clarify/FIX doc. of \cX (Noel Chiappa, Random832)..
1264 5a1c023c nail.1: furtherly clarify doc. of \cX (Doug McIlroy)..
1265 d33294c2 mk-release.inc: use %B for $DATE_MAN (Baptiste Daroussin)..
1266 eafa9411 (BWDIC!) Defaults for *datefield{-markout-older}* (Debian #855582;
1267         r.ductor)..
1268 5ab93627 MLE: set FEXP_NOPROTO for mle-complete expansions (Ralph Corderoy)
1269 ada72661 ~<: add "- [HERE-delimiter]" for pasting etc. (Ralph Corderoy)
1270 d4d46c42 Add `charsetalias', and use it (Pietro Cerutti, mutt#3925)
1271 65e2b75f Redefine VIP handling of variables (Ralph Corderoy)..
1272 162cafb7 *mime-counter-evidence*, bit 4: allow "soft" controls (Jörg
1273         Schilling)..
1274 90861930 Readd removed fflush()/fseek() in between read and write..
1275   [That should credit Jörg Schilling indeed]
1276 aae47707 Tweak previous, and include O_CREAT in "a+" (Jörg Schilling)..
1277 3e4441f8 a_main_usage(): new synopsis (Doug McIlroy)
1278 8f61025b FIX icase hmaps (`charsetalias', `filetype', `mlist') (rain1)
1279 2e6a811d a_termcap_init_var(): numerics not necessarily decimal (Thomas
1280         Dickey)..
1281 9d58267f config.h+: add n_PATH_DEVNULL, use it instead of hardcoding (Xin LI)
1282 8075cf00 Support *socks-proxy* (SOCKS5) (Gaetan Bisson)
1284 Appendix
1285 ^^^^^^^^
1287 The complete changelog of commits in between two versions OLD and
1288 NEW can be inspected by using the git(1) `log' command:
1290   $ git log --reverse --topo-order --abbrev-commit OLD..NEW
1291   # Only topic branch headers (--no-merges for content commits only):
1292   $ git log --oneline --reverse --topo-order --merges OLD..NEW
1293   # Same, but truly accessible:
1294   $ git log --oneline --reverse --topo-order --merges --parents OLD..NEW |
1295     while read c1 c2 c3 c4 c5 c6; do
1296       printf "%-24s: \$ git log --oneline --no-merges %s ^%s\n" \
1297         "${c6}" "${c1}" "${c2}";
1298     done
1300 Entries for releases before v14.9.0 have been cut off and can be
1301 found in the git(1) repository:
1303   v14.8.0 - v14.8.16: $ git show v14.8.16:NEWS
1304   v13     - v14.8.5 : $ git show v14.8.5:NEWS
1305   9.0     - 12.5    : $ git show heirloom:ChangeLog
1307 Also accessible via HTTPS?, just replace X.Y.Z accordingly:
1309   \https?://git.sdaoden.eu/cgit/s-nail.git/tree/NEWS?h=vX.Y.Y
1311 For even older releases you need to look into the [timeline]
1312 branch, but no changelog has been administrated for them.
1314 # s-tm-mode