remove Previus-Sequence support The Previus-Sequence was racy and introduce a lot of write accesses. Also most use cases can solved better with shell history and command line editing.
Make default scan/inc listing file-based There's now a new format file etc/scan.default, which contains the default scan listing. Previously it was hard-coded as a define in h/scansbr.h. The default scan listing format can be set in config/config.h and can be queried with `mhparam scanformat'.
Use execprog() instead of system() ... partly transition There are several more places where system() should be replaced. As execprog() does not split strings into multiple arguments, `listproc' could no longer contain ``show -file''. We need to rework the concept of these `...proc' entries. This commit fixes tests/whatnow/test-attach-detach.
send: Sign and encrypt messages automatically, based on Sign: and Enc: Hdrs. Currently, the value of the header fields is ignored. The sole presence of such a header caused signing or encryption.
Completely removed the backup-prefix (,). We move to +trash instead. mhbuild does not create `,foo.orig' but `foo.orig' now. Maybe it should move the file to +trash as well ... this is likely to be changed. Temporary files of bcc mails get removed now.
Removed the altmsglink (named `@') and env var `$editalt' for repl and dist. The env var $mhaltmsg already provides everything. We just get rid of compat redundancy. We also dropped the lstat() check. lstat() is POSIX and we assume any modern Unix system to support symbolic links. Also, there's only one invocation of lstat() left in uip/flist.c.
Dropped old show(1) and renamed mhshow(1) to show(1). If you do want to display non-MIME messages the old way, you can use: mhl `mhpath ...` The choice of renaming was hard to decide because I will introduce confusion and breaks the interface (mmh broke it already!). I though renamed, because the new situation is what we actually want: One program to display messages in a sane way. We used to type `show' and silently got `mhshow' when it contained non-trivial MIME content. That was a workaround and clearly not straight-forward. The improve the situation show(1) needed to be dropped. Because users don't want to type `mhshow', I decided to renamed it to `show'. Hope I won't introduce too many inconveniences with this decision.
mhshow/mhstore: Removed support for retrieving message/external-body parts. These tools won't download the contents automatically anymore. Instead, they print the information needed to get the contents. If someone should really receive one of those rare message/external-body messages, he can do the job manually. We save nearly a thousand lines of code. That's worth it! (The profile entry `nmh-access-ftp' and sbr/ruserpass.c for reading ~/.netrc are gone now.)
Remove caching of external MIME parts. I.e. -rcache/-wcache switches and nmh-cache/nmh-private-cache profile entries. External MIME parts are *very* rare nowadays, who cares about caching them, anyway?
Folded fileproc to constant `refile'. Also moved sbr/refile.c into uip/whatnow.c
Trash folder replaces rmmproc. Rework of rmm(1) and refile(1). Removed several switches from refile and changed its behavior. (Although, rmm does not use backup prefixes anymore, other tools still do.)
Replaced atooi() with strtoul(..., 8). That's part of C89 and thus okay for us.
Removed remaining absolute mmh program path names from the binaries. The mmh bindir must to be in PATH, but we are able to move the programs now. The etcdir is still compiled into the binaries.
Call send directly, not via sendproc. Removed its profile entry, too.
Call spost directly, not via postproc. Remove the postproc profile entry.
Hardcoded mhmail instead of mailproc.
Removed the mhlproc profile entry. Call mhl directly.
Defined show(mime)proc locally and removed their profile entries. Their paths are relative now, too.
Remove the rcvstoreproc/rcvpackproc vars.
Removed absolute path from mailproc. The goal is to have as few path names compiled into the binaries.