Introduce enum flock_type for fcntl_lock() (drop fcntl.h)
[s-mailx.git] / NEWS
blobd46594f2184381de9b234887cdf0b9cc744274aa
1 S - n a i l  N e w s
2 ====================
4 The complete changelog of commits in between two versions can be
5 inspected by using the git(1) `log' command as shown below, where `OLD'
6 and `NEW' are the two versions to be compared, e.g., v14.4.5 and v14.5.2:
8   # All commits:
9   $ git log --reverse --topo-order OLD..NEW
10   # Only topic branch headers:
11   $ git log --oneline --merges --reverse OLD..NEW
12   # Same, but truly accessible:
13   $ git log --oneline --parents --merges --reverse OLD..NEW |
14     while read c1 c2 c3 c4 c5 c6; do
15       printf "%-24s: \$ git log --oneline --no-merges ${c1} ^${c2}\n" "${c6}";
16     done
18 v14.5.2: fix 4: 2014-02-15 (2014-02-14)
19 ---------------------------------------
21 - s-nail-14_5_2-smime.patch
22   Fix a very stupid off-by-one error that i've introduced
23   in [7bdf330] (OpenBSD 5.3: sigh, address strcpy(),strcat()
24   etc., 2013-06-01).
25   Until we've changed the used data from string to something
26   line-wise, use strcat(3) again.
28 v14.5.2: fix 3: 2014-02-10
29 --------------------------
31 - s-nail-14_5_2-maildir.patch
32   maildir folders would have caused problems in environments which
33   provide the realpath(3) function: beside a "cannot canonicalize PATH"
34   warning the finally used path would be wrong (`test3' would end up as
35   `test3/test3'), so that any further access would try to use the wrong
36   path.  Please read the description of this patch and/or the commit
37   logs of the commits [1c2563b] and [13f325f].
39 v14.5.2: fix 2: 2014-02-05
40 --------------------------
42 - s-nail-14_5_2-mimeheader.patch
43   A header like
45     Subject: ehm, .getElementById("blink") needs <span
46      =?US-ASCII?Q?id=3D"blink">,?= not =?US-ASCII?Q?class=3D"id"?=
48   would yet be displayed without the " not " in between the two encoded
49   words because of faulty "encoded-word-continuation" detection (note
50   the quotation marks).  The error path could also have been seen in
51   mail forwarding and in faulty searching etc.
52   This patch is in a row of fixes for my hasty [0f9ad93] from 2013-03-12
53   that already caused the v14.2 minor release (because of [b608c6b] from
54   2013-03-14).  Those with mercy may read the commit message of [c81afce].
56 v14.5.2: fix 1: 2014-01-30
57 --------------------------
59 - s-nail-14_5_2-sort.patch
60   Reverses (sort(),thread(): use srelax()!, 2014-01-18, [a9b67e9]),
61   which was a hasty commit of an untested diff that i've added few
62   minutes beforehand:
64     As a rather careless last-minute change i've added string relaxation
65     to threaded and sorted display, but it's really one more step towards
66     lowering memory pressure -- i couldn't resist [a9b67e9] after seeing
68   An alternative, forward-heading patch that keeps string relaxation has
69   been pushed to [master] as [5e75529] and is also available as
70   s-nail-14_5_2-sort-alt.patch.
72 v14.5.2, 2014-01-18
73 -------------------
75 Thanks to Ypnose, Sunil Nimmagadda and Gavin Troy.
76 Gavin Troy *really* deserves special thanks for facing [next]!
77 And i want to dedicate the new coloured message display functionality
78 to John Dodson and Ypnose.  Thank you.
79 (And best wishes to beautiful Australia!)
81 ChangeLog (packager-affine)
82 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
84 - All utilities can now be overwritten during configuration so that
85   their values are fixated in the generated makefile (`mk.mk').
86   I.e., talking about MAKE=, STRIP=, awk=, cat=, chmod=, cp=, cmp=,
87   grep=, mkdir=, mv=, tee=.
88   rm= and sed= have to be overwritten from the command line, they're
89   needed before `conf.rc' is read.
90   [5c03347, 072ec65, 39a00ab, 23a1245, ?]
91   (Ypnose)
93 - The release tarball is now also available in a xz(1) version.
95 - New configuration option: WANT_COLOUR, by default enabled.
97 - 'make test' should now really work, even if the running user has
98   a mailbox with content. [f223a91]
100 - WANT_AUTOCC is now by default enabled, so as for normal users which
101   don't have the need to embed into a defined packaging environment.
102   [d7e4e31]
104 - Installation no longer strip(1)s away debug symbols if WANT_DEBUG was
105   enabled. [6d075c6]
106   (Gavin Troy)
108 ChangeLog
109 ^^^^^^^^^
111 - Fixes to some bugs that are present since the first cvs(1) commit of
112   Heirloom mailx(1); includes that *ssl-key-user@host* should now work.
113   [4405a2cc, 9770c26f, 692976b9]
115 - Some off-by-XY fixes, thanks to the debug memory canaries.
116   [19b2b0d, 202506e, 43df6e4]
118 - Fixes for (other) stupidisms (of mine): [1c2161f]
120   This includes true implementation of in-memory history limit for the
121   NCL, which was the final and real solution to a segmentation fault
122   that Gavin Troy had to deal with on [next]. [1089f2b]
123   (Gavin Troy)
125 - For completeness: new command `var-inspect' shows information about
126   all given options.  Mostly ment for implementing future tests.
127   [topic/okeys]
129 - The `pipe' command no longer embeds message information into the
130   data passed through to the command (when *piperaw* is set).
131   [ef5ecc6 (part of topic/colour)]
133 - Simple coloured message (header) display is now possible.  Please
134   read the new manual section "Coloured message display", use
135   *colour-disable* to turn it off.  (It is enabled by default if it
136   knows the terminal is capable and, if used, the pager can, too.  Note
137   we now set LESS=FRXi when starting PAGER and no LESS= is in the
138   environment.)
140   Dedicated to John Dodson and Ypnose.
141   [topic/colour, c6e84c7]
143 - The `if', `else', `endif' syntax has been extended.
144   You can now "if 0" (never), "if 1" (always), "if $OPTION" (boolean
145   check for OPTION) and "if $OPTION == 'VALUE'" as well as "if $OPTION
146   != 'VALUE'".  Unfortunately it is still not possible to use
147   conditionals inside conditionals. [0fb2ae7]
149 - -# now also sets MBOX=/dev/null. [4be2f1e]
151 - The NCL command line editor now supports cursor keys when the terminal
152   produces xterm(1)-compatible keycodes ('ESC' + '[' + [DACB] for left,
153   up, right and down, respectively).  What a thrill, yay!!! [0cbf672]
155 - New (optional) command: `history': show or clear command line history,
156   or select a specific command line from in there.
157   History works a bit different now, and should no longer include
158   command lines which include specific message numbers; more to come.
159   [59c6195, topic/hist2]
161   I plan to join all the history management and use only the one that is
162   part of NCL now, hooking it into editline(3) and readline(3).  That
163   would shrink tty.c a bit and also introduce duplicate elimination for
164   readline(3).
166 - The new ~u and ~U tilde escapes work like ~f and ~m, respectively, but
167   don't include any header lines.  Inspired by a patch from
168   Sunil Nimmagadda on openbsd-tech@.  [c37b8b3]
170 - The `|' command should work again -- it has stopped working on
171   2013-09-09 when i've accidentally changed the command name from `|' to
172   ` | '. [5a8378d]
173   (Gavin Troy)
175 - As a rather careless last-minute change i've added string relaxation
176   to threaded and sorted display, but it's really one more step towards
177   lowering memory pressure -- i couldn't resist [a9b67e9] after seeing
178     ?0[ /Users/steffen/src/nail.git/t.mbox]? sst
179       Buffer allocs ever/max simultan. : 14/14
180       Overall alloc count/bytes        : 17165/881088
181       Cycle maximums: alloc count/bytes: 16906/876984+0
182     ?0[ /Users/steffen/src/nail.git/t.mbox]? sst
183       Buffer allocs ever/max simultan. : 0/0
184       Overall alloc count/bytes        : 16515/841816
185       Cycle maximums: alloc count/bytes: 16256/837712+829560
187 ChangeLog (purely technical)
188 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
190 - We now have debug canaries for all memory sources now that [8419d44]
191   added them to the "string dope".
193 - The most work has been done on our value system, which manages the
194   binary and value options, like *folder* etc.
195   It is now based on enumerations, i.e., constant integers, not on
196   strings.  This of course only relates to non-dynamic options.
197   Anyway, this saves us key hashing and allows more compact data
198   representation in general (see the new header `okeys.h' for more).
199   [topic/okeys]
201 v14.5.1, 2013-12-27
202 -------------------
204 ChangeLog (packager-affine)
205 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
207 - The build system *only* uses the automatically detected $CFLAGS and
208   $LDFLAGS if WANT_AUTOCC=1.  I.e., even unset or empty $CFLAGS and
209   $LDFLAGS are not touched until then.
210   (We do however still set $CC if that is unset or empty or set to the
211   plain string "cc".) [856625f6]
213 ChangeLog
214 ^^^^^^^^^
216 - Fixed segmentation faults / bus errors when setting *nofolder*
217   / *line-editor-cursor-right* to the null string (only with WANT_NCL),
218   respectively. [d1f1a19b, 21e5c285, 9f6ff25d]
220 - *prompt* handling is now really POSIX compliant (thus no prompting
221   occurs not only for 'set noprompt', but also for setting *prompt* to
222   the null string).
224   This was indeed a rather large changeset that also introduced the new
225   *prompt* escape character \&, which expands to `?' by default and to
226   `&' if *bsdcompat* is set.
228   Like that we now can simply assign "\& " to *prompt* at program
229   startup, which (a) allows to do 'set noprompt' without error (once)
230   and (b) allows for POSIX compliance in respect to prompt handling
231   without any complicated conditional code, but (c) gives us the
232   opportunity to continue to support BSD prompts.
233   [0dfe53db]
235 - For completeness: new command: `features'.  (Rather useful for being
236   able to implement more tests in the future, and act according to what
237   is really compiled into the tested binary.
239 - The `-#' command line option now also sets *quiet* by itself.
240   [7b5a5c87]
242 - nail.1: a newly introduced empty line in the manual produced error
243   messages on some systems.  Fixed.
245 - The return value of the `mimetypes' command has been reversed and
246   should now be fixed. [acf56ac52]
248 - In threaded display the Subject: followup suppression no longer
249   takes into account invisible messages.
250   Also, rudely hack in a messages-already-written-in-this-round counter,
251   so that the followup suppression knows when "the top of the screen" is
252   reached, which (seems to) help(s) against missing subjects up there as
253   well as after a `newmail'. [topic/subject]
255 - Added a WANT_REGEX=1 toggle in `conf.rc'.
256   When we find regular expressions then a new regex-enabled IMAP-style
257   search is available (see the manual for more) [1ec8fe68]
259     ? f (/or subject ^\[S-nail (subject ^\[nail-devel))
260     ? f (/subject ^\[S-nail) (/subject ^\[nail-devel)
261     ? f (/subject "^\\[(S-nail|nail-devel)")
263   I'm looking forward for being able to add another, simplified, syntax.
265 ChangeLog (purely technical)
266 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
268 - The cc-test.sh has seen some tweaks, for easier future extension, and
269   for adding a test for [d1f1a19]. [several, mentioned: 21e5c285]
271 - On systems without a real wordexp(3) implementations deadlocks could
272   occur because we sometimes hold_all_sigs() to avoid longjmp(3)s away
273   (and will do so for quite some time, still), and that resulted in the
274   SIGCHLD that reported the exit of the started subshell to be blocked,
275   too (e.g., after '? *.h<Tab>': endless hang).  Fixed.
277 v14.5, 2013-12-19
278 -----------------
280 Many thanks: Gaetan Bisson, William Yodlowsky, Gavin Troy,
281 Thomas (wasd AT gmx DOT net), Ypnose.
282 And Gavin Troy definetely deserves a very special credit.
283 But thank you all, and very much indeed!
285 ChangeLog (packager-affine)
286 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
288 - The `test' make target has been fixed. [f0991e14]
289   (Gaetan Bisson)
291 - It is possible to gain a different kind of make(1) verbosity by
292   using a VERBOSE=1 command line argument (this knob is not taken into
293   account when deciding wether a rebuild is needed). [498e4ad0]
294   (William Yodlowsky)
296 - On Crux 3 Linux and OpenBSD the readline(3) and editline(3),
297   respectively, libraries will now be found when desired. [a7d1aa78]
298   (William Yodlowsky)
300 - WANT_LINE_EDITOR has been renamed to WANT_NCL, *plus*.
301   So now there are WANT_READLINE, WANT_EDITLINE and WANT_NLC, each of
302   them can be set individually, and they are tested in the shown order.
303   Also, WANT_TABEXPAND and WANT_HISTORY have been introduced and can be
304   used to fine-tune functionality. [ae4e01e1, b2635feb, 9742bf40]
306   (While here, i've fixed WANT_TABEXPAND code so that it is more
307   sensitive to line excess; on Linux etc., where MAX_INPUT is 255,
308   strange behaviour could be seen because we didn't take into account
309   the length of the prompt at all.  The NCL is assumed to have only
310   one remaining, but unfixable problem: backspace often is incapable
311   to cross visual line boundaries; use ^A/^E + ^L, then. [e832c04a]
313   Also, cursor (now ^B and ^F) and history movement (now ^P and ^N) of
314   the NCL have been changed. [d7d928da])
316 - WANT_QUOTE_FOLD is now enabled by default.  And WANT_ASSERTS has been
317   renamed to WANT_DEBUG. [1e10da1f]
319 - The build system has seen yet another overhaul in general.  CC, CFLAGS
320   and LDFLAGS plus are now tracked and changes will force rebuilds.
321   The new WANT_AUTOCC option can be used to let the build system figure
322   out a compiler and choose known-to-work flags.  Use the new ADDCFLAGS=
323   and ADDLDFLAGS= command line arguments to add your specific flags on
324   top of those -- the final CFLAGS etc. are what is change-tracked.
326   This rather massive internal rework revealed that old Bourne shells
327   were yet not supported by the new build system, and so did testing
328   that UnixWare installation was yet impossible due to tool
329   incompatibility. [75c4b74e]
331 - The new WANT_AMALGAMATION option will force compilation of all the
332   sources in a single compilation unit.  This requires a rather large
333   amount of memory, but may produce a more compact, maybe more optimized
334   binary.  (Implementing this revealed quite some bugs which could
335   therefore be fixed.) [topic/amalgam]
337 - `nail.rc' has been pimped a bit (mostly comments, but
338   *mime-counter-evidence* is now always set). [e3094ba7]
340    That changeset was however buggy. [f3dcb46]
341    (Gavin Troy)
343 - We no longer use install(1) for `install'ation make rules. [80b02cd9]
345 ChangeLog
346 ^^^^^^^^^
348 - Even '$ s-nail & fg $!' will now work with the NCL. [2a8b5c55]
350 - Several off-by-one (off-by-two) fixes. [32ce9836, 71e6d013, f139dc36]
351   (Gavin Troy, Thomas)
353 - Setting *noprompt* now prevents prompting, as per POSIX. [ecefaf63]
355 - *prompt*: new \$ (exit status of last command) and \@ (name of
356   currently active mailbox) escape sequences. [6f652046]
358 - One may now omit the space in '? unc' ('?unc') [05fcb383]
360 - New commands: `ghost' and `unghost' define command aliases (since
361   `alias' is taken for a different purpose) [topic/commands]
363     ? ghost ps '!ps axu'
364     ? ps |grep nail
366 - There is now a pseudo account `null' (case-insensitive).
367   Also a new `localopts' command exists; when used from within an
368   `account' block, options changed will be reverted back to its former
369   value when the account is left (e.g. by switching to `null'):
371     define sdn_ {
372        alternates sdaoden@users.sf.net sdaoden@users.sourceforge.net \
373           sdaoden@googlemail.com sdaoden@gmail.com
374        set Sign="\n--steffen\nForza Figa!" sign="\n--steffen"
375        set smtp=smtp.gmail.com smtp-auth=plain smtp-use-starttls
376        #..
377     }
378     account sdn_gm {
379        localopts 1
380        call sdn_
381        set from="Steffen \"Daode\" Nurpmeso <sdaoden@gmail.com>"
382     }
383     account sdn_sf {
384        localopts 1
385        call sdn_
386        set from="Steffen \"Daode\" Nurpmeso <sdaoden@users.sf.net>"
387     }
389   E.g., after
391     ? acc sdn_gm
392     ? acc null
394   neither of *Sign*, *sign*, *smtp** nor *from* should be set.
395   Please see the manual for more.
396   TODO - neither command-ghosts nor alternates etc. are yet tracked
397   TODO - we should have a boolify() so as to say 'localopts yes' etc.
398   [topic/acmava]
400 - New command: `cwd' (print current working directory).
401   Also fixing the `chdir' return value. [eff4397c]
403 - The *ssl-method* now allows explicit setting of 'tls.1.1' and
404   'tls1.2' values. [c66b4196]
406 - When sending to display, be aware that filenames in MIME parts may of
407   course be MIME-encoded! [1454be03]
409 - *hostname* is now honoured even if *smtp* is not set.  (We always
410   supported *from*, so why not *hostname*?)
412 - The `-u user' option now acts identically to setting the $USER
413   environment variable and both now tend to mean something like
414   "impersonate as user in some aspects".  Note that we have always used
415   the latter in one or the other way, and `-u user' always ment more
416   than just "open mailbox of user", so i think this change sharpens the
417   edge in the right direction. [09632731]
419 - Filename argument quoting has been tweaked for (some) function(s which
420   take a filename argument last).  The following snippet as reported by
421   Gavin Troy should work now: [2bb9b80e]
423     ? mv +inbox.Junk\ Mail
425 - The GNU implementation of wordexp(3) is also (i've added a workaround
426   for the very same bug for Mac OS X in S-nail v14.3 [63273772]) buggy,
427    which causes segmentation faults when expansions failed (`fi &VOID').
428   [470527b7]
429   (Gavin Troy)
431 - The `fi' command no longer uses the (possibly truncated) display
432   version of a filename, but the full path. [5cd85b07]
434 ChangeLog (purely technical)
435 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
437 - Large rework of internal structure: bundle inclusion of most of the
438   external and the content of most of the internal #include files in the
439   new nail.h.  If that would have been done very first bugs like the
440   infamous MAXPATHLEN bug as reported by Paul Vojta (see v14.4.2) would
441   never have occurred. [21f3155b]
443 - Support for -fstrict-overflow cc(1) flags. [topic/strict-overflow]
445 - Fixed the quotation filter which yet allocated memory even if not
446   used. [c98cdaf5]
448 - String relaxation reduces memory pressure rather drastically when
449   working with many (especially MIME) mails at a time, e.g., when
450   writing a modified mailbox.  Before all messages of a mailbox had to
451   be worked without releasing any memory in between, now we give back
452   memory (to our pool, not the system) after each and every message.
453   [topic/srelax]
455 - The other memory source now uses bound canaries, which also found some
456   errors. [3d9fe741]
458 - We now use the EL_PROMPT_ESC editline(3) mode for prompting, which
459   should offer the possibility to use coloured prompts etc. with
460   (even those) editline(3) (versions which do offer it -- older versions
461   should just do fine by themselves).
462   S-nail uses the special trigger control character \1. [ea30d818]
463   (Ypnose)
465   Note however that all tested editline(3) versions are buggy and
466   either don't get it right (`\1COLOR-ON\1stuff\1COLOR-OFF\1') or are
467   incapable of proper repainting (`\1COLOR-ONstuffCOLOR-OFF\1').
469 - We now use the MD5 digest code from the OpenSSL library if that is
470   usable. [893b16c0]
472 v14.4.5, 2013-10-19
473 -------------------
475 Many thanks: Gaetan Bisson, Stephen Isard, Jérémie Courrèges-Anglas,
476 William Yodlowsky, and Adam Sjøgren from GMANE.org!
478 ChangeLog (packager-affine)
479 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
481 - The packager-install: target has been fixed. [a8c1b0b]
482   (Gaetan Bisson and William Yodlowsky)
484 - As suggested by Gaetan Bisson the several build system tasks are now
485   individually addressable, i.e., 'make [OPTIONS] config', 'make build',
486   'make test', 'make packager-install'); nothing changes unless you want
487   to, in which case: please see INSTALL. [4d3b799]
489   The new target 'test' will call cc-test.sh with its new --check-only
490   option which will only perform the (too few) function tests on the
491   ready binary.
492   And cc-test.sh will no longer create output files, but simply echoes
493   to STDOUT and STDERR. [629e1ee, 786f219]
494   (Gaetan Bisson)
496 - The default configuration file now sets *bsdannounce* and *bsdflags*,
497   all in one line, as suggested by William Yodlowsky.
498   (If *header* is disabled, *bsdannounce* is ignored, but *header* must
499   be enabled by default according to POSIX, and *bsdannounce* is just
500   the same as *header*, but for the folder-switched event.  Thus setting
501   *bsdannounce* is the more sane default, imho.) [6161f10]
502   (William Yodlowsky)
504 - Announcement messages are now tagged '[ANNOUNCE]'. [26e1b35]
505   (Tagging suggested by Stephen Isard and Jérémie Courrèges-Anglas)
507 - The manual NAME now includes the version (but it's somewhat ugly).
508   [8adcca4]
510 ChangeLog
511 ^^^^^^^^^
513 - When switching folders when in compose mode, message attachments
514   become invalid.  For v14.4.5, at least warn when this happens.
515   [47eb1ab]
517 - When reading multipart/alternative messages which do not contain
518   a text/plain part, the (most likely HTML) part is not displayed (even
519   if S-nail is configured to display HTML).  The reason is a bug i've
520   introduced with [0d43a999] (Change "Part X:" display message..,
521   2012-12-20).  (Note that the committed fix i've posted to the list was
522   not correct either and has been fixed itself.) [225c02b, ecfa149]
524 v14.4.4, 2013-10-03
525 -------------------
527 Thanked, Gavin Troy, Gaetan Bisson.
529 - Fix output buffer confusion that would have occurred when parts of
530   a multipart mail had a pipe command set.  Longer story in [e75d16dd].
531   (Gavin Troy)
533 - The makefile now supports a `packager-install' target that bypasses
534   the reevaluation of the configuration (after checking that there is
535   one) and directly steps ahead to the install process.
536   (Gaetan Bisson)
538 - Notes in INSTALL that CFLAGS and LDFLAGS need to be overwritten from
539   within (conf.rc or) the command line.
540   (Gaetan Bisson)
542 v14.4.3, 2013-10-02
543 -------------------
545 I convey special thanks to Karol Błażewicz and Gaetan Bisson.
547 - The new build system didn't allow to overwrite CFLAGS= when used in
548   conjunction with GNU make(1).  To make a long story short, removing
549   a `.POSIX:' directive from the makefile fixed the problem.  Luckily.
550   [e6b26526]
552 - More INSTALL notes for UnixWare 7.1.4, which suffers from the same
553   problem: here the fix is to use the -e option of make(1).
555 - Karol Błażewicz reported a segmentation violation he got when using an
556   Arch Linux S-nail test package, and Gaetan Bisson informed me about
557   that.  The problem was that we didn't assign the resulting default
558   address (which gets used when *from* is not set) to the result which
559   gets used, effectively resulting in a NULL dereference. [cfd60479]
561 v14.4.2, 2013-09-21
562 -------------------
564 Many thanks to Paul Vojta.
566 - On GNU/Linux there is no MAXPATHLEN constant defined by default, as
567   this is a non-standard legacy constant.  Mozilla ran into this some
568   time ago, though a bit different [1].  It made it easier for S-nail.
570     [1] <https://bugzilla.mozilla.org/show_bug.cgi?id=412610>
572   We could include `sys/limits.h' to get at MAXPATHLEN, there it is
573   defined to be PATH_MAX, but let's just include the standard `limits.h'
574   and ensure MAXPATHLEN ends up >= PATH_MAX.  With this condition being
575   true even FORTIFYd sources won't bail with reported buffer overflows
576   because realpath(3) expects a buffer of PATH_MAX bytes. [bee5e57c]
577   (Paul Vojta)
579 - With the builtin LINE_EDITOR, ensure proper interaction with GNU
580   rlogind(8), which is alone in its quest to set the ISTRIP termios(4)
581   flag. [61e00f2d]
583 - Bugfix a codepath that would have prevented compilation when
584   HAVE_ICONV is not set.
585   While there, allow to unselect message attachments when using the `~@'
586   tilde command interactively, which i mysteriously had forgotten when
587   allowing selection of 'em.  (oops?) [4f58ffea]
589 - It's now easier for packagers to get at debug-enabled CFLAGS; simply
590   use WANT_ASSERTS=1 (should not be enabled in shipouts, please).
591   [d8663406]
593 - Fixed a terrible bug that i've introduced in november 2012, that would
594   have corrupted MBOX files when using the `resend' command.  (The
595   so-called "From_ line" would have been quoted to ">From_ line" instead
596   of simply being stripped.) [19d449e2]
598 - Fixed a SIGSEGV for the builtin LINE_EDITOR, that would have occurred
599   if a history traversal (^B or ^F) would have been continued by
600   a reverse history completion (^R).
601   While there, avoid some multiple-beeps-in-a-row that yet occurred due
602   to code reuse, and document that ^G etc. reset the multibyte state
603   machine. [003d9f6f]
605   Also, the expand-on-tab code could have excessed line input maximums,
606   e.g., after `? /usr/bin/*<Tab>'.  This was of course known, but
607   i wanted to keep it because all tested (modern) terminals "mess up but
608   won't break", and thus made it possible to use the data, even if it's
609   visual representation was messed up.  The real solution will be much,
610   *much* more complicated, i.e., show possible *completions*, page-wise,
611   etc., i.e., just like is known by tab *completion*.  This will need
612   far more time because it doesn't make sense to embed such complicated
613   code into the current bed.
614   Now i've chosen to simply don't display excess, but replace the
615   content with a message that says that there was excess.  It simply
616   looks better. [0320c8ba]
618 - I've changed the use of `[?]' as a replacement sequence for invalid
619   / non-displayable characters to `?' (again).  There are still code
620   paths (from the original codebase) which use the real Unicode
621   replacement character instead, so our display is still not unique.
622   On the long term the codepath can anticipate in all levels wether
623   use of Unicode is possible, so that, then, we will be unique again,
624   using either only `?' or the Unicode replacement character. [faf6380]
626 - I've anticipated in v15.0 and implemented *quote-fold* as a stream
627   filter.  It is now multibyte safe and takes into account the visual
628   width of characters, i.e., ideographs etc.  It is working almost as
629   good as an algorithm can work that looks at data linewise, but is yet
630   experimental and incomplete in that it will break lines even if only
631   whitespace or a backslash escape follows.  It is code that is only
632   a few hours old, which is why it is not enabled by default. [
634 v14.4.1, 2013-09-14
635 -------------------
637 How terrible.
639 - Fix some harmless stylos and typos in the manual and `conf.rc'.
640   [1a6b880, 417b066]
642 - Ensure *complete* proper cleanup on signal-caused configuration run
643   aborts. [7a08bda]
645 - Bugfix: reenable empty configuration variable overrides, as in
647     $ make install SID= NAIL=mailx ...
648   [171861d]
650 - Bugfix: rename the `conf.rc' variables SHELL, LISTER and PAGER because
651   they clash with the POSIX standard variables of the same names, which
652   hurts now that the configuration is run through the shell itself.
653   The configuration names are now XSHELL, XLISTER and XPAGER (ouch).
654   [ef93c4e]
656 - nail.rc: comment out some non-portable S-nail(1) specifics, for those
657   who install this file as mailx.rc or so, somewhere. [3f14b01]
659 - From now on S-nail will use simple version tags, as, e.g., `14.4.1',
660   i.e., no more `s-nail-14.4.1'. [a75437d, 183d59c] (Jürgen Daubert)
662   Also move UAGENT out of `version.h' [f7be5be]
664 Uh! v14.4 must have originated in a bad dream; good it's vanished.
666 v14.4, 2013-09-13
667 -----------------
669 Thanks to the entire vivid and virile S-nail(1) user community is
670 proper, especially Stephen Isard, Gavin Troy, Martin Neitzel.
671 Not to forget Ryan Kavanagh and Ayan George.
673 Note this time the changes are in reverse order, i.e., oldest first.
675 Topic Branches
676 ^^^^^^^^^^^^^^
678 15fbe09 ^bf9173f 'topic/varmac-unite'
679   Simplification and unification of variable and macro handling
680 40f6f58 ^15fbe09 'topic/cledit1'
681   Command line editor; new manual section `Line editor'
682 ad28a32 ^40f6f58 'topic/termsize'
683   Honour POSIX mailx(1) and respect $COLUMNS and $LINES on startup
684 dc3cd49 ^a446fd8 'topic/qf'
685   You don't wanna know
686 b8738f7 ^0651fd0 'topic/spam1'
687   Interaction with SpamAssassin; new manual section `Handling spam'
688 5419d6f ^b8738f7 'topic/make1'
689   Reworked build system; please read `INSTALL' and `conf.rc'
690 9ab4d6b ^5419d6f 'topic/list1'
691   Slightly tweaked message thread display, fix `:u :r' to mean it
693 ChangeLog
694 ^^^^^^^^^
696 - The default PAGER is now more(1).  (But read on.)
698 - The `echo' command is now compliant, and fully supports XSI.
700 - The `group' and `ungroup' command aliases have been removed, they are
701   `alias' and `unalias'.
703 - We now have the capability of line editing and history.
704   One may choose from not less than three different implementations:
705   a builtin editor as well as possible linkage against BSD editline(3)
706   and also a GNU readline(3) compatible layer.
707   Please read the new manual section `Line editor'.
709   Input is now compliant in that an interactive line may be continued
710   after escaping the newline character with a backslash.
711   [topic/cledit1]  (all of them)
713   The *prompt* variable may now contain shell escapes, just like the
714   `echo' command. [0938d8a]
715   As a special extension the new \? escape, when used within *prompt*,
716   will expand to the exit status of the last command. [41076d2]
718 - The POSIX standard environment variables $COLUMNS and $LINES are now
719   honoured upon startup. [topic/termsize]
721 - The `help' / `?' commands now support abbreviation, i.e.,
722   ``$ ? unc'' should now find `uncollapse'. [7b86195]
724 - The `~' abbreviation that has been introduced as an alias for `call'
725   is now a real command, not a magic shortcut. [9987289]
727 - The new variable *quote-as-attachment* can be used to additionally
728   embed the quoted message as a `message/rfc822' MIME attachment.
729   [topic/qf]
731 - The compose-mode command `~@' will now attach messages from the
732   current mailbox if given a filename of the style `#NUMBER'.
733   Please read the corresponding manual section `Tilde escapes', though.
735 - The `WANT_JUNK' and `WANT_SCORE', as well as Gunnar Ritters junk mail
736   management have been removed.
738   Instead S-nail(1) can now support interaction with SpamAssassin, but
739   sofar only via the spamc(1) / spamd(1) client / server pair of
740   programs that ships as part of SpamAssassin.  The new configuration
741   directive `WANT_SPAM' controls wether this feature is desired.
743   Please read the new manual section `Handling spam'.
744   [topic/spam1] (Martin Neitzel)
746   (S-nail(1) is now *definitely* floating-point free.)
748 - The configuration and make system have been overhauled / reorganized.
749   The configuration is now in `conf.rc', also contains directives like
750   `PREFIX' etc, and is always read in.  However, only those directives
751   which are not yet set (via environment or command line overwrites) are
752   incorporated into the set of configuration options.  Therefore
754     $ make WANT_IMAP=0
755     $ make WANT_IMAP=1
757   will now build S-nail(1) twice, because of the changed configuration.
759   Note that `WANT_GSSAPI' is now by default disabled, which shrunk
760   a freshly started s-nail image by more than 30 percent.
762   We're not finished yet in that there is no dependency graph etc.
763   Please do read `INSTALL' and `conf.rc'.
764   [topic/make1]
766 - Message selection has been slightly bugfixed in that `:u :r' really
767   means `:u' AND `:r'.  Compared to NetBSD Mail(1) it's still a shame.
769   Threaded message display has been slightly changed in that within
770   a thread identical Subject: lines are not repeated.  It may not be
771   perfect yet due to the general list / thread state. [topic/list1]
773 - If, upon startup, the environment variable `NAIL_NO_SYSTEM_RC' is set,
774   then the system wide initialization file isn't read, just as if the
775   `-n' option had been given. [1b31535]
777 - It is now possible to use CTRL-C during connection hangs.  (But in
778   general error recovery capabilities of the socket related
779   infrastructure is non-existent, practically speaking.) [45a9f36]
781 - *quote-fold* has been temporarily disabled, as it is not multibyte
782   safe.
784 No review for v14.4.  And today is Friday, the 13th.  Ouuuh!
786 v14.3.2, 2013-06-21
787 -------------------
789 I should *maybe* should have and want to give prominence to
790 Martin Neitzel for this, i maybe have misunderstood.
792 - Bugfix *synchronous* *pipe-** execution..
794   Well, unfortunately yet another newly introduced bug slept in
795   S-nail v14.3[.1] -- [a8d724b3, Add @ and @& shell command prefixes
796   for pipe-MIMETYPE, 2013-05-03] falsely changed the waiting state
797   for subprocesses, as has shown up by a HTML-only mail on the
798   Unicode list today.
799   'Seems i'm collecting one line fixes in this codebase; this needs
800   to change in the future.
802 v14.3.1, 2013-06-08
803 -------------------
805 I want to give prominence to Juergen Daubert (jue AT jue DOT li), who
806 reported that i've broken plain-old unfancy send mode in 14.3.
808 + Ok, i'll hope we're out of new errors for the v14.3 series with that.
810 - New variable: *batch-exit-on-error*.
811   Only works if the new -# command line option has been given, and will
812   check the "current" exit status whenever one operation completes
813   (S-nail returns to the command prompt).
814   If the exit status implies error (e.g., sending the last message
815   failed) then we exit forcefully with that error status.  (The normal
816   behaviour is that the status is reset when the command loop ticks.)
817   [4cddd55]
819 - While here again, i've added the new -# command line option.
820   This is the first step to implement a reliable batch mode;
821   unfortunately it still selects the users system mailbox on startup,
822   because we simply cannot go to "no" mailbox for quite some time -- at
823   some future time we will be able to go to some VOID thing, and then
824   this will end up as a rather efficient batch mode.
825   For now it sets *dot*, *emptystart*, *noheader* and *sendwait*, and
826   also implies the -~ command line option.  [7549569]
828     (
829       printf "m ${MBOX}\n~s subject1\nE-Mail Körper 1\n.\n" &&
830       printf "m ${MBOX}\n~s subject2\nEmail body 2\n.\n" &&
831       echo x
832     ) | MAILRC=/dev/null "${NAIL}" -n -#
834 - Also, -N set *header* instead of *noheader*.  [7b4a13f6]
835   (Juergen Daubert.)
837 - Plain old unfancy invocations like
839     $ s-nail user@host
840     $ echo bla|s-nail ./FILE1
842   had been broken (by [522cb3ec]).  [260e19d]
843   (Juergen Daubert.)
845 v14.3, 2013-06-03
846 -----------------
848 Thanks to Gavin Troy (gavtroy AT gmail DOT com) who inspired the @ and
849 @& pipe-command prefixes.
851 Random notes
852 ^^^^^^^^^^^^
854 - S-nail has been registered at Coverity Scan, and the third build
855   (after topic branches *coverity-444* and *coverity-444.2*) produced no
856   more errors.  (<http://scan2.coverity.com/projects/444>.)
857   (Then i used POP3 and IMAP and fixed some SIGSEGV. ;)  Still didn't
858   look at S/MIME, Maildir, caches etc... o()
860 - S-nail v14.3 doesn't produce any spurious linker warnings on
861   OpenBSD 5.3; all (correct!) use cases of strcpy() and strcat() have
862   been replaced.  [7bdf330, 2c8d7cb]
864 - This is the first release with a (though very short) review -- i'm
865   slowly getting comfortable with the code.  (But i'm too stupid to
866   perform reviews on patches, 'always did reviews on C++/Perl/xy
867   classes.  Aaah, how beautiful ... objects.)
869 ChangeLog
870 ^^^^^^^^^
872 - It is now possible to "call" macros without using the `call' command
873   by prefixing them with a tilde, as in
875     ? define au {
876       echo auau
877     }
878     ? ~au
879     auau
880   [93ea8acd]
882 - Added the *pop3-bulk-load* option.
883   Yes, there are mailing lists etc. which use plain text email, and,
884   there, headers are often more data than the body, so it doesn't make
885   sense to download the headers twice (unfortunately POP3 doesn't
886   support a BODY command; if only it would support a RETRDELE command..)
887   [978e13a7]
889   And yep, from this changeset on i personally use S-nail even over the
890   network, no longer my stale and incomplete S-Postman.  And i can tell
891   you, this damn thing is so silent, i always set *verbose* not to go
892   grazy ... but .. i hate to say it .. the healing will take time.
894 - POP3 will now try to use APOP authentication automatically; thus the
895   *use-apop* stuff has been replaced by *pop3-no-apop* options (just in
896   case there are POP3 servers which advertise they support APOP but in
897   fact fail to do so; anyone?)  [6c3c5575]
899 - Some IMAP segmentation violations have been fixed:
901     ? fi imaps://user1@localhost
902     Password:Interrupt            <- CNTRL-C
903     ? set imap-auth=cram-md5      <- hey, 'forgot to set correct auth
904     ? fi imaps://user1@localhost
905     IMAP write error: error:140D00CF:SSL routines:SSL_write:protocol is shutdown
906     Segmentation fault
908   And also, when *folder* was set to an IMAP account but hasn't been
909   opened yet, and no IMAP account ever has been opened, a string
910   comparison against a NULL pointer yet caused a SIGSEGV, too.
911   [417c01f, 413c23d9]
913 - `set folder=' now tolerates `%:' and expands PROTOs stuff etc.:
915     ? short xp %:imaps://user1@localhost
916     ? set folder=xp
918   Pure convenience so that it doesn't need to be typed twice (still no
919   completion in sight...).  Note that setting *folder* to a POP3 box
920   will now be actively rejected.  [b12b17f5]
922   NOTE: while implementing this i've detected another dead-end
923   miscondition in S-nail -- you really should ensure that your target
924   folder/box is connected before you leave your current POP3/network
925   based folder, if there is data to be moved to the target (i.e.,
926   mbox).  This problem will persist for a long time due to the way the
927   entire codebase functions; i hope i can find a short/mid-term
928   solution, but the real healing will take years.  The mentioned
929   solution would at least make S-nail interruptable, currently we get
930   stuck and interrupts are blocked...
932 - If you're using S-nail on Mac OS X and have seen some segmentation
933   faults when expanding shell stuff then you may be pleased to hear that
934   S-nail now works around an Apple bug.  [63273772]
936 - The builtin mime.types have been corrected and a lot of new ones have
937   been added.  New data from
938   <http://svn.apache.org/viewvc/tika/trunk/tika-core/src/main/resources/\
939   org/apache/tika/mime/tika-mimetypes.xml>, thanks!  [8072fcb6]
941 - BEWARE: handling of command line arguments has changed a bit!
943   1. The -D, -d, -E, -i, -N and -v command line options are now
944   implemented by means of setting the respective option, as via -S.
945   (This means that from now on resource files can only *temporarily*
946   overwrite command line arguments.)
948   2. The -I and -T command line arguments have been dropped.
949   It seems Gunnar Ritter stopped developing nail/Heirloom mailx once he
950   started implementing Newsreader functionality.  It'll take a long time
951   until we get there, so for now drop all the Newsreader stuff.
953   3. Handling of -r has been changed.  E.g.:
955     s-nail -A test -Snoeditalong -r 'La mort est <fem@me>' -d
956     ? set from=bummer@m1.com
957     ? m t1
958     Subject: s1
959     .
960     Sendmail arguments: "sendmail" "-i" "-r" "fem@me" "t1"
961     ? set from=bummer@m2.com
962     ? m t2
963     Subject: s2
964     Sendmail arguments: "sendmail" "-i" "-r" "fem@me" "t2"
966   ...
968     s-nail -A test -Snoeditalong -r '' -d
969     ? set from=bummer@m1.com
970     ? m t1
971     Subject: s1
972     .
973     Sendmail arguments: "sendmail" "-i" "-r" "bummer@m1.com" "t1"
974     ? set from=bummer@m2.com
975     ? m t2
976     Subject: s2
977     Sendmail arguments: "sendmail" "-i" "-r" "bummer@m2.com" "t2"
979   [*main-fun-cleanup* topic branch]
981 - *smime-sign-include-certs-** stuff works again, oops..  [9a8597c6]
983 - A whole lot of smallest and small fixes due to registration at
984   Coverity Scan, as project 444.  Error handling in S-nail is ridiculous.
985   [*coverity-444* and *coverity-444.2* topic branches.  The sheer number
986   of fixes was the reason to sit down and go for unplanned S-nail v14.3]
988 - *idna-strict-checks* has been dropped.  It's silly to have in a MUA,
989   especially given that GNU LibIDN doesn't ship with a lot of rules.
990   We were able to drop quite some code (and a use-after-free, too :().
991   [c81fd41d]
993 - The ~p tilde command displays attachments more verbose.
994   Until the big big MIME and send layer rewrite :) this is intermediate
995   since until then we do not really know neither MIME type nor charset
996   of an attachment at the time this is displayed (for sure).  Yet
997   i think it's nicer to show what we have than keep it the way it was.
998   [60e70463]
1000 - @ and @& shell command prefixes have been added for the pipe-MIMETYPE
1001   mechanism.  The former suppresses filters if multiple messages are
1002   displayed at once, the latter adds asynchronous program execution on
1003   top of that.  E.g., to display PDF documents, but only if you
1004   *explicitly* address the message *alone and by itself*, and without
1005   blocking S-nail and the $PAGER, do:
1007     set pipe-application/pdf="@&cat >"${TMPDIR}"/s-nail${$}.pdf;\
1008       mupdf "${TMPDIR}"/s-nail${$}.pdf; rm "${TMPDIR}"/s-nail${$}.pdf"
1010   (Inspired by Gavin Troy.)  [a8d724b3]
1012   Note: most of that had been posted to nail-devel@ already, but it was
1013   tweaked ([251b636]) so that you now *really* have to say `p MSGNO' to
1014   get there.
1016 - The NETLESS CONFIG= has been removed; it is almost identical to
1017   MINIMAL now (i.e., without WANT_JUNK and WANT_SCORE).
1019 - WANT_JUNK and WANT_SCORE have been disabled by default.
1020   They don't seem to be too useful; i hope i can implement
1021   a SpamAssassin hook for (downloaded) mail messages for v14.4.
1022   If so, expect these two "modules" to become removed completely.
1024 v14.2.2, 2013-05-01
1025 -------------------
1027 Another unplanned (minor) bugfix release after Gavin Troy (gavtroy AT
1028 gmail DOT com) pointed out that MIME CTE decoding was broken, who
1029 i therefore want to give a lot of prominence right here.
1031 - Fix MIME content decoding which has been broken by [01c0e135].
1032   [882caedd]
1033   (Gavin Troy.)
1035 v14.2.1, 2013-04-30
1036 -------------------
1038 An unplanned (minor) bugfix release after i've found two bugs today and
1039 heard from Jérémie Courrèges-Anglas (jca+nail AT wxcvbn DOT org) that
1040 there exists a S-nail OpenBSD package.
1042 I want to give prominence to the following people that helped to
1043 improve S-nail(1) during this development cycle, in order of
1044 appearance: Dirk Peters (peters AT schwertfisch DOT de).
1046 Thank you very much, and best from Germany!
1048 - Some warnings of newer clang(1) versions were silenced, including yet
1049   another alloca(3) problem (see *memtracer* topic branch in v14.0
1050   series).  [6f846efe]
1052 - Tweaking the MIME boundary detection left a little hole that could
1053   cause boundaries not to be detected, as has been shown by a Microsoft
1054   Word generated mail on the ICU list.  [11e5fb5b]
1056 - A format string could overflow bounds if unrealistic
1057   (18446744073709551615) line numbers or message sizes would have been
1058   produced.  [faa65c40]
1060 - An algorithmic error could cause overlong lines which wrapped around
1061   to the next display line.  [ade52660] 
1062   (Dirk Peters.)
1064 v14.2, 2013-03-15 [v14.1, 2013-03-12]
1065 -------------------------------------
1067 I want to give prominence to the following people that helped to
1068 improve S-nail(1) during this development cycle, in order of
1069 appearance: Martin Neitzel, Christos Zoulas, Stephen Isard, jgw@txo.org
1070 and Gavin Troy.
1072 Thank you very much, and best from Germany!
1074 + v14.2 differs from v14.1 only by one commit, one that fixes
1075   (mime_fromhdr(): partial rewrite using n_iconv_str(), 2013-03-12),
1076   which i hastily implemented just hours before the release of v14.1,
1077   and simply shouldn't have made it (into there).
1078   The v14.1 tarball has been removed from the server.
1080 - A fix for the quoted-printable codec: "message truncation" occurred
1081   when a mail maliciously used a soft linebreak to escape the linebreak
1082   of a completely empty line.
1083   (That resulted in 0 written and 0 leftover bytes, a condition that was
1084   declared erroneous back in november 2012 when i started handling I/O
1085   errors.)
1087 - The "folders" command will work again when given an argument.
1088   A fault of mine introduced in (cmd1.c: expand() may fail, 2012-10-23).
1090 - The Base64 codec has been touched again, and we are finally capable to
1091   perform sequential decoding; this was targeted for the MIME/send layer
1092   rewrite, but it actually was possible today.
1093   The result as seen in ps(1), running on the Base64 encoded HTML5
1094   standard (4622545 bytes HTML, with a NUL appended to force Base64
1095   encoding, resulting in a 6244793 bytes email):
1097    7420 s006  S+    2:22pm 0:10.65 plain-nail -f HTML5
1098    1440 s006  S+    2:23pm 0:00.36 ./s-nail -f HTML5
1100   (So the only thing that is left for a good throughput is sequential
1101   decoding of quoted-printable encoded parts that maliciously use soft
1102   linebreaks to convert an entire part to a single line.  And i've seen
1103   that from Apple Mail.)
1105 - New option: *mime-allow-text-controls* (rather long manual entry).
1107 - *smtp-auth-password-user@host* and *smtp-auth-user-user@host* will
1108   finally work!
1109   (Reported by jgw@txo.org in November 2011, fixed by Gavin Troy in
1110   January 2012.)
1112 - Most *headline* formats now do support the '-' left-alignment flag.
1113   Note that you most likely have to change your *headline* accordingly.
1114   (The still missing %n format is one reason why there will be v14.2.)
1116 - *datefield* and *datefield-markout-older* can now be set to
1117   strftime(3) format strings (except %n).
1118   (From Stephen Isard's wishlist.)
1120 - A possible SEGV has been found and also fixed by Stephen Isard.
1121   (The "legendary" cross-world stereo fix!)
1123 - Wow!  S-nail will finally compile on GNU based Linux systems like
1124   Slackware 14 etc.  (Found while hunting bug reported by
1125   Stephen Isard.)
1127 - New option: *datefield-markout-older* can be used to choose
1128   a different date display for mails that are older than six months,
1129   in equal spirit to what POSIX describes for the -l option of the ls(1)
1130   command (Stephen Isard).
1132 - (Exotic) Years are (would) now (be) interpreted correctly according to
1133   RFC 5322, 4.3.
1135 - CRAM-MD5 usage has been fixed.
1137 - *folder* updates are now tracked when set, and we will show the
1138   realpath(3) name of it, showing PREFIX..SUFFIX if that wouldn't fit on
1139   the display.
1140   Tracking updates made it also possible to perform other more expensive
1141   tasks when setting *folder*, so that it is now possible to do
1142   something like:
1144     :set folder=$HOME
1145     :set folder=~
1147   et cetera (both ideas by Christos Zoulas).
1149 - Bugfix for the ~@ tilde-escape in non-interactive mode.
1150   (readtty(): quick shot: work in pipelines (on non-TTY).., 2013-01-25)
1151   introduced the possibility to "read data from the terminal" (STDIN
1152   that is) in non-interactive mode.
1153   The manual documents that attachment input must be terminated with an
1154   empty line, but if that had been omitted, as in the example below, we
1155   would have yet entered an endless loop.
1157      $ cat <<_EOT | /s-nail -~ -s boom ./OUT
1158     ~@
1159     test.c
1160     charset
1161     _EOT
1163 - Alias expansion will now be performed for members of Reply-To: fields
1164   (Martin Neitzel).
1166 - Decoding quoted-printable will now be more relaxed.
1167   (Even though the standard says that users should be given a hint when
1168   input is not absolutely clean; a possible warning will be added later,
1169   when we have an error message ring.)
1171 - New option: *mimetypes-load-control* can be used to control which of
1172   the mime.types resources will be loaded.
1174 - The builtin default mime.types have been extended a bit.
1176 v14.0, 2013-02-10
1177 -----------------
1179 I want to give prominence to the following people that helped to
1180 improve S-nail(1) during this development cycle, in order of
1181 appearance: John Dodson, Gianluca Ramunno, and Anon Ymous from the
1182 NetBSD project.
1184 Random notes
1185 ^^^^^^^^^^^^
1187 - Encoding defaults to *quoted-printable* not *8bit*.
1188   This has no technical background except that i think it's the better
1189   default.
1191 - Small progress for the "getting stuck due to the current folder
1192   becomes inaccessible due to whatever reasons"  problem.
1193   (schdir(): realpath() local files before leaving CWD.., 2013-01-08)
1195 - The names of temporary files have changed.  Whereas not all uses of
1196   temporary files already use really meaningful names, it has yet become
1197   possible to use the pattern "*mail-*"; or, to be compatible with
1198   NetBSD Mail(1) in one go, "*mail*".  (E.g., in my ~/.vimrc you'd read:
1199     :au   BufRead,BufNewFile *mutt*,*mail* setl fenc= | setf mail
1200   [the *mutt* is a leftover from times when i've used MUAs that suck].)
1202 ChangeLog
1203 ^^^^^^^^^
1205 - The Quoted-Printable MIME handling has been rewritten completely.
1206   We now correctly encode files with the MS-DOS newline sequence (CRLF).
1207   (Part of the *mime-cte* topic branch.)
1209   S-nail(1) continues to be able to handle text messages and text
1210   attachments without a trailing newline, but because these
1211   Content-Transfer-Encoding related things are now handled by the C-T-E
1212   layer instead of by sendout.c a text message body that comes in as
1213   part of a complete message via the -t command line option will loose
1214   the missing final newline (i.e., it'll gain one).
1215   This problem does *not* occur when *only* the message body comes in
1216   via STDIN, as in 'cat FILE | s-nail', but *only* when the -t option is
1217   used.
1218   (sendout.c: does no(t/ longer) know about CTE internals!, 2013-02-09)
1220 - Filename arguments for -a are now processed *after* all the resource
1221   files have been loaded etc., so that the usual "folder" specifics can
1222   be used (provided that proper care for shell quoting was taken).
1223   ((main(): delay -a processing.., 2013-01-10), as a part of the
1224   *mainaflags* topic branch.)
1226 - (d38c5bd, When the write command asks.., 2004-11-23) added support
1227   for pipes when saving attachments during a "write" command.
1228   It however used the wrong SIGPIPE signal handler; e.g.:
1230     Enter filename for part 2 (application/x-gzip): |exit
1231     Segmentation fault
1233   Of course, it still performs a jump and that most likely leaves memory
1234   chunks behind, thus causing some memory leaks.  This will be
1235   a long-term problem (you may want to read [mime.c:fwrite_td(): TODO
1236   notes on unfixable leaks, 2013-01-14] for more).
1237   (send.c:sendpart(): fix longjmp() SIGSEGV.., 2013-01-29)
1239 - Fixed a name quoting regression that i've introduced in
1240   (Rewrite *extract().., 2012-10-20), that would have caused
1241   "x \"y\" z" to become "x"y" z" instead of "x "y" z".
1242   (S-nail still does not really have RFC compliant parsers, just as
1243   NetBSD Mail(1) has, i.e., there are structured and unstructured fields
1244   etc...  I hope i can provide them in v15.0.)
1245   (names.c:yankname(): fix quote regression.., 2013-01-29)
1247 - The IDNA conversion now assumes domain names are specified in
1248   *ttycharset*, rather than in the LC_CTYPE locale charset.
1249   I.e., it integrates into the usual character set specifications.
1250   (IDNA: honour *ttycharset* for domain names, 2013-01-18)
1252 - The new *editalong* variable will automatically spawn an editor when
1253   composing a mail in interactive mode, just as if `~e' was given.
1254   (Add new *editalong* variable, 2012-01-07)
1256 - The manual has been converted to mdoc.
1257   (The manual has been converted to mdoc, 2012-12-28)
1259 - The ~@ tilde escape, when given filename arguments, will treat the
1260   arguments as a comma-separated instead of a whitespace-separated list.
1261   (collect: change separator of ~@ tilde escape.., 2012-12-28)
1263   The interactive mode of ~@ has also been changed, rather massively.
1264   Please do reread what the manual says.
1265   ((collect: support multiple attachment charsets.., 2013-01-23), as
1266   part of the *attach* topic branch.)
1268 - Thanks to Gianluca Ramunno (ramunno DOT gianluca AT gmail DOT com)
1269   S-Nail will no longer try to issue a STARTTLS command when it is about
1270   to establish a SMTPS connection, a task that logically fails since the
1271   connection is already secured.
1272   (Interestingly the nail codebase performs the necessary test for IMAP
1273   and POP3 already.)
1274   While here the undocumented nail v11.0 *smtp-use-tls* legacy option
1275   has been removed.
1276   (Fix SMPTS with a set *smtp-use-starttls*.., 2012-12-22)
1278 - The RFC 4155 compliant MBOX quoting is now exclusively used, the
1279   shitty *posix-mbox* variable has been removed again.
1280   (Shitty because i've implemented RFC 4155 compliant MBOX quoting and
1281   tested it, then added *posix-mbox* for those who liked the old
1282   behaviour and did not re-test -- the final code path was buggy.)
1284   In mails newly created and saved by S-nail(1) no From_ quoting at all
1285   will be used no more, but instead the rewritten MIME file classifier
1286   will detect unquoted From_ lines and enforce quoted-printable encoding.
1287   (This is an approach that is S/MIME compatible all through the way as
1288   the file data is not modified at all, but only encoded, so that the
1289   data checksum is not changed.)
1291   In yet existent mails that S-nail copies or moves around without
1292   reclassification an RFC 4155 compliant From_ line detector will apply
1293   MBOXO quoting (prepend a single '>') as necessary.
1294   Different to the old MBOXRD behaviour S-nail will neither quote yet
1295   quoted From_ lines ('>>From xy' -> '>>>From xy') nor will it unquote
1296   one quote level when reading etc. mails ('>> From xy' -> '>From xy').
1297   As a result the code could be simplified.
1299   This changeset also incorporates a fix for NetBSD PR bin/47453, as
1300   reported by Martin Brandenburg.  I.e., some mailers, noticeably
1301   UW-imap (with MBX format only?), use non-compliant From_ lines with
1302   RFC 822 date specifications.  Be aware of 'em.
1303   (RFC 4155 MBOX, and drop *posix-mbox* and foldergets().., 2013-01-06)
1305 - *rfc822-show-all* has been removed.
1306   It didn't work properly for more complex MIME structures, like
1307   message/rfc822 messages with attachments etc., just as i've seen today
1308   on the file(1) mailing list.
1309   So, instead of hacking it now i've dropped it and will come back with
1310   a better solution when the MIME and send layers have been overhauled.
1311   I.e., the real intent was to be able to specify that an embedded
1312   message/rfc822 is treated as a *unity*, and that's the goal.
1313   (Drop *rfc822-show-all*, 2013-01-23)
1314   [The manual will be adjusted in a different commit.]
1316 - *rfc822-no-body-from_* has been renamed to *rfc822-body-from_*.
1317   It thus must be set explicitly.
1318   On the other hand it now catches all cases...
1319   (*rfc822-no-body-from_* -> *rfc822-body-from_*, 2013-01-23)
1320   [The manual will be adjusted in a different commit.]
1322 - The new *charset-7bit* (defaults to US-ASCII) and *charset-8bit*
1323   (defaults to UTF-8) have been introduced.
1324   These are used if seven bit clean data is to be sent, and no
1325   *sendcharsets* are set or the convertion of all of them failed,
1326   respectively:
1328   - There is no functional change unless there is iconv(3) support.
1329   - There is no functional change unless you set them.
1330   (Introduce *charset-8bit* and *charset-7bit* variables.., 2013-01-18)
1331   [The manual will be adjusted in a different commit.]
1333   In addition the new *sendcharsets-else-ttycharset* variable can now
1334   be used to automatically use *ttycharset* as a *sendcharset(s)*,
1335   regardless of the new *charset-8bit* variable.
1336   (Add *sendcharsets-else-ttycharset* variable, 2013-01-24)
1337   [The manual will be adjusted in a different commit.]
1339   NOTE: before we apply charset conversion we now perform a string
1340   comparison to see wether character sets are identical.  If the strings
1341   match (case-insensitively), then *no* conversion is performed.
1342   This means that code like
1344     $ printf "LATIN1: \0376" | s-nail -Ssendcharsets= -s boom ./out.txt
1346   *succeeds* in an UTF-8 environment now, whereas older versions would
1347   fail with an "illegal byte sequence" error (unless the iconv(3)
1348   library of the system would not perform any conversion that seems
1349   superflous, of course).
1351   I thought about making this optional, but, in fact, if this would be
1352   done in an environment without iconv(3) support then the result would
1353   be equally corrupt.  And the way it is now we save the expensive and
1354   superflous conversions.  (See TODO for more.)
1356   Please *do* reread the manual section "Character sets".
1357   +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1359 - An attempt was made to improve MIME Content-XY: detection.
1360   It should be more RFC compliant, and just overall better :);
1361   a simple one-pass classifier cannot match libmagic(3), of course.
1363   This changeset removes support of the long obsoleted (4fee1ef,
1364   2005-01-06) *charset* variable, as well as for the
1365   *maximum-unencoded-line-length* variable that has been introduced in
1366   (48a652bd, 2005-07-26).
1368   For S-nail v14.0 it'll be no longer necessary to do
1370     $ tr -d '\015' < input | s-nail ...
1372   to transport files which use the $-DOS (terminal) newline (sequence).
1373   We still depend upon *sendcharsets* for a while, though.
1374   (Rewrite file-content classification.., 2013-01-02)
1376 - The new *mime-counter-evidence* variable can be used to force
1377   a classification of non-text MIME parts (attachments) by their
1378   filename, i.e., a "reverse-classification" just as would be performed
1379   if S-nail(1) would itself *send* the file(name).  This can help
1380   against some stupid MUAs (Apple Mail?) that send .diff etc. files as
1381   `application/octet-stream' parts etc.
1383   At a later time this may become a valued option, causing a temporary
1384   save of unnamed attachments followed by a MIME classification of the
1385   file contents, followed by forced treatment as plain text if it seems
1386   to be human readable.  But not yet.  Just to warn you.
1387   (Add *mime-counter-evidence* variable.., 2012-12-29)
1389 - The special "pipe-" command "@" can be used to force treatment of
1390   a MIME message part as plain text (e.g.,
1391   'set pipe-application/pgp-signature=@' will henceforth print those
1392   signatures inline and as plain text).
1393   (Introduce the special "@" "pipe-" command, 2012-12-27)
1395 - The MIME types (as from mime.types(5)) will now be cached.  Before
1396   all possible sources would have been opened, read and parsed for each
1397   and every message part that required detection of the MIME
1398   Content-Type:.
1399   The new "mimetypes" command can be used to show or clear that cache.
1400   (Add mime.types(5) cache.., 2012-12-27)
1402 - A small set of MIME types (template: ./mime.types) will now become
1403   compiled into S-nail(1), and be used as a fallback if there are no
1404   ~/.mime.types and/or no /etc/mime.types, or those didn't contain
1405   a matching type.  E.g., NetBSD 6 doesn't ship a default database.
1406   Also, file extensions will be matched case-insensitively (case of
1407   attribute values is not specified afaik?).
1408   (Introduce compiled-in mime.types(5).., 2012-12-21)
1410 - The undocumented *charset7* variable was removed.
1412 - The "Message X:" display leader has been changed and will henceforth
1413   be matchable via "^[-- Message \d+ -- \d+ lines, \d+ bytes --]:$".
1414   These lines can no longer be suppressed by setting the *quiet*
1415   option (which was yet possible for print and top, though undocumented).
1416   (Change "Message X:" display message.., 2012-12-20)
1418 - When displaying multipart messages the "Part X:" introductional string
1419   has been changed; if the Content-type: header is not *retain*ed, then
1420   this string will include the part's type and size.  Ditto for
1421   Content-disposition: and a mentioned attachment filename.
1422   This is a first step only, for the final version the MIME and send
1423   layers will have to be adjusted.  But the string will be matchable via
1424   a "^[-- #.* --]$" regular expression from now on.
1425   (Change "Part X:" display message.., 2012-12-20)
1427 - MIME boundaries in multipart messages are now handled better in that
1428   no boundary string should get through to the display.
1429  (Tweak MIME boundary detection.., 2012-12-20)
1431 - A couple of long standing, even pre-Heirloom mailx(1) memory leaks and
1432   segmentation violations, most of them related to configurations
1433   without alloca(3) support, as well as one leak that i have introduced
1434   when i implemented RFC 4155 MBOX handling, have been fixed.
1435   But S-nail should now survive non-alloca(3) configurations.
1436   (*memtracer* topic branch.)
1438 - The Base64 MIME handling has been rewritten completely.
1439   This was an urgent topic, because the old implementation (a) read in
1440   all lines of a base64 encoded text part, repeatedly resizing a string
1441   storage and repeatedly decoding that string until all the lines have
1442   been swallowed (i.e., or by accident the last decoded byte was
1443   a newline character, and that in turn may of course have fucked up for
1444   multi-octet encodings, dependent on the actual byte-order), (b) used
1445   function local static data to keep state in between multiple
1446   invocations, which messed up multi-byte/-octet encodings like this
1448     �5��ɽ���Aɥ����́��٥��������[lots of data follows]
1450   and (c) did not perform any error checking at all.
1451   The new one does not run into the problem that (a) tried to circumvent
1452   since leftover decoded data (as opposed to leftover *encoded* data) is
1453   transported along the call-chain for later use.  It adds a minimal set
1454   of error handling ('may now see "[Invalid Base64 encoding ignored]"),
1455   with more to become possible in later S-nail versions when the entire
1456   layers are reworked.  (Until then DOS newline sequences [CRLF]
1457   embedded into base64 will no longer be decoded to Unix LF newlines.)
1458   Base64 encoded lines will now be 76 characters long, as stated (as
1459   a maximum value) in RFC 2045, not 72 as before.
1461   The Base64 code core has been shamelessly stolen from NetBSD's
1462   Mail(1), and i guess it was the second time that this happened :=).
1463   (*base64-rewrite* topic branch; and reworked later on the *mime-cte*
1464   topic branch.)
1466 - The string allocation strategy has been tweaked some more to, i think,
1467   a final version (regarding algorithm).
1468   In normal non-interactive send mode it should now no longer need any
1469   dynamic memory at all (unless some dozen recipients are specified).
1470   (Several other places still use normal dynamic memory, of course.)
1471   (*dope-stringdope-again* topic branch.)
1473 - Support for NSS (Network Security Services) has been removed.
1474   I've never worked with it and are, regarding the complexity of
1475   network security, not willing to spend any time on it.
1476   SSL is installed on all systems i'm using and/or testing on by
1477   default, and so i've choosen to go this way.
1478   (It may be that sometime in the future S-nail will add support for
1479   libcurl(3) connectivity, and then it may happen that not only NSS
1480   support is reintroduced again, but also GNU TLS.  All of that applies
1481   to network connectivity only, however, not to S/MIME afaik.)
1482   (*drop-nss-support* topic branch.)
1484 - I finally got a glue and understood that Sourceforge does (a) not
1485   support symbolic links and (b) doesn't like dots as regular parts of
1486   filenames.  This means that all this time the promised s-nail.tar.gz
1487   symbolic link did not work, and that s-nailv13.3.tar.gz wasn't
1488   accessible either (via the web interface).
1489   In the future S-nail(1) will not provide any more symbolic links (the
1490   Sourceforge website offers a "download latest" thing which seems to
1491   work), and use underscores in filenames -- s-nailv13.3.tar.gz has been
1492   renamed to s-nailv13_3.tar.gz.  The tags continue to use dot notation.
1493   Thanks.
1495 - The *heirloom-plus* support branch has been removed.
1496   The code bases diverged a lot and even more to come.
1497   It doesn't make sense to put any effort in that.
1499 v13.3, 2012-11-11
1500 -----------------
1502 - Configuration on UnixWare 7.1.4 will succeed (shell issue fixed).
1504 - Even on DragonFly BSD the IMAP GSSAPI is now found
1505   (in /usr/pkg/include/krb5/gssapi/gssapi.h).
1507 - Support for pkgsrc(7) systems and automatic integration of
1508   C_INCLUDE_PATH and LD_LIBRARY_PATH path configurations.
1509   Please see INSTALL.
1511 - Fixes a mortally embarassing regression that the current maintainer
1512   introduced before i really knew what i was doing, in (If *record* is
1513   set, avoid writing dead content twice.., 2012-09-14).
1514   It hit users that send through a MTA and have *record* set; in this
1515   combination data would not have reached the MTA.
1516   Interested parties may read the comment in savedeadletter() (part of
1517   the changeset) or the (Fix MTA/*record* descriptor clash..,
1518   2012-11-10) commit log.
1520   Deepest apologies to tortured users from the current maintainer!
1522 - RFC 4155 compatible MBOX file handling has been introduced, and so
1523   S-nail is now on par with (at least) NetBSD Mail in respect to this.
1524   It can be turned off with the new *posix-mbox* variable, which you may
1525   need to use since not all MUAs are capable to dig those MBOX files.
1526   E.g., less cutting-edge (.-) MUAs fail for this:
1528    |From - Thu May 10 20:40:54 2012
1529    |Date: Wed, 07 Nov 2012 11:48:30 +0100
1530    |To: super@duper.com
1531    |Subject: super1
1532    |
1533    |From me.
1534    |
1535    |From - Thu May 10 20:40:54 2012
1536    |Date: Wed, 07 Nov 2012 11:48:30 +0100
1537    |To: super@duper.com
1538    |Subject: super2
1539    |
1540    |>From - Thu May 10 20:40:54 2012
1541    |From - Thu May 10 20:40:54 2012
1543   I'm not completely happy since S-nail *does* still quote those lines,
1544   how rare they may be -- it *does* modify message content.  mutt(1)
1545   implements something more clever and that is quoted-printable encoding
1546   of the "F" from "From", when seen at the beginning of a line.
1547   This, when applied to just *any* "^From", will be a non-modifying and
1548   all-compatible solution.
1550 - SEND_MBOX handling has been changed to discard any Content-Length: and
1551   Lines: headers when it rewrites a message by default.
1552   I know that mutt(1) generates them (why, after
1553   http://www.jwz.org/doc/content-length.html?).
1554   Anyway, S-nail does neither use nor manage them, so that any
1555   modification renders those fields invalid, and then it seems best to
1556   discard them anyway.
1557   You may turn the new behaviour off with *keep-content-length*.
1559 v13.2, 2012-11-03
1560 -----------------
1562 The problem was that i really wanted to release on a 25th.
1563 But i have been able to improve S-nail(1) some more, so that this is
1564 possibly the first real release of it.  So i'll add only things that
1565 have changed since v13 -- please see below for the complete picture.
1567 - A new CONFIG=CUSTOM make directive was added, and the new user.conf
1568   variables WANT_SCORE and WANT_DOCSTRINGS have been added.  It is
1569   possible to create a floating-point free S-nail(1) now.
1570   Please see INSTALL.
1572 - If a feature is disabled not even functions stubs should remain now.
1574 - Many places which will work only with local filenames do now actually
1575   check that the target is a local filename.
1577 - Space-separated lists should work again, at a few places at least.
1579 - Tilde commands will be possible, even with -r.
1581 - The *sendmail-progname* has been added after NetBSD 6 dropped the
1582   send-mail entry in mailer.conf(5), which broke S-nail(1).  Now users
1583   have an option.
1585 - When editing messages via ~e or ~v file and pipe addressees will no
1586   longer be lost.
1588 - If recipients occur multiple times spread over lists, i.e., To:, Cc:,
1589   Bcc:, then only one occurrence remains, and in the "highest-order"
1590   list.
1592 - The "list" command prints the list alphabetically sorted (somewhat).
1594 - The "help" and "?" commands take an optional argument that shows
1595   a synopsis string for the given command (unless WANT_DOCSTRINGS was
1596   false).
1598 - String allocations are now more efficient.  The situation can still be
1599   improved.  However, for the first time Berkeley Mail(1) integrates
1600   harmonically into the system allocator, which may madvise(2) unused
1601   memory to the operating system as necessary and/or possible!
1603 v13.1, 2012-10-25
1604 -----------------
1606 Well, a version number 13 is anyway an ugly thing...
1608   commit 4f534bb33b7c911272cc66a0e3a9e47b73ad8deb
1609   Date:   2012-10-25 20:46:07 +0200
1611       FIX MIME quoted-printable encoding (char cast)..
1612       
1613       (;-{
1614       Auauauauau!!
1615       
1616       Well, one of the things that have already been started in v13 is
1617       the turn from using "int" when working with 8-bit characters to
1618       "unsigned char" (and as long as we do not support wide
1619       characters).
1620       
1621       Unfortunately one very important piece of code, that is handling
1622       encoding to quoted-printable, still used integer instead of
1623       unsigned char, which caused an automatic extension cast to take
1624       place, and that resulted in a messed up output.
1625       Sorry!
1627 v13, 2012-10-25
1628 ---------------
1630 I want to give prominence to the following people that helped to improve
1631 S-nail(1) during this development cycle, in order of appearance: Martin
1632 Neitzel, Ezequiel Garzón, Björn Persson, Paul Vojta, and, especially,
1633 John Dodson for warm words from beautiful Australia!  Many thanks also
1634 to Christos Zoulas.
1636 After i've officially forked nail(1) aka Heirloom mailx(1) as S-nail(1)
1637 on 2012-09-18 i have been able to work five weeks almost fulltime on
1638 S-nail(1) development.  The first three weeks can be characterized as
1639 hectic fireworks here and there, but then it got better and i was able
1640 to work more or less topic-centric.  In the meanwhile S-nail(1) is more
1641 than 230 commits away from the Heirloom base--and drifting further apart.
1643 S-nail(1) v13 is the first release of S-nail(1), but it was forked from
1644 Heirloom mailx(1) 12.5 7/5/10 that arose from Berkeley Mail 8. unless
1645 i'm mistaken.  What characterizes S-nail(1) v13?
1647 - The build system has been reworked almost completely.
1648   It is possible to fine-tune which features should be present in the
1649   binary and which don't.  The name of the binary can be chosen, and
1650   that choice is reflected all through the manual and the template
1651   resource file.  The manual is always complete and thus may document
1652   features that are not supported by the actual binary, though.
1653   Please see INSTALL for more.
1655 - Compiler warnings can now be used.  Please see the example WARN= flags
1656   in the Makefile, but '-Wall -Wextra -pedantic' should be silent though
1657   certainly insufficient to reflect the complex work of modern compilers.
1659 - The following recipient address list combines some of the major
1660   improvements that have been made:
1662     <addr1@cdröm.de>  (bier) , ./file1,
1663     Steffen Smöregäs (Humbabä) <sauer@bäüer.de> (Hummpäa)    ,
1664          sabberlot@träbbel.de  ,  (bier2) <a2@bür2.de> ,
1665        a3@b3.de (bier3)  , <a4@b4.de> (bier4, und \"bier5\")  ,
1666     |cat > pipe1 ,   (bier 6) <a6@bür6.de>  ,   ./file2        ,
1667     (co\$mm1) abc1@düf.de (cö,bmm,2)   (co\"m\"m.3) ,
1668     co\$bmm1 \"c,ömm2\" co\"m\"m.3 <abc2@däf2.de>  ,  |cat > pipe2 ,
1669     moppel@höppel.org
1671   That, on a single line, may be given to ":m" or (quoted) on the
1672   command line, or to "~c" or whatever, and it will work as expected
1673   (well, everything else would be a bug..) and result in the following
1674   sendmail(1) invocation:
1676   SENDMAIL.SH
1677   <-i a2@xn--br2-hoa.de a3@b3.de a4@b4.de a6@xn--br6-hoa.de abc1@xn--df-xka.de abc2@xn--df2-qla.de addr1@xn--cdrm-7qa.de moppel@xn--hppel-jua.org sabberlot@xn--trbbel-cua.de sauer@xn--ber-qla4j.de>
1678   >>>>>>>>>>>>>>>>>
1679   Date: Thu, 25 Oct 2012 17:12:15 +0200
1680   To:
1681   Cc: Steffen =?utf-8?Q?Sm=C3=B6reg=C3=A4s?=
1682     =?utf-8?Q?_(Humbab=C3=A4)?= <sauer@xn--ber-qla4j.de> (=?utf-8?Q?Hummp=C3=A4a?=),
1683     sabberlot@xn--trbbel-cua.de, moppel@xn--hppel-jua.org,
1684     <addr1@xn--cdrm-7qa.de> (bier),
1685     co$bmm1 =?utf-8?Q?"c,=C3=B6mm2"?= co"m"m.3 <abc2@xn--df2-qla.de>,
1686     (co$mm1) abc1@xn--df-xka.de (=?utf-8?Q?c=C3=B6,bmm,2?=) (co"m"m.3),
1687     (bier 6) <a6@xn--br6-hoa.de>, <a4@b4.de> (bier4, und "bier5"),
1688     a3@b3.de (bier3), (bier2) <a2@xn--br2-hoa.de>
1689   Subject: Re: SubjectTest
1690   MIME-Version: 1.0
1691   Content-Type: text/plain; charset=us-ascii
1692   Content-Transfer-Encoding: 7bit
1694   body
1695   <<<<<<<<<<<<<<<<<
1697   So list parsing has been fixed, IDNA support has been added, and it is
1698   possible to mix pipe and file recipients *and* multiple thereof, and
1699   the result is still correct for *all* of them.
1700   I think this kind of list can be given wherever a user can directly
1701   enter such a list.  And i think all that is unique to S-nail(1).
1703 - When writing back edited messages the target MBOX mailbox can no
1704   longer become "corrupted" when the trailing newline was removed during
1705   the edit.  Also affected FreeBSD and NetBSD mail(1).
1707 - A security fix for CVE-2011-2895 was applied.
1709 - The generated Message-Id: is now more human-friendly.
1711 - The -h command line option has been dropped.  Use "-O -h XY" if your
1712   MTA really supports that.
1714 - The -O and -r command line options no longer enforce a one-shot send
1715   mode, and instead persist for the duration of the entire session.
1717 - Variables set via the -S command line option are now (un)set twice;
1718   immediately and after all the resource files have been loaded.
1720 - Other new or changed options/commands, in order of appearance:
1721   recipients-in-cc, smime-sign-include-certs, quote-fold, stealthmua,
1722   add-file-recipients, write, rfc822-no-body-from_, rfc822-show-all,
1723   mail/Mail, idna-disable, idna-strict-checks, ??
1725 - In the codebase itself an effort to reduce duplicate work and
1726   introduce caching, and to minimize the use of local variables, was
1727   started, but that is long term.  A lot of improvements here and there,
1728   too, like using the well MD5 optimization from Wei Dai, Chris Torek's
1729   hash algorithm for hash tables etc.
1731 - Incredibly important: an heraldic animal was found: snailmail.jpg!
1733 The full history can be inspected by issuing the git(1) command
1735   $ git log --reverse s-nail..s-nailv13
1737 A new TODO has been introduced, and it is getting longer and longer.
1738 Thanks.