commit 7cc63591b9ee67a7475017c85eb95ed4fb003652 Author: markus schnalke Date: Mon Jul 16 10:29:07 2012 +0200 Updated man page mmh-intro(7): Replaced obsolete sequence names. Plus further minor cleanups. commit f072aa337e0be4c4dcac15a53c824cd0ba9ee741 Author: markus schnalke Date: Mon Jul 16 10:15:37 2012 +0200 Updated DATE, finally. commit f48c73769649f56fc2ce30407672216c983a35d5 Author: markus schnalke Date: Mon Jul 16 10:09:31 2012 +0200 mhl forms: Display the sender header before the recipient headers. This is the more natural order. commit d75e489f46f183946a7d1b5639b341de21b5741e Author: markus schnalke Date: Tue Jul 10 20:54:48 2012 +0200 Minor man page fix. commit 58cf09aa36e9f7f352a127158bbf1c5678bc6ed8 Author: markus schnalke Date: Tue Jul 10 20:53:05 2012 +0200 Added Neil Rickert's mhpgp, the companion to mhsign. Currently it is only usable on the command line directly. In the future, it should be invoked by show(1) as needed. commit 00e24678854acd95c3cac1e49c8aafb6010dfdb9 Author: markus schnalke Date: Mon Jul 9 23:59:34 2012 +0200 Improved portability of mhsend(1). Thanks to Dennis Herrmann for the bug report and patch. commit 95d5b894202f6c42eae6a584f77bf9a80c5331f3 Author: markus schnalke Date: Sat Jul 7 15:30:29 2012 +0200 show: Print type of MIME part instead of error message if not displayable. A further step in the general rework of show/mhshow. Print less error messages. Not being able to directly display some attachment is no exceptional event, but quite normal. Therefore, no error message should be printed but an information message that there is a MIME part. Printing to stdout makes the message to be integrated into the normal output. There's more rework of show needed. commit 4cb212cf82fa0c832ee3247da33e733f5cce04d6 Author: markus schnalke Date: Sat Jul 7 12:33:31 2012 +0200 spost: Don't send Sign: or Enc: headers out. Also, fixed the format of header fields with empty values. The trailing newline is no longer stripped. commit c7b5e1df086bcc37ff40163ee67571f076cf6683 Author: markus schnalke Date: Sat Jul 7 12:31:38 2012 +0200 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. commit c04ddf6908d7d3e3d41408d03f086273dee47b6e Author: markus schnalke Date: Sat Jul 7 11:14:20 2012 +0200 Removed old man page of whom. commit 921ea2dd0444ebe67a980b54b8017125d371c8e6 Author: markus schnalke Date: Sat Jul 7 11:13:18 2012 +0200 whom: Suppress the separator if no hidden rcpts are present. commit f45cdc98117a84f071759462c7ae212f4bc5ab2e Author: markus schnalke Date: Sat Jul 7 10:54:20 2012 +0200 Added Neil Rickert's mhsign. It is adjusted to mmh and thus somehow different to the original version. mhpgp will follow soon. commit 5c86fbdc071e1c322ccf341855eaa813807776b4 Author: markus schnalke Date: Sat Jul 7 10:17:05 2012 +0200 whatnow: Changes for consistency. Removed comments and arg names in prototypes. commit 4246358611c366d8f9458afd5b121c2e5cf54aa1 Author: markus schnalke Date: Sat Jul 7 10:14:03 2012 +0200 whatnow: Re-integrated whom(1); cleanups. Removed reference to `send -watch', which was removed in 9677896bbb11f7b49ca3e1665601407b6c7a459f Reordered the options. commit 204c305913a20d207cba063ec2da8d0275d2da5d Author: markus schnalke Date: Fri Jul 6 17:51:37 2012 +0200 Re-added whom(1). This implementation is written from scratch. This new version of whom(1) is quite different to the old one, yet it serves the same purpose: listing the recipients of a message. It still misses the ability to process +folder and msgs arguments. As this implementation is new and not much practically tested, it may change in the future, if flaws appear. commit c3b491e413335224388481939948dd6af4179851 Author: markus schnalke Date: Fri Jul 6 17:47:04 2012 +0200 Minor wording change in an error message. commit ca0b3e830b86700d9e5e31b1784de2bdcaf58fc5 Author: markus schnalke Date: Fri Jun 29 00:20:45 2012 +0200 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. commit 12824674d1fad93674dbe77419326301f62f14bd Author: markus schnalke Date: Fri Jun 29 00:14:21 2012 +0200 spost.man8: spost does read the profile now. commit b5e6b7321a4aa439a32ae448e43343568fa13cbe Author: markus schnalke Date: Thu Jun 28 23:45:01 2012 +0200 mhbuild: Fixed order of file names in error messages. (The argument order is: rename(src, dest) and admonish("foo", "%s", "bar") produces: ``bar foo''.) commit 68af8da96bea87a5541988870130b6209ce396f6 Author: markus schnalke Date: Thu Jun 28 20:08:16 2012 +0200 Removed context_foil(). We don't need it anymore. To not read the profile and context, don't call context_read(). Anyway, all mmh tools should read the context. slocal, which is not truly part of mmh, does not. commit 4d83cd450b889b65ffab1c352d6580bd5632aae1 Author: markus schnalke Date: Wed Jun 27 22:01:55 2012 +0200 ali: Either read default alias files or the ones on command line. Renamed -alias to -file because the semantic changed and the new name appears to be better suited. commit 9fca5fd33b87291cdcb326c7aab6ab9574244289 Author: markus schnalke Date: Wed Jun 27 14:52:42 2012 +0200 send,spost: No more use of -alias, spost reads Aliasfile from the profile. The profile entry Aliasfile was introduced in MH-6.7 to replace the -alias switches. Later, the profile entry was enhanced to support multiple files. Now that spost reads the profile itself, there is no more need to pass the file with switches. Operating with varying sets of alias files is now only possible with different profiles, but that should be a rare setup. commit 3e017a7abbdf69bf0dff7a4073275961eda1ded8 Author: markus schnalke Date: Wed Jun 27 14:23:35 2012 +0200 spost: Read profile and context now. Removed -library switch. spost is a full part of the mmh toolchest, hence, it shall read the profile/context. This will remove the need to pass profile information from send to spost via command line switches. In January 2012, there had been a discussion on the nmh-workers ML whether post should read the profile/context. There wasn't a clear answer. It behavior was mainly motivated by the historic situation, it seems. My opinion on the topic goes into the direction that every tool that is part of the mmh toolchest should read the profile. That is a clear and simple concept. Using MH tools without wanting to interact with MH (like mhmail had been) is no more a practical problem. commit 32d4f9daaa70519be3072479232ff7be0500d009 Author: markus schnalke Date: Wed Jun 27 13:15:47 2012 +0200 mhmail: Read the context! mhmail will change from a mailx-replacment to an alternative to `comp -ed prompter', thus being a send front-end. Hence, mhmail should not stay outside the profile/context respecting mmh toolchest. commit 3b3e228976ad0b0173c53c4193ab49fb3a6a7132 Author: markus schnalke Date: Wed Jun 27 12:30:38 2012 +0200 slocal: Do not at all interact with the context or profile. Slocal is not a true part of mmh, it is an MDA that is (currently) shipped with the MUA mmh. commit 809d0ea718a25a9a3f9942f712b897141230f863 Merge: 0c92074 9677896 Author: markus schnalke Date: Wed Jun 27 11:34:08 2012 +0200 Merge `spost -watch' rework. commit 0c9207459097089a931399ff7d384884288bc4ac Author: markus schnalke Date: Sat Jun 23 16:29:40 2012 +0200 Added missing header. Reported by Dennis Herrmann. It had worked on GNU/Linux, but not on FreeBSD. commit 9677896bbb11f7b49ca3e1665601407b6c7a459f Author: markus schnalke Date: Fri Jun 22 19:17:11 2012 +0200 Removed the -[no]watch flags of send and post. Without direct SMTP delivery, they are useless. commit f2a6db98791abab22db95b9a4a01516859d92103 Author: markus schnalke Date: Fri Jun 22 19:06:36 2012 +0200 whatnow: Improved the listing of available commands in the WhatNow shell. commit 921908704b980c90c3c68545be7f4d42718bfba4 Author: markus schnalke Date: Fri Jun 22 15:58:34 2012 +0200 mhl: Removed remaining code of obsolete -sleep switch. The switch was used for the faceproc, for Face: header field handling. commit 7cf0c30b2e1364bfb9633638dbdaf5c924191520 Author: markus schnalke Date: Wed Jun 20 16:37:38 2012 +0200 Updated man page send(1) for mime-type-query instead of mhshow-suffix. This aligns the man page to the code. commit b46f3952feb22813f2f9f4f3d8504b9849f82161 Author: markus schnalke Date: Fri Jun 15 11:02:09 2012 +0200 whatnow: Call send(1) as `send', not as `whatnow'. commit 7d3201b86a4f310a8c185a9c40f0bb516f6402f1 Author: markus schnalke Date: Fri Jun 15 09:22:03 2012 +0200 mmh.sh: Changed from -version to -Version, here too. commit 6e8e22e2ff93a8778f53b56246c42bf7f4dd8026 Author: markus schnalke Date: Thu Jun 14 02:19:43 2012 +0200 spost: Just a move of some code. commit e6705626cc95da96d367bc147ed0419a56f7c37a Author: markus schnalke Date: Wed Jun 13 12:02:06 2012 +0200 Renamed switches variable to ease automatic text extraction. Now, it's easier to get a list of all switches of a program from the source code. The change improves the homogeneity, too. commit 6b1eba7d43dcd9d28c0d4ac2bae23a55f487a9b8 Author: markus schnalke Date: Fri Jun 8 10:18:47 2012 +0200 Whatnow prompt: From now on, detaching only by numbers. -n flag of `detach' is now default and thus removed. (`alist' prints the numbers by default.) If by mistake a whole bunch of of files was added (e.g. `attach *'), these attachments should be removed with the editor in the draft. commit 6d6b17fd2311daa48928e36bb131cda8fd1c91eb Author: markus schnalke Date: Fri Jun 8 10:04:59 2012 +0200 Fixed `alist' command at whatnow prompt. commit ccf4f175ef4c4e7522f9510a4a1149c15d810dd9 Author: markus schnalke Date: Mon Jun 4 20:23:28 2012 +0200 Removed configure flag --disable-locale and have it always enabled. Todays system are assumed to have locale support. commit 8810b53f7b81388844036358cdd96f17eb9d87f7 Author: markus schnalke Date: Fri Jun 1 17:27:25 2012 +0200 show: Don't display strange headers by default. This follows a suggestion by steve on the nmh-workers mailing list. commit 1a775e9cebd5de511e1ab50db894db43e6c2e802 Author: markus schnalke Date: Mon May 21 21:20:38 2012 +0200 (Ignore!) Again a whitespace change for testing purposes. commit 6e31ed26e82a28c2f65197102c178e6ae8633d80 Author: markus schnalke Date: Mon May 21 21:13:32 2012 +0200 (Ignore!) Removed a trailing whitespace line, just for a test. commit f1b5a26561ad625f8fc87fe19c77097e719b9aed Author: markus schnalke Date: Wed May 16 11:00:55 2012 +0200 Fixed mhl's -nobody switch. commit 2ad400e58233fb80e4c331e1d97c25c6d7312dd4 Author: markus schnalke Date: Sat May 5 12:25:21 2012 +0200 Remove -dist from man page spost(8) because it's a hidden switch. commit 350ad6d3542a07639213cf2a4fe524e829c1e7b6 Author: markus schnalke Date: Sat May 5 12:19:03 2012 +0200 mhl: Removed unused digest features from mhl. Only MIME-digest are supported now, with `forw -digest ...'. commit 0bd9750710cdbab80cfb4036dd87af20afe1552f Author: markus schnalke Date: Sat May 5 11:48:11 2012 +0200 prompter: Various rework. Removed -kill and -erase as they are not needed anymore today. Removed -doteof/-nodoteof. -nodoteof had been the default already. Made the yet hidden switches -body/-nobody visible, but with a slightly different meaning. See recent changes in the man page prompter(1) for details. (Eventually, one can have mutt-like message composing.) commit aeca8a417f58825dc5c5c3fbd9d958251d6763fe Author: markus schnalke Date: Sat May 5 11:43:24 2012 +0200 mhmail: For mailx(1) compat: A period alone on a line means EOF. Also renamed the -body switch to -bodytext because its argument is the body text and not a file containing the body text. The rename should clarify this. After all, typing `-body' results in the same as typing `-bodytext' or only `-b'. Now, fgets() is used instead of fread(), thus not allowing null-bytes in the input anymore. This should be no restriction. commit ec1868939da034be930a7c86f967036c282680ff Author: markus schnalke Date: Sat May 5 11:38:23 2012 +0200 mhmail: For mailx(1) compat: A period alone on a line means EOF. Also renamed the -body switch to -bodytext because its argument is the body text and not a file containing the body text. The rename should clarify this. After all, typing `-body' results in the same as typing `-bodytext' or only `-b'. commit 853cad7faa5eed9a5988825ac24f462887e12494 Author: markus schnalke Date: Sat May 5 08:14:26 2012 +0200 mhmail: Removed hidden -resent and -queued switches. Mhmail is intended to provide only a simple mail(1) interface to mmh for the system. For all fancy stuff, use the mmh tools directly. The -queued switch is not supported by spost anyway. For resending messages, use dist not mhmail. commit 5f2b39344cca1086c975d47b730929d8f1904214 Author: markus schnalke Date: Sat May 5 08:05:22 2012 +0200 Require at least 2 chars for `no' variants of switches. This results in: ali -n --> -normalize ali -no --> ambiguous folder -n --> unknown (don't know if this case is good) folder -no --> ambiguous commit bd60514e13b4b1d4e2f726e6fc54da9eff6a263e Author: markus schnalke Date: Sat May 5 07:55:20 2012 +0200 Don't require a length for switch prefixes without good reason. E.g. there's no reason (anymore?) to require the user to type `whatnow -prom' when `whatnow -p' is already distinguishing. commit ea21fe2c4bd23c639bef251398fae809875732ec Author: markus schnalke Date: Sat May 5 07:53:09 2012 +0200 flist: Removed the hidden -total switch. It was simply the inverse of the visible -fast switch. -nofast was -total and -fast was -nototal. Now, the hidden pair went away. commit 00140a3c86e9def69d98ba2ffd4d6e50ef6326ea Author: markus schnalke Date: Sat May 5 07:51:52 2012 +0200 sortm: Removed the hidden -subject switch, which provided compat only. Use `-textfield subject' instead. commit c4a4ae457b089b440ba4cb62bca2e2ca59940ac1 Author: markus schnalke Date: Sat May 5 07:51:32 2012 +0200 forw: Fixed -build switch. commit ac2834b4173be67edde1334819d3d3c16e4d484e Author: markus schnalke Date: Sat May 5 07:51:04 2012 +0200 Added comment and removed whitespace. commit 30292c537fe4eab052f303f1d3179c0e2fd037d8 Author: markus schnalke Date: Tue May 1 17:16:34 2012 +0200 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. commit 5c43bb739797c078c3fd6aa982183e15af456d31 Author: markus schnalke Date: Tue May 1 16:18:52 2012 +0200 Man pages: Replaced \*(lq and \*(rq with ` and '. Using the quotes directly is staight-forward and convenient to read and write. commit bb9360ead7eb7a3fedcce2eeedfc660014e41dbe Author: markus schnalke Date: Tue May 1 15:30:39 2012 +0200 Removed msgchk(1) as it is hardly useful without POP support. It is questionable if msgchk(1) provides more information than: ls -l /var/mail/meillo It does separate between old and new mail, but that's not very useful and can be found out with stat(1) too. A very small shell script should be equally useful, if there's someone who really uses msgchk(1) and not simply `inc's. Concerning the administrative uses of msgchk(1), i.e. querying a set of users, that's no MUA's task and thus a reason to remove the tool. But eventually, the question remains the same: What does it provide more than `ls -l' and `ls -lu'? Is it worth to keep it around? IMO, no. commit 32b2354dbaf4bf934936eb5b102a4a3d2fdd209a Author: markus schnalke Date: Tue May 1 15:01:36 2012 +0200 Renamed -version switch to -Version to remove the conflict with -verbose. Now, `mhlist -V' prints the version and `mhlist -v' lists verbosely. There are only a few switches left that conflict on the first character, apart from the inverted (no*) variants. commit 601cc73d1fa05ce96faa728f036d6c51b91701c7 Author: markus schnalke Date: Tue May 1 14:48:59 2012 +0200 folder: Never display column headers (removed -header). Also removed the full-stop (dot) at the end of each line. It looked rather strange to have it there. commit a7ce7b4a580d77b6c2c4d980812beb589aa4c643 Author: markus schnalke Date: Tue May 1 14:38:44 2012 +0200 Bring in all of the mh-e support that is actually used to be compiled by default, and garbage collect the stuff that is not used. Pulled in from nmh. Thanks to Ken Hornstein. Concerning mmh only: - The FIXME comments about the missing checks for existing drafts. - mh-e support of mmh is not much more than providing the -build switches. It might get dropped in the future. commit e68b1fb49f49b3f68b7a1a5eeb449b2c26b196a8 Author: markus schnalke Date: Tue May 1 13:53:32 2012 +0200 mhbuild: Removed -contentid switch, which was an Outlook 2002 workaround. Explanation: Outlook 2002 won't display attachments that have a Content-ID header. This is a bug in Outlook 2002, not in mhbuild. There used to be this -nocontentid switch to prevent Content-ID headers to be inserted. As I consider it wrong to complicate all other MUAs instead of forcing the developers and users of broken MUAs to fix or change their software, I removed it. You can still workaround the bug in the following way: invoke `e mhbuild' manually at the Whatnow prompt and edit the draft again thereafter, removing the Content-ID headers. Then send it. commit b24f96523aaf60e44e04a3ffb1d22e69a13a602f Author: markus schnalke Date: Tue May 1 13:33:10 2012 +0200 mhlist: Always display the column header (removed -headers). commit a6e6452e21cb56d1ccd593341e0bdd865e3bcbe5 Author: markus schnalke Date: Tue May 1 13:21:16 2012 +0200 mhbuild: Don't list anything (removed -list and -header). For displaying the MIME structure, use mhlist(1). If you are curious what mhbuild(1) had created, simply run mhlist(1) on the same file afterwards. commit 658569d39048e3e810be570210649ff9f628e835 Author: markus schnalke Date: Tue May 1 13:20:40 2012 +0200 mhoutsbr.c: writeBase64aux() needs not to be exported. commit 3363e2624dce0eb8164cf8b3f1ab385c8ff72e88 Author: markus schnalke Date: Tue May 1 12:32:04 2012 +0200 mhbuild: Removed -rfc934mode switch, which is only useful for non-MIME systems. We require MIME facilities to be available. commit 01a3480928da485b4d6109d36d751dfa71799d58 Author: markus schnalke Date: Tue May 1 11:37:53 2012 +0200 mhbuild: Removed the -ebcdicsafe switch. It only influenced MIME messages, where quoted-printable encoding encoded some punctuation chars (e.g. $) as well. I guess this is not much of a problem anymore today. The switch was deactivated by default and didn't even appear in the 1991's version of Jerry Peek's MH book. In the 1999's version there is a parenthesed note about the switch, not more. I guess we won't miss it. commit 8d8f1c3abc586c005c904e52c4adbfe694d2201c Author: markus schnalke Date: Tue May 1 11:19:24 2012 +0200 mhlist, mhbuild: Always evaluate realsizes of the MIME parts. This already had been the default. Now I removed the -[no]realsize switches. commit 104b0f8f0b2b5141baeaea3b96915ae24b51ff40 Author: markus schnalke Date: Tue May 1 10:51:40 2012 +0200 Minor improvements of man page sendfiles(1). commit 0115eef2665d92589cb4acec6ce3fc04f81da967 Author: markus schnalke Date: Tue May 1 10:44:40 2012 +0200 Minor fix: Font in man page. commit 68a686adeb39223a5e1ad35e4a24890ec053679d Author: markus schnalke Date: Tue May 1 10:28:52 2012 +0200 burst: Fixed handling of trailing text; removed -inplace and -quiet. The trailing text had been part of the last message extracted, now it is ignored, conforming to the documentation. Removing the -inplace switch (thus making -noinplace the default) simplified the code and removed the possibility to lose data. -quiet supressed warnings (``message is not in digest format''). Warnings should be displayed. To though suppress them, redirect stderr to /dev/null. I was unsure if I should make -verbose the default (i.e. remove -verbose but have -quiet) as it provides similar useful information like inc(1). I decided against it, because in Unix silence rules. However, I like to have ``burst: -verbose'' in my profile. commit 9413eae50c4f1843dc7cab43dc11fe79fd28b744 Author: markus schnalke Date: Tue May 1 08:20:23 2012 +0200 Minor refactoring. commit 8bdc45422ae3279fde81b1d1e7eb9dcf881f961f Author: markus schnalke Date: Tue May 1 08:09:56 2012 +0200 whatnow: Simplified and clarified (or fixed?) the situation of failed edits. If the initial edit fails, no new draft is created, but any existing re-used draft is preserved. Failures of later edits are ignored and another prompt is printed. commit 75fca31a5b9d5c1a99c74ab14c94438d8852fba9 Author: markus schnalke Date: Mon Apr 30 22:58:54 2012 +0200 Removed the -noeditor switches and made them replaceable by `-editor ""'. commit ee4f43cf2ef0084ec698e4e87159a94c01940622 Author: markus schnalke Date: Mon Apr 30 20:38:46 2012 +0200 Removed -nowhatnowproc switch as it does nothing useful. The result of using it is the same as using `-whatnowproc /bin/true': The draft gets created and left in the draft folder. As a replacement exists, we surely don't need keep -nowhatnowproc. commit 8d77b48284c58c135a6b2787e721597346ab056d Author: markus schnalke Date: Mon Apr 30 18:52:19 2012 +0200 Rework in charset code. (Includes renaming.) Renamed check_charset() to is_native_charset(), and sbr/check_charset.c to sbr/charset.c. Removed caching in favor for simpler code. is_native_charset() does not check for prefixes anymore. The code didn't match the comments anyway and it matched when comparing the first 10 [sic!] chars of `ISO-8859-1whatever' with `ISO-8859-11', which is not wanted. commit 4c1efddfd499300c7e74263e57d8aa137e84c853 Author: markus schnalke Date: Mon Apr 30 16:33:55 2012 +0200 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. commit da2ccd847bcb978a51b946e934ac91a2af7347fa Author: markus schnalke Date: Mon Apr 30 16:28:30 2012 +0200 Noted that the testcases are not maintained and thus became broken. commit 264f6e648f566f8efaa0188fb6a9e4908329d6d6 Author: markus schnalke Date: Mon Apr 30 16:16:08 2012 +0200 Code style: Fixed indent and comment style. commit 1e1eead55e3f03af9f826b21649c77b90d886a4c Author: markus schnalke Date: Mon Apr 30 12:15:14 2012 +0200 Install scan.meillo. (Wasn't enough to just add the file to the VCS.) commit 0da86af19c369b20713d0cedf7b0b3319560f69e Author: markus schnalke Date: Sat Apr 14 22:32:02 2012 +0200 mhshow: Add header and separation when displaying multiple messages. We do it similar to the way mhl(1) does it. The -header of show(1) is not added to mhshow(1). You can though have it, by using the mhl `MessageName' pseudo-component. commit 2017eab468c8506da64eacc01d829c2b946e5faa Author: markus schnalke Date: Sat Apr 14 22:09:52 2012 +0200 mhshow: Fixed segfault. (Care that c_charset is set.) commit 3480effefa433e71db02129a1e30e454400a54ce Author: markus schnalke Date: Sat Apr 14 20:37:31 2012 +0200 mhshow: Can now be called as `next' or `prev' as well. This is a step in replacing show(1) by mhshow(1). commit 0e46503be3c855bddaeae3843e1b659279c35d70 Author: markus schnalke Date: Sat Apr 14 20:13:04 2012 +0200 mhl: Don't invoke the pager anymore. As show(1) will soon be replaced by mhshow(1), mhl will be hidden behind mhshow(1), which does invoke a pager now itself. Hence, no need for mhl(1) to deal with it. commit a4197ea6ffc5c1550e8b52d5a654bcaaaee04a4e Author: markus schnalke Date: Sat Apr 14 19:59:54 2012 +0200 mhshow: Automatically invoke (one) pager for the whole message, if on TTY. Mhshow used to invoke the pager for each of the text/plain parts independently. Now, we invoke it once for the whole message. Remember: We serialize! (Mhl(1) invokes a pager too, currently, but not much longer.) commit 7ca05c3df912f540c1f25b3be4d1733f5a3ad1b4 Author: markus schnalke Date: Sat Apr 14 19:44:41 2012 +0200 mhshow: Wait for children synchonously because we run them serialized. commit b6e0badc41f8368a0cb74eecb78666fd8d641529 Author: markus schnalke Date: Sat Apr 14 18:45:20 2012 +0200 Updated man page of mhshow(1) to recent changes. commit a20d405db09b7ccca74d3e8c57550883da49e1ae Author: markus schnalke Date: Sat Apr 14 18:06:04 2012 +0200 mhshow-show-*: Made %e escape the default, i.e. always serialize the output. Never invoke several content display processes in parallel, but always wait for the previous to finish before executing the next one. The idea behind this is generating console output only, but not spawning any graphical windows. All output of displaying one message should go to one single pager invocation. Any other kinds of attachments are to be stored and afterwards displayed manually. This is the way all the other MUAs do it and it matches the modern understanding of emails: a message and attachments. This is contrary to the original design of MIME, true. Also, removed the %p alias for the %l escape. commit 7fba80493bf077322a16e98bfeb11990a9c89340 Author: markus schnalke Date: Sat Apr 14 17:52:51 2012 +0200 Don't do a shell `exec' on mhshow-show-* contents to make `foo; bar' possible. commit 2433122c20baccb10b70b49c04c6b0497b5b3b60 Author: markus schnalke Date: Sat Apr 14 17:35:18 2012 +0200 No more mhshow-charset-* but instead automatic invocation of iconv(1). Unless there is an mhshow-show-* rule, text/plain content types are automatically piped through iconv(1) if their charset is foreign. For mhshow-show-* rules, there's a new %c escape, which expands to the foreign charset. The contents of the files, referenced by %f/%F are still in foreign encoding. One might want to use `iconv -f %c %f | mycommand' for custom mhshow-show-* rules. We depend on iconv(1) now! But this may change to dependence on iconv(3), soon. This field is inconsistent and not at all finished, yet. commit 559039d546e7eb1d160c4e3bd3538845b645546e Author: markus schnalke Date: Sat Apr 14 15:17:16 2012 +0200 anno: Fixed test for intermixture of file and msgs/folder. commit e15c750b678ec42965c68106cc645e33a9e45109 Author: markus schnalke Date: Sat Apr 14 14:31:27 2012 +0200 Remove unused struct component. commit c9d2227d8c81c7d1a04e8182622e73b2770ee1a4 Author: markus schnalke Date: Thu Apr 12 23:14:13 2012 +0200 mhmail is for sending, but not for reading mail. commit 55e1d8c654ee0f7c45b9361ce34617983b454c32 Author: markus schnalke Date: Thu Apr 12 23:05:47 2012 +0200 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.) commit c164fa6824a65205d96c9d1450dc656bec66553a Author: markus schnalke Date: Thu Apr 12 23:03:23 2012 +0200 Cleanup addon to `mhbuild: Removed support for message/external-body'. commit 90d53cbbe431a89ac2066a527bbfe46ac0f3cbe7 Author: markus schnalke Date: Thu Apr 12 18:28:49 2012 +0200 mhbuild: Removed support for creating message/external-body parts. Although I really like the concept, I remove the support because I haven't seen any such message in my life. Less code through removing hardly used features is more appealing to me than having support for such nice but hardly used features. The world took a different road than the one MIME proposed. commit 41b6eadbcecf63c9a66aa5e582011987494abefb Author: markus schnalke Date: Thu Apr 12 17:30:56 2012 +0200 mhstore -auto: Never store into subdirs, but use basename of filename. Now, the only remaining problem with -auto is overwriting of existing files. But actually that's no problem of -auto, because the behavior is the same with -noauto. commit 3410b680416c49a7617491af38bc1929855a331d Author: markus schnalke Date: Thu Apr 12 16:12:43 2012 +0200 mhstore: Made -auto the default. Now, that tar files are not extracted automatically anymore, it's quite safe to have -auto, as nothing unexpected will happen. Still, existing files will be overwritten, but that's the case with -noauto too. commit 94c80042eae3383c812d9552089953f9846b1bb6 Author: markus schnalke Date: Thu Apr 12 15:18:12 2012 +0200 Don't treat application/octet-stream with type=tar special. Don't auto-extract such parts with `mhstore -auto'. This makes -auto less a security problem. The auto-extract feature of mhshow that had been described in its man page seems to not exist, anyway. commit d1fefd9f614e4dc3cda16da6c69133c1b2005269 Author: markus schnalke Date: Wed Apr 11 17:23:59 2012 +0200 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? commit 70bc44ec2fd9f4033a6190868979991338ba6664 Author: markus schnalke Date: Wed Apr 11 16:46:27 2012 +0200 Removed #ifdef lint. commit 31dc797eb5178970d68962ca8939da3fd9a8efda Author: markus schnalke Date: Wed Apr 11 15:41:05 2012 +0200 Removed RFC 1864 (Content-MD5) support. I.e. -check switches. Transfer integrity should be cared for in the transfer protocols. Data integrity is better covered with digital signatures. commit 85efd688c798fc782567d3f9c283064a01d5c9fe Author: markus schnalke Date: Wed Apr 11 15:18:39 2012 +0200 Man page mhbuild(1): Tried to make the structure more clear through markup. commit 2679bb7e1305b30e1f0bef4612760b5a858456da Author: markus schnalke Date: Wed Apr 11 12:22:13 2012 +0200 Added docs/README.start-devel, which recommends who to start with nmh. I've written this more than a year ago, in pre-mmh times, but my advices are still the same. commit d0581ba306a7299113a346f9b4c46ce97bc4cef6 Author: markus schnalke Date: Wed Apr 11 11:52:12 2012 +0200 Don't display multipart/parallel in parallel. Always serialize displaying. commit ca11bfdf29e6070a1cf8878d1d22452544db98e9 Merge: ff28320 3e59699 Author: markus schnalke Date: Wed Apr 11 11:24:33 2012 +0200 Merge branch 'master' of ssh://marmaro.de:2022/var/git/mmh commit ff2832024ce5363103365c0caff85e75e4590b83 Author: markus schnalke Date: Wed Apr 11 11:09:16 2012 +0200 Merged man pages next(1) and prev(1) into show(1). commit 7b4682fe054f605f05e6d38033188b5961aac096 Author: markus schnalke Date: Wed Apr 11 11:07:59 2012 +0200 show: Fixed -checkmime for msgs. Only check for MIME-Version header from now on. commit d50bc5836dcb94dc6b92e7953c7d0cf62469ee52 Author: markus schnalke Date: Wed Apr 11 00:05:26 2012 +0200 Scanning an empty mbox file is no error. Of course there won't be a delimiter, but mail drop files are frequently empty, though existing. This solution is more of a hack, but it works. Improvements welcome! commit dda8c13ffa51100f1482af9a2429290269068955 Author: markus schnalke Date: Wed Apr 11 00:04:35 2012 +0200 Default scan format: Added leading zeros, which I've forgotten. commit 7966c20b9cd851df25a903f5ecc47547b26af185 Author: markus schnalke Date: Tue Apr 10 23:45:02 2012 +0200 Added my own scan format: scan.meillo commit aec4cbb08264ca2edd59f00f4563cd4528e0ff0e Author: markus schnalke Date: Tue Apr 10 23:44:14 2012 +0200 Added HH:MM to the default scan format. commit 7c2ba0786dc15d32519719791d9fc5a990e84242 Author: markus schnalke Date: Tue Apr 10 23:30:23 2012 +0200 Minor layout fix in man page mhparam(1). commit a8a894a102eb7f31662d49355312d6e64e081664 Author: markus schnalke Date: Tue Apr 10 23:24:07 2012 +0200 Removed -(no)push and -(no)forward flags from send, spost and whatnow. We don't send directly (with SMTP) anymore. We only execute sendmail, which, on modern systems, takes few time. Thus we do it directly instead of having more complexity for the rare wish to run sendmail in the background and also be unable to deal with possible errors directly. commit 3e59699457d12fe6cef2e6426d097f92361269c9 Author: markus schnalke Date: Sun Apr 1 22:46:30 2012 +0200 Added a bunch of good quality code. That will improve mmh for decades! commit d54c8db8bdf01e8381890f7729bc0ef4a055ea11 Author: markus schnalke Date: Fri Mar 30 18:07:52 2012 +0200 Put structure into anno(1) and its man page. The ``newly'' added features (-list, -delete, ...) were simply added on top, but without rethinking and adjusting anno(1)'s structure. (I agree, however, that it was the right decision to add these features to anno(1) instead of writing another tool.) I've reworked anno now to give it a clear structure. And I've reworked its man page to propagate this structure. commit 3d6f5c837570d47d61e12df7e98ebec25ad08d46 Author: markus schnalke Date: Thu Mar 29 23:17:59 2012 +0200 Updated man page mh-mail(5). commit a0a7003193b14d2965fdeb6e07cd20605d179e1f Author: markus schnalke Date: Thu Mar 29 23:00:30 2012 +0200 Added missing NULL sentinels in switches array. commit 07ac3f117098490f03b7f61e0257dc2d07583402 Author: markus schnalke Date: Thu Mar 29 22:53:19 2012 +0200 mmh.sh: Minimal change. commit 155ab56dceb237b491a9d551e2a74aa8d74a16c0 Author: markus schnalke Date: Thu Mar 29 22:51:59 2012 +0200 Added wrapper mmhwrap for parallel installations with nmh or a small $PATH. It might be helpful. commit 412b2e54251ff6e20537f83b95c8ee76ea8c5c40 Author: markus schnalke Date: Thu Mar 29 18:18:21 2012 +0200 Folded fileproc to constant `refile'. Also moved sbr/refile.c into uip/whatnow.c commit 5f6cb9c6ca7a84cbb7b7e3fd4d033af99caa9e18 Author: markus schnalke Date: Thu Mar 29 17:12:37 2012 +0200 Migrated man page post(8) to spost(8). It would be nice to have it improved a bit more. Spost is located in section 8 (maintenance commands) of the manual, but it is located in the bindir, rather than the sbindir. This is on purpose. The sections of the manual are mostly informational (today), whereas directories are either in $PATH or not, and thus cause a functional difference. Hence, I don't blindly link sbindir to section 8. commit 3c7a396c28e665f8cc2e94f18e1a84b3e1d2efd4 Author: markus schnalke Date: Thu Mar 29 16:13:21 2012 +0200 mhl: removed -folder switch and folder output for messagename pseudo component. commit aac09b48aeb1e822be418a6b6a01b3e2f357b8cd Author: markus schnalke Date: Thu Mar 29 15:17:06 2012 +0200 Removed dead code within never set define WHATNOW. commit 8edc5aaf86f9f77124664f6801bc6c6cdf258173 Author: markus schnalke Date: Thu Mar 29 15:08:49 2012 +0200 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.) commit dfecfa4b4b77983ddf8253b1b8effaf5c1a0ce80 Author: markus schnalke Date: Wed Mar 28 21:16:08 2012 +0200 Fixed programming mistakes, detected by cppcheck. Two memory leaks and a possibly not terminated string. (There also is a false positive in sbr/path.c.) (sbr/dtimep.c has warnings, but I believe lex is correct. ;-) ) commit 12fc1bc3b016c93fa00712de76a286c09dc1ee39 Author: markus schnalke Date: Tue Mar 27 18:22:13 2012 +0200 Removed -realsize from man page because mhshow doesn't support it. Pulled in from nmh. Thanks to David Levine. commit e1b2a81e2b5f77605973a47734a895cd3e83b73c Author: markus schnalke Date: Tue Mar 27 18:11:49 2012 +0200 Enhance fix of 0b81a300d9e7cf78b6bc11d8c870f57fa81fcdc4. Ken Hornstein did the same fix for nmh. He showed me that I had missed the second, similar, case. Thanks. commit 18272eafd1dd4c2c594724da3d850e794f191566 Author: markus schnalke Date: Tue Mar 27 17:39:32 2012 +0200 Automated generation of mh-chart.man7. Moved mh-chart from section 1 to section 7, in the same go. Based upon a pull-in from nmh. Thanks a lot to David Levine. Autogenerating is the only sensible approach to mh-chart. commit b9650770c24af625e4ddc6d791b9d5b652c1e8b2 Author: markus schnalke Date: Tue Mar 27 15:40:17 2012 +0200 Trivial change. commit c986c4f537fa8adc7d84f338976613ac4475bea3 Author: markus schnalke Date: Tue Mar 27 15:31:14 2012 +0200 Add some more default MIME content suffixes. Some of them originated from: cat /etc/mime.types | perl -ane 'if ($F[1] ne "") {print "mhshow-suffix-$F[0]:.$F[1]\n"}' Pulled in from nmh. Thanks to Ken Hornstein, David Levine and Steve Rader. commit 6cdade9983a7ebd5a5bb8296daa49d5475f07af8 Author: markus schnalke Date: Tue Mar 27 15:22:43 2012 +0200 Clean up prototypes. Pulled in from nmh. Thanks to Ken Hornstein. commit 9baa20b6178dec82264945744200af013c05b3bd Author: markus schnalke Date: Tue Mar 27 15:18:49 2012 +0200 Make sure we don't send Envelope-From if we're using spost. Pulled in from nmh. Thanks to Ken Hornstein. commit 1ab6dbe9907901b0abe84c451ead6b25a74fbb5b Author: markus schnalke Date: Tue Mar 27 15:14:46 2012 +0200 Create proper prototypes for formataddr(). Pulled in from nmh. Thanks to Ken Hornstein. commit 5aa54cbb20ba640e73e6c9132f9b8c13bec07607 Author: markus schnalke Date: Tue Mar 27 15:11:24 2012 +0200 Fixed mhstore to honor nmh-storage profile entry even with -auto [Bug #35303]. Pulled in from nmh. Thanks to David Levine. commit 047888a8a1d311b772b3207dca48b607c7126507 Author: markus schnalke Date: Tue Mar 27 15:07:59 2012 +0200 Fixed two fd leaks in mhparse.c. 1) In openQuoted(), the decoded contents file was opened twice in succession. The second open was added by a patch in March 2000. 2) openBase64(), openQuoted(), and open7Bit() could open the contents file, but it never would be closed. Added code to each to close the file if the function opened it. [Bug #24004: (debbug 344182)] Pulled in from nmh. Thanks to David Levine. commit b2d16fa4e961d55fec5f83eadc0a15503af2fe38 Author: markus schnalke Date: Tue Mar 27 14:57:18 2012 +0200 Replaced UTC-8 with UTF-8. Pulled in from nmh. Thanks to David Levine. commit 0fb9981d2aff1a53d665123ef73857949a0e86f8 Author: markus schnalke Date: Tue Mar 27 14:55:17 2012 +0200 Fixed a bunch of minor man page formating problems. (Revealed by `groff -ww'.) Pulled in from nmh. Thanks to David Levine. commit 6bd5e1baa07e971d42188391a12f330b82174c48 Author: markus schnalke Date: Tue Mar 27 14:48:42 2012 +0200 Fixed mhlist -verbose to work with all content types [Bug #35219]. Pulled in from nmh. Thanks to David Levine. commit eea4d1cb63d62652e6413edfae2eaf5d4944d80f Author: markus schnalke Date: Tue Mar 27 14:40:38 2012 +0200 Added -verbose/-noverbose to mhlist synopsis Pulled in from nmh. Thanks to David Levine. commit a451512234838dcaf6f0a625b228761d0b2575a7 Author: markus schnalke Date: Tue Mar 27 14:37:36 2012 +0200 Escape spaces in DEFAULTS sections of man pages so they no longer are lost. Pulled in from nmh. Thanks to David Levine. commit 9463774dee55bf3d8ab4d5dc8ac68816511aa684 Author: markus schnalke Date: Tue Mar 27 14:32:20 2012 +0200 Removed ignored -verbose (and -noverbose) options to mhstore. (In contrast to nmh, we also change the code.) Pulled in from nmh. Thanks to David Levine. commit 582a56a15d79dac8e142b97bf08f29ccb8df3a2a Author: markus schnalke Date: Tue Mar 27 14:25:10 2012 +0200 Fixed example to show that mhparam preserves case of component name. Pulled in from nmh. Thanks to David Levine. commit 651d89ca77b0c62dec629b029ef8e25d0df1d4cb Author: markus schnalke Date: Tue Mar 27 14:20:24 2012 +0200 Fixed `mhbuild -check': use the correct file. mhbuild -check would always fail because it tried to build the digest for the decoded contents file (cefile), which can be null. If it is, use the contents file itself. Pulled in from nmh. Thanks to David Levine. commit 8051c625ea98a42e6f8f0b4276babeeae49b339f Author: markus schnalke Date: Tue Mar 27 13:58:45 2012 +0200 Make -volume switch actually work (it always got overridden). As far as I can tell, this never worked. Found by the nmh test suite! Pulled in from nmh. Thanks to Ken Hornstein. commit 89500484352c5b5bf741879db73b1ed0c84770da Author: markus schnalke Date: Tue Mar 27 13:55:34 2012 +0200 Suppress echoing of man page build lines. One of them says "warning", and it's handy to check that build output doesn't say that. Pulled in from nmh. Thanks to David Levine. commit db9aeea968d1810261a964a10042b2cecabbd004 Author: markus schnalke Date: Tue Mar 27 13:49:16 2012 +0200 Updated docs to reflect that all of the lists are on nongnu.org. Pulled in from nmh. Thanks to David Levine. commit 75f03a965d10d34099b13799e6fe0ed43f56e257 Author: markus schnalke Date: Tue Mar 27 12:41:58 2012 +0200 Report an error when the width used by putaddr is less than the label width. Pulled in from nmh. Thanks to Ken Hornstein. commit 0dc43cbf916830e524ee705664bc9d1e1addaee2 Author: markus schnalke Date: Tue Mar 27 12:33:35 2012 +0200 new: Improve the fix with the NULL-sentinel. With multiple sequence arguments on the command line you might end up with garbage in the sequence[] array (it needs the last argument to be a NULL. So do two things: make the first two arguments NULL, and as we add arguments to sequence[] make sure the list has a NULL on the end. This is another problem discovered by the nmh test suite. Pulled in from nmh. Thanks to Ken Hornstein. commit 38ada11179b45273156ad158afb2833d2e31b98c Author: markus schnalke Date: Tue Mar 27 12:30:34 2012 +0200 Correct the maximum number of sequences in the mark(1) man page. Also add a note explaining the somewhat low limit. (Note: mmh's value is different to nmh's.) Pulled in from nmh. Thanks to Ken Hornstein. commit 7c5f2d98b1e0519cd3bfcc3b01be06db3eafb27d Author: markus schnalke Date: Tue Mar 27 12:21:43 2012 +0200 Show assignment of configure variables using VAR=VALUE instead of in the env. Pulled in from nmh. Thanks to David Levine. commit 2e5668919988fce4e523cbf2294698841b1106a0 Author: markus schnalke Date: Tue Mar 27 12:12:06 2012 +0200 We have only numeric timezone support (e.g. +0200) from now on. That's an mmh decision. Pulled in from nmh is the following part: Removed use of tzset()/tzname in dtimezone(). They caused the returned timezone string to be for the user's current timezone, but the function is supposed to return the string representation of the timezone of its argument. Thanks to David Levine. commit 701adc46db60b3ca1f2e5087805eba59ffe87976 Author: markus schnalke Date: Tue Mar 27 11:42:39 2012 +0200 new: sequences[0] needs to be initialized to NULL. This was caught by the nmh test suite. Pulled in from nmh. Thanks to David Levine. commit 694fc4000bfe9e5091c30773c49b14c8fbc5c1ad Author: markus schnalke Date: Tue Mar 27 11:35:56 2012 +0200 Added error message if COMPLETION-BASH is source directly. Pulled in from nmh. Thanks to David Levine. commit b448acfe8fded2f2b29ae889c734d68245481529 Author: markus schnalke Date: Tue Mar 27 11:34:53 2012 +0200 Exit with error message if no library could be found with tgetent(). Pulled in from nmh. Thanks to David Levine. commit d132c52459d18f45fa9d227e5f3afebad43f7cfc Author: markus schnalke Date: Tue Mar 27 11:20:22 2012 +0200 Replace www.ics.uci.edu/~mh/ links with corresponding rand-mh.sf.net links. The former ones are dead. Pulled in from nmh. Thanks to David Levine. commit 7617aba98c430c925ae133c029d2ab9f570e95b5 Author: markus schnalke Date: Tue Mar 27 11:06:46 2012 +0200 abs() is part of C89. commit 6195a89359453dc49064c8f7a28c02165d2cb972 Author: markus schnalke Date: Tue Mar 27 11:03:04 2012 +0200 FreeBSD needs the HAVE_STRUCT_TM_TM_GMTOFF test. FreeBSD has a timezone() function, not a timezone global variable (that's visible with our default configuration). Undid most of 0e4bc6fa7fa8ad74a1c3e855411bdc0e63bc6a2e. Pulled in from nmh. Thanks to David Levine. commit 5a4836db0e18fe3fa32ba5d3deff2010d8a1b418 Author: markus schnalke Date: Tue Mar 27 10:58:05 2012 +0200 uip/termsbr.c: remove references to PC. Pulled in from nmh. Thanks to Lyndon Nerenberg. commit 54c43692649e392a42bb9559ea12cdaff056b965 Author: markus schnalke Date: Tue Mar 27 10:46:38 2012 +0200 s/AC_CHECK_NETLIBS/NMH_CHECK_NETLIBS/, since it's not part of autoconf. Pulled in from nmh. Thanks to Ken Hornstein. commit 403bc56ffdf4679f5159d926c5774ad042c55ac9 Author: markus schnalke Date: Tue Mar 27 10:44:30 2012 +0200 Removed the undocumented `select' option of slocal(1) and thus removed utmp. commit 0e4bc6fa7fa8ad74a1c3e855411bdc0e63bc6a2e Author: markus schnalke Date: Tue Mar 27 10:20:25 2012 +0200 Removed HAVE_STRUCT_TM_TM_GMTOFF support. timezone, tzname, and tzset() are all POSIX. Pulled in from nmh. Thanks to David Levine. commit ecb956c6724be7422b2d512dd6492f3cf3b8451a Author: markus schnalke Date: Tue Mar 27 10:13:26 2012 +0200 Removed unused parameter of replout(). commit d5b5e6e4813b7fd77dc1664df4304537f3002cf3 Author: markus schnalke Date: Tue Mar 27 10:09:19 2012 +0200 Changed types and added casts so that build is clean with gcc -Wsign-compare. Pulled in from nmh. Thanks to David Levine. commit 517661967774d60716ecff152c642b417195f900 Author: markus schnalke Date: Tue Mar 27 09:46:59 2012 +0200 Proper field initialization. gcc -Wmissing-field-initializers noticed several struct initializations that didn't explicitly list all fields. They were of no consequence because they were for static data, so they were initialized properly. Also, changed the initialization of global.c_ovtxt from "" to NULL because free_queue () freed it if non-NULL, though I think the "" was always overwritten. Pulled in from nmh. Thanks to David Levine. commit ac7004d83eba4b4685d9a03d9e3b2a5acab36a84 Author: markus schnalke Date: Tue Mar 27 09:36:56 2012 +0200 Documented support of OURDEFS to pass compile flags to configure. Pulled in from nmh. Thanks to David Levine. commit 5518634037521728ddcb11b8eb4c6dcd7f046f83 Author: markus schnalke Date: Tue Mar 27 09:31:47 2012 +0200 Add some comments to the format compiler and engine. Pulled in from nmh. Thanks to Ken Hornstein. commit 2d6064d0d2ceefa70d0220d9319030f47a49d924 Author: markus schnalke Date: Tue Mar 27 09:22:52 2012 +0200 Update README.developers with the correct version of autoconf we need. Pulled in from nmh. Thanks to Ken Hornstein. commit f58df8a711003c845bb2f899574ac8ed9ffa30fd Author: markus schnalke Date: Tue Mar 27 09:19:56 2012 +0200 Remove some unused macros. Pulled in from nmh. Thanks to David Levine. commit b3628819b4ab903269cd83cc68e453b13534346c Author: markus schnalke Date: Tue Mar 27 09:10:44 2012 +0200 Completely remove the use of TIME_WITH_SYS_TIME. Removed the autoconf test but never removed the code, and this caused some problems on systems that needed some prototypes in . Pulled in from nmh. Thanks to Ken Hornstein. commit 1ec4ef34243a756d1f51718e7e15b094f4b36618 Author: markus schnalke Date: Tue Mar 27 08:58:17 2012 +0200 Remove OS-specific defines. Remove GECOS ampersand-magic, along with it. Pulled in from nmh. Thanks to Ken Hornstein. commit 74ed4c043b3e22fa7e16fd892c381e9b16ca8c27 Author: markus schnalke Date: Tue Mar 27 08:48:32 2012 +0200 Clean up time handling; always assume we have tzset(). Also assume that the right prototype is in time.h (both are valid in POSIX). Pulled in from nmh. Thanks to Ken Hornstein. commit ac0b9fcce4167e2959ebc5b8d6efb8511acec66d Author: markus schnalke Date: Tue Mar 27 08:23:52 2012 +0200 We are making POSIX signal support a requirement. Remove all support for other signal interfaces. Pulled in from nmh. Thanks to Ken Hornstein. commit fc71710f8695ea07d852284286b058ecb3955317 Author: markus schnalke Date: Tue Mar 27 07:44:43 2012 +0200 Switch from using RETSIGTYPE via autoconf to void. POSIX says that's the type to use for a signal handler. Pulled in from nmh. Thanks to Ken Hornstein. (btw: `to pull in' describes my action better than `to merge'.) commit 7ffcbc3d01bb58a071d56f5e7379948c579f634a Author: markus schnalke Date: Tue Mar 27 00:22:33 2012 +0200 The result from the call to parse_mime() was ignored. Detected by `gcc -Wempty-body'. It has been that way since the beginning of history and was probably of no consequence, but fixed anyway. Merged from nmh. Thanks to David Levine. commit 7fc4e63e1df72c45f45d4fd8f54015ab9ec46320 Author: markus schnalke Date: Tue Mar 27 00:18:24 2012 +0200 Removed hard-coded -I.. and -I../.. from INCLUDES. It was redundant given -I$(top_srcdir). Merged from nmh. Thanks to David Levine. commit 3e300b97e9a54a3157e37948f8827abbe3eecf05 Author: markus schnalke Date: Tue Mar 27 00:13:25 2012 +0200 Added Content-Description header with the filename of the attachment. This seems to be common practice now and gives mhlist something useful to display. Merged from nmh. Thanks to David Levine. commit 750e5220c8e53347a635600171fd443ff3a64583 Author: markus schnalke Date: Tue Mar 27 00:03:50 2012 +0200 Added removal of autom4te.cache directory to mostlyclean-local. Merged from nmh. Thanks to David Levine. commit 1e588a59440aa1bee55c8d6d69003059c1d2af97 Author: markus schnalke Date: Mon Mar 26 23:53:15 2012 +0200 Remove RPATH code though. Discussions on nmh-workers have convinced me. [2012-01-05] Lyndon Nerenberg: > [2012-01-05] Ken Hornstein: >> RPATHS - Construct Return-Path headers from "From " lines. >> I say keep it, since it's been around forever (a fair >> amount of code, actually). > I'm going to argue for the removal of this code, as well. The > Return-Path header should be inserted by the delivering MTA, and I > can't think of any modern MTA that doesn't. commit e9f7cdfaf76a410bc663735484bee44806f32894 Author: markus schnalke Date: Mon Mar 26 23:29:53 2012 +0200 Added datarootdir definitions to silence warnings from configure. Merged from nmh. Thanks to David Levine. commit f00bf5448d06f7e7876a6ce66c392631661114d2 Author: markus schnalke Date: Mon Mar 26 23:25:16 2012 +0200 Removed check for st_blksize; it's required by POSIX. It's unclear why the it was there at all as the define wasn't even used! Merged from nmh. Thanks to Ken Hornstein. commit 1b12190af8b466a4bf081b5e798b4d7bde322123 Author: markus schnalke Date: Mon Mar 26 23:17:13 2012 +0200 Switch to standard autoconf macro for checking d_type field in struct dirent. Merged from nmh. Thanks to Ken Hornstein. commit ad4522348870e01f3d95eec2dd4dc008410d4cd8 Author: markus schnalke Date: Mon Mar 26 23:07:24 2012 +0200 Remove #ifdef around use of sigsetjmp(). Merged from nmh. Thanks to Lyndon Nerenberg. commit 50c72f9094eea8ad222ffb3b11f51eb4bb52f024 Author: markus schnalke Date: Mon Mar 26 23:03:39 2012 +0200 Remove overrides for 'broken' stat macros. Remove redundant SEEK_* macro defs. Merged from nmh. Thanks to Lyndon Nerenberg. commit 5ae78fd67db80de17a995b1bc637bf131cfe2bb5 Author: markus schnalke Date: Mon Mar 26 22:59:03 2012 +0200 Nuke directory processing conditionals; use dirent.h. Merged from nmh. Thanks to Lyndon Nerenberg. commit 0c648c7c1509760370d4c4267a45a5a305885e7f Author: markus schnalke Date: Mon Mar 26 22:57:27 2012 +0200 Clean up process wait to use POSIX waitpid() interface. Merged from nmh. Thanks to Lyndon Nerenberg. commit 0dc22c053a80549b21709e3a518d843203b5f65d Author: markus schnalke Date: Mon Mar 26 22:44:13 2012 +0200 Make use of mkstemp() unconditional (vs. mktemp()). Merged from nmh. Thanks to Lyndon Nerenberg. commit e5fbf8a40dfba71da720bbc247c5367e6547abb0 Author: markus schnalke Date: Mon Mar 26 22:38:30 2012 +0200 No longer check for the mkstemp() function in the mkstemp library. Merged from nmh. Thanks to Ken Hornstein. commit 0052f1024deb0a0a2fc2e5bacf93d45a5a9c9b32 Author: markus schnalke Date: Mon Mar 26 22:34:56 2012 +0200 Remove compatibility functions that are always provided by the POSIX host env. Merged from nmh. Thanks to Lyndon Nerenberg. Well, if the nmh folks now believe that snprintf() can be expected to be available on recent hosts, we remove it again. ;-) commit a567638a9445d091f6334ac2de2fc0e57309eb42 Author: markus schnalke Date: Mon Mar 26 22:28:34 2012 +0200 Ignore OSPEED/ospeed in termcap. Nothing current should need this. Remove autoconf ospeed checks. Merged from nmh. Thanks to Lyndon Nerenberg and Ken Hornstein. commit 7e421e1fd5cf1c4ce33edc005fa63784d9c5a2e6 Author: markus schnalke Date: Mon Mar 26 22:23:33 2012 +0200 Collapse termio/termios/sgtty terminal interface down to Posix termios. No longer check for termio.h or termios.h Merge from nmh. Thanks to Lyndon Nerenberg and Ken Hornstein. commit 768b5edd9623b7238e12ec8dfc409b82a1ed9e2d Author: markus schnalke Date: Mon Mar 26 22:12:41 2012 +0200 Eliminate '#ifdef HAVE_FOO' for Posix-mandated FOOs. Update configure file for removal of POSIX-mandated header files. Merged from nmh. Thanks to Lyndon Nerenberg and Ken Hornstein. commit b6fbaae87d9cf00b74d94050c10ba3e700545178 Author: markus schnalke Date: Mon Mar 26 21:37:26 2012 +0200 Deprecate uname() in favour of (Posix) gethostname(). Merged from nmh. Thanks to Lyndon Nerenberg and Ken Hornstein. commit adf591eb56d60000e806e20c42eb1907e2cc6fcd Author: markus schnalke Date: Mon Mar 26 21:32:32 2012 +0200 Moved #endif so that lockit () is only declared with DOT_LOCKING, to avoid compile warning without it. Merged from nmh. Thanks to David Levine. commit d75b71ec84578fcb66e6d4e1ccd5cc8c45363cbd Author: markus schnalke Date: Mon Mar 26 21:29:45 2012 +0200 Changed second argument of calls to part_ok() and type_ok() from 0 to 1, to match what store_multi() in mhstoresbr.c does. A test case is below. Without this fix, the following command: mhshow -part 1.1 -form mhl.null produced no output. mhlist showed a part 1.1: msg part type/subtype size description 1231 multipart/mixed 276 1 multipart/related 107 1.1 text/plain 29 and "mhstore -part 1.1" properly stored it. With this fix, mhshow behaves properly and shows the part. Analogous behavior happened with -type text/plain. test case: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="NextPart_001" Content-class: urn:content-classes:message Date: Thu, 19 May 2011 00:00:00 -0000 From: sender@example.com To: recipient@example.com This is a multi-part message in MIME format. --NextPart_001 Content-Type: multipart/related; type="multipart/alternative"; boundary="NextPart_002" --NextPart_002 Content-Type: text/plain; charset="utf-8" This is the text/plain part. --NextPart_002-- --NextPart_001-- Merged from nmh. Thanks to David Levine. commit 9c859e43ce6889f4f0b4bc34f346334999605884 Author: markus schnalke Date: Mon Mar 26 21:27:37 2012 +0200 Replaced cvs with git references. Merged from nmh. Thanks to David Levine. commit 002555d3d68d553044facbe4fad7bd008a42ac5e Author: markus schnalke Date: Mon Mar 26 21:12:29 2012 +0200 Removed unused local variables to eliminate warnings from gcc 4.6.2. Merged from nmh. Thanks to David Levine. commit 4cdff8cfe893e7039b4ef8272ed66a8a05bc8e04 Author: markus schnalke Date: Mon Mar 26 14:17:06 2012 +0200 There's no need for killpg(). We can use kill() instead. (Also removed a now unused define.) commit 8b235097cbd11d728c07b966cf131aa7133ce5a9 Author: markus schnalke Date: Mon Mar 26 14:00:09 2012 +0200 Removed conflict(8), because checking passwd, /var/mail, etc. is not our job. Conflict did check for: - duplicate users - duplicate groups - existence of group members - valid group ids - orphaned maildrops ... and by the way for valid format of alias files. The latter task can be covered by ali(1) without address arguments. All the other tasks have nothing to do with the MUA. Actually, most of them can be covered with shell one-liners. commit 59fa35679d83dd2e4d0cf13c2a1d2cf8fbb9de76 Author: markus schnalke Date: Sat Mar 24 18:59:41 2012 +0100 Removed the now irrelevant parts of the ``history section'' in m_getfld.c. commit 611d68d19204d7cbf5bd585391249cb5bafca846 Author: markus schnalke Date: Sat Mar 24 18:30:19 2012 +0100 CHANGE OF THE DECADE: I finally gave m_unknown() a name: thisisanmbox(). The ``magic invocation'' of this function informs m_getfld() that it is reading a packed mbox file and not an MH-style (one-file-per-message) file. m_getfld() needs to care for message delimiters then. The ``magic'' of m_unknown() had vanished some time ago, already. Back then, it needed to guess which kind of mailbox format the file is. With dropping the support for MMDF (^A^A^A^A) maildrops, we converted m_unknown() into a plain dump function ... and now, it also got a boring name. Well ... commit 5e8e1811bd39ba43dda7a3446694474ab16ab960 Author: markus schnalke Date: Sat Mar 24 18:13:34 2012 +0100 s/unixbuf/fromline/ and minor refactoring. commit 71ca16329d950bccd713a739ea430998b802aa23 Author: markus schnalke Date: Sat Mar 24 17:06:15 2012 +0100 Replaced msg_style with the boolean ismbox. We only need to differ between mbox and MH-default (one msg per file). commit be6a3c548620f6d908ccaff321c8fb372b615406 Author: markus schnalke Date: Sat Mar 24 17:01:37 2012 +0100 We don't need m_msgdef.c separately and some minor rework in m_getfld.c. commit fdc012cb43b5fc0baa6f4470b47be397bfc3f21b Author: markus schnalke Date: Sat Mar 24 16:40:16 2012 +0100 Removed support to handle ARPAnet (RFC733) addresses containing ` at '. commit bca1c9b36980c74f4dcc66a2d23e5d09083e0201 Author: markus schnalke Date: Sat Mar 24 16:17:30 2012 +0100 Removed personal flavor for ISI. Logically: Don't add myself more than once with `repl -cc me' and the like. commit 69b07982861716d278845f962c2f2c1365a3153f Author: markus schnalke Date: Sat Mar 24 15:58:50 2012 +0100 Merged folder_pack.c into folder.c. commit d4f5f9d551c05931478fcdfb5cd4ac06b419eeda Author: markus schnalke Date: Sat Mar 24 15:47:11 2012 +0100 Replaced folder_exists() by a call to create_folder(). Changed inc(1) to create non-existing folders with -silent, instead of silently failing in this case. I consider the new behavior to follow the POLS. commit 8589851acf19172bce7d6ecb44e3a4215beff3e5 Author: markus schnalke Date: Sat Mar 24 15:41:46 2012 +0100 Fixed `inc -silent' by not building a scan line if we don't want to print it. scan() is still ugly and I'm still not pleased with the scan/inc merge, but I don't see a better solution yet. commit 1577ee015a08dd21f0f57f8a8f9a9396c31e884d Author: markus schnalke Date: Sat Mar 24 14:02:18 2012 +0100 In-sourced copyip() and could make the code simpler. The function had had a bad name and it's use in mhl.c was complex, anyway. commit 5f08476e3bc5c134ce57d924b01d1c1fcacd53db Author: markus schnalke Date: Sat Mar 24 12:28:35 2012 +0100 closefds() doesn't seem relevant or large enough to be a function. I should beware in-sourcing too much ... commit c490c51b3c0f8871b6953bd0c74551404f840a74 Author: markus schnalke Date: Sat Mar 24 12:14:00 2012 +0100 Replaced atooi() with strtoul(..., 8). That's part of C89 and thus okay for us. commit 2968a0027b4c64664076f0d03a37f9744fe26782 Author: markus schnalke Date: Sat Mar 24 11:14:42 2012 +0100 whatnow: alist will now always list in long and numbered format. commit fac725ffc663490c44a7e6930a35402834869402 Author: markus schnalke Date: Sat Mar 24 11:04:47 2012 +0100 etcpath(): The unchanged argument is the ultimate fall-back. commit 9e6d91313f01c96b4058d6bf419a8ca9a207bc33 Author: markus schnalke Date: Fri Mar 23 16:17:43 2012 +0100 Merged annosbr.c into anno.c, as it is no longer used be the other tools. commit 34940cc59d658e50484f05ad11abe848ad724526 Author: markus schnalke Date: Fri Mar 23 16:07:02 2012 +0100 We need to fix `anno -list -number'. Seems anno needs some more rework. commit 469a4163c2a1a43731d412eaa5d9cae7d670c48b Author: markus schnalke Date: Fri Mar 23 16:06:23 2012 +0100 whatnow: call external anno(1) instead of internal annotate(). commit f8960957ae53f962fe12e5a5eb4c01eb54cb4228 Author: markus schnalke Date: Fri Mar 23 15:05:49 2012 +0100 whatnow: Some minor refactoring. commit aed384169af5204b8002d06e7a22f89197963d2d Author: markus schnalke Date: Fri Mar 23 15:01:34 2012 +0100 forw,repl: Replaced internal annotate() call with invokation of anno(1). commit f9444e331ec2a523098d72bdb98d08728488f9cc Author: markus schnalke Date: Fri Mar 23 14:39:25 2012 +0100 anno: Can annotate files now too. This feature is yet hidden and will change. commit 704d9e7792a7d9f810ac58871ef2e05403c01f38 Author: markus schnalke Date: Fri Mar 23 12:20:01 2012 +0100 Fixed building in a separate build directory. Like this: mkdir /tmp/foo cd /tmp/foo /path/to/sources/configure -q make If you want to know more, search for VPATH. commit ec31c208d8618994f39ec21aa14d6cf4b7fdae66 Author: markus schnalke Date: Fri Mar 23 12:07:44 2012 +0100 Make mhn.defaults a static file and removed the scripts that built it. This concept its likely to change in future anyway. commit e1f54ce0994fca960d2680d07b05a9deb9e5485b Author: markus schnalke Date: Fri Mar 23 10:49:52 2012 +0100 Removed unused defines. commit 9bc048fdbfba0a5330b5b447e4f4c8c8b11ee7be Author: markus schnalke Date: Fri Mar 23 10:27:18 2012 +0100 mhmail: If spost fails, preseverve draft by hand, not with mv(1). commit 076d7cc09eccff3d01d153434d89455db375ac44 Author: markus schnalke Date: Fri Mar 23 09:43:17 2012 +0100 makedir(): Removed the strange RUID!=EUID code and the access(2) call. Dan couldn't find a reason for the code neither, hence I assume it's save to simply remove it. Ummm, why do we want to avoid creating directories with the effective user ID? None of the nmh tools are installed such that the effective should be different from the real, and if some parent process made the two be different, I don't see why it should be our job to enforce the real UID. Also, why the heck do we call the mkdir executable rather than the library function in this case?? If we do want to call the mkdir executable, we should at least be giving it -p (and change the single chmod() call below) so it can successfully create nested directories like the above code can. -- Dan Harkless Concerning access(2): We should better always just try the action instead of first asking if we are allowed to do it. commit 7ffb36d28e517a6f3a10272056fc127592ab1c19 Author: markus schnalke Date: Fri Mar 23 09:17:21 2012 +0100 scan(): Symbolic names instead of magic numbers. commit 8e98a317c86f10e0c7e866c069e143bf48cf9814 Author: markus schnalke Date: Thu Mar 22 22:51:28 2012 +0100 Removed the trivial peekc() and put the code at the appropriate places. commit e6a372ac5444651ff2f156580b01e6a6ee8e30de Author: markus schnalke Date: Thu Mar 22 22:42:03 2012 +0100 Removed now unused OfficialName(). (Had been for UUCP, AFAIK.) commit 8b248218b305a1af5292fccb710ab87afb725cab Author: markus schnalke Date: Thu Mar 22 22:38:41 2012 +0100 Remove accidentally added files. commit f0bc769234fcf8b42c0ea8e8155d37524fe92400 Author: markus schnalke Date: Thu Mar 22 22:34:45 2012 +0100 Removed unused fdcompare(). commit 66ef547b1aa9794afb6137927aa3cd7335522c64 Author: markus schnalke Date: Thu Mar 22 21:49:27 2012 +0100 Insourced push() into send. commit 9ea776b2a10e7eec1933f79caf73220b691262b2 Author: markus schnalke Date: Thu Mar 22 21:40:36 2012 +0100 scansbr: Minor refactoring. commit d7b4f0034bc4f5b5c2f990d0984858e9b6f4131a Author: markus schnalke Date: Thu Mar 22 21:27:53 2012 +0100 scansbr: Removed the ``performance hack'' for inc as it wasn't faster. I tested a 150MB/500msgs mbox but couldn't see any time differences. In both cases it took 2-5s on my machine. Hence, I go for the much simpler and not ``we use strange internals'' version. If you really inc much larger mboxes, then just take some time. ;-) The explaining comment for the hack had been: Performance hack: some people like to run "inc" on things like net.sources or large digests. We do a copy directly into the output buffer rather than going through an intermediate buffer. We need the amount of data m_getfld found & don't want to do a strlen on the long buffer so there's a hack in m_getfld to save the amount of data it returned in the global "msg_count". commit e51cee378fd6a0f8d6f3af2a125715036d1f2f8c Author: markus schnalke Date: Thu Mar 22 21:07:50 2012 +0100 scansbr: Fixed scan and inc. Writing to /dev/null had it's sense, as for scanning mboxes, the message size had been determined this way and the file pointer had been pushed forward. This is now done using the input file pointer instead of the output fp. commit 5b7d1b7785d365515b0a9b5cfcb88d6b0e13ec51 Author: markus schnalke Date: Thu Mar 22 20:30:56 2012 +0100 scansbr: Minor refactoring and some comments. commit c6615b2fbf66e8c99a00330e23747787fb6c35cc Author: markus schnalke Date: Thu Mar 22 19:54:12 2012 +0100 Remove remainings from scan format `body' pseudo-component. Also, folded constant rlwidth var. commit b0f7bd3419973481892d77ab5937ce520700e185 Author: markus schnalke Date: Thu Mar 22 19:05:02 2012 +0100 scansbr: Further refactoring. commit aa60b0ab5e804f8befa890c0a6df0e3143ce0723 Author: markus schnalke Date: Thu Mar 22 18:50:10 2012 +0100 scansbr: Only write to file if we're incing, but not when scanning. If the original author would have used logical flags instead of magic values in `outnum', the code wouldn't have been broken all the time. Writing to /dev/null instead of not writing at all ... oh my! :-/ commit b8b075c77be7794f3ae9ff0e8cedb12b48fd139f Author: markus schnalke Date: Thu Mar 22 18:46:33 2012 +0100 Refactoring in scansbr.c. Especially, took the logic out of `outnum'. There's more to do here. commit d79920ed2519caaf0f4035edbb1f57ca73ed7249 Author: markus schnalke Date: Thu Mar 22 17:46:06 2012 +0100 Removed the DBMPWD (aka. DBM) define. It was per default enabled, anyway. The explanation of this option is: For sites with a dbm-style password file (such as with Yellow Pages), MH will not read the entire passwd file into a cache. At one site that runs YP on a large passwd file, using this showed a 6:1 performance improvement. I don't like performance optimization, but if the non-cached version is faster, then we surely take that one. commit f0f858069d21111f0dbea510044593f89c9b0829 Author: markus schnalke Date: Thu Mar 22 17:17:58 2012 +0100 Merged mhstoresbr.c into mhstore.c, cause it's not used elsewhere. commit 0503a6e9be34f24858b55b555a5c948182b9f24b Author: markus schnalke Date: Thu Mar 22 17:07:25 2012 +0100 Merged mhbuildsbr.c into mhbuild.c, cause it is not used elsewhere. commit 3d3fd4b7278c48da489d2cc296c1027d7aa722f2 Author: markus schnalke Date: Thu Mar 22 15:26:19 2012 +0100 Rewrote late declations, which are part of C99, but not C89. commit e87cd7100d4ae8d636895aebe30ec9dbf740c79b Author: markus schnalke Date: Thu Mar 22 15:25:41 2012 +0100 Added a note that I autoconf-2.59 should be enough. commit 8edf2fa76c7b6d224d3f1b8cc7a764e624c45816 Author: markus schnalke Date: Thu Mar 22 15:25:19 2012 +0100 Distribute autogen.sh in the tarballs. commit 0ac9f5ab199e03ff8f6e5914437cb14d25171058 Author: markus schnalke Date: Thu Mar 22 14:59:24 2012 +0100 Updated message, as `install-mh' had been replaced by `mmh'. commit 731cbed5b971fac4bddd0ea525da0a90be54425b Author: markus schnalke Date: Thu Mar 22 14:44:00 2012 +0100 Moved and renamed some documentation files. commit 9d65b803e9cd65249ea2317c2f43495b9eed40bc Author: markus schnalke Date: Thu Mar 22 13:57:24 2012 +0100 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. commit 8cc6b9bed04847a5675f5eec39938b4e242b0b2d Author: markus schnalke Date: Thu Mar 22 13:33:49 2012 +0100 Call send directly, not via sendproc. Removed its profile entry, too. commit 3b91e463fc7a4db9e7b69e2e0f4f7909339beea5 Author: markus schnalke Date: Thu Mar 22 13:30:06 2012 +0100 Call spost directly, not via postproc. Remove the postproc profile entry. commit 5b92ee6942b9b466914f5faa5fa4c00a2ebc6d35 Author: markus schnalke Date: Thu Mar 22 13:23:44 2012 +0100 Hardcoded mhmail instead of mailproc. commit dfa0332c4e6144699dedd5c9795219adc0f9c0d2 Author: markus schnalke Date: Thu Mar 22 13:18:23 2012 +0100 Removed the mhlproc profile entry. Call mhl directly. commit 5ee5d678d59cf1deea31126bc886333f1be4571d Author: markus schnalke Date: Thu Mar 22 13:09:14 2012 +0100 Defined show(mime)proc locally and removed their profile entries. Their paths are relative now, too. commit 612e67b21d1c9a6cc5db0e2903ddaeb5f2fbe2a0 Author: markus schnalke Date: Thu Mar 22 12:08:47 2012 +0100 Remove the rcvstoreproc/rcvpackproc vars. commit b1be13a498a0b7b7fbed6ea957ddf765a8d0d8f9 Author: markus schnalke Date: Thu Mar 22 12:04:59 2012 +0100 Removed absolute path from mailproc. The goal is to have as few path names compiled into the binaries. commit f33f12af33361e5d688cd1700c1ee03af5988fd9 Author: markus schnalke Date: Thu Mar 22 11:58:31 2012 +0100 s/lproc/listproc/ commit bec79382afc185947279c0f3c724c5983944ee7f Author: markus schnalke Date: Thu Mar 22 11:51:14 2012 +0100 Removed the now unused incproc var. commit d36e56e695fe1c482c7920644bfbb6386ac9edb0 Author: markus schnalke Date: Thu Mar 22 11:46:47 2012 +0100 mhmail: Don't invoke inc when called without arguments. We can't provide a full mailx-replacement anyways. By magically invoking inc(1), we likely confuse the user. Instead tell him that he can invoke inc(1) himself. This doesn't mess with the important property: mhmail is a mailx replacement for scripts to send mail. commit be0ae81623aea2eca09b8faf699b4b407f527267 Author: markus schnalke Date: Thu Mar 22 11:18:00 2012 +0100 Updated the INSTALL file. commit 068380df11432a5341882e658ec9cf5c0b54721d Author: markus schnalke Date: Thu Mar 22 11:03:52 2012 +0100 Removed the `mhbuild' indirection via `buildmimeproc'. We expect BINDIR to be in PATH if one executes mmh programs. commit 865335e03bab5e0ceb47a4d20564c3afb3de30c4 Author: markus schnalke Date: Thu Mar 22 10:56:46 2012 +0100 Querying the pager here is not necessary. commit f85f4b7ae62e3d05a945dcd46ead51f0a2a89a9b Author: markus schnalke Date: Thu Mar 22 10:52:49 2012 +0100 Rework of Editor/defaulteditor, similar to Pager/defaultpager; new env vars. The priority order is: MMHEDITOR (env) > Editor (profile) > VISUAL (env) EDITOR (env) > vi commit 0c4214ea2aec6497d0d67b436bbee9bc1d225f1e Author: markus schnalke Date: Thu Mar 22 10:18:23 2012 +0100 moreproc is now Pager/defaultpager; removed -moreproc flags; added env vars. The priority order is: MMHPAGER (env) > Pager (profile) > PAGER (env) > more commit 9e9e918ec2a607aca26253fe945ea9569475aae3 Author: markus schnalke Date: Thu Mar 22 09:00:22 2012 +0100 slocal: Updated man page to recent change. commit 4c0c2fb7766546cb466f05f76e5febd5d8f682e0 Author: markus schnalke Date: Thu Mar 22 08:49:57 2012 +0100 slocal: Don't remove $PATH from env. Now execvp() searches as expected. Stripping the environment may rather keep the user from doing sensible things than it increases the security. Maybe we shouldn't strip it at all. commit 7456ca0a9639bfb73899b721fe66323d90277160 Author: markus schnalke Date: Thu Mar 22 07:51:27 2012 +0100 slocal: must not read profile (indirectly through m_mktemp2()). commit cde17f8d38bf9306df4706ac2acb528a2a686a29 Author: markus schnalke Date: Thu Mar 22 07:40:35 2012 +0100 slocal: use mhetcdir instead of NMHETCDIR. commit d709572c12437b406a4685f04b4131f160687280 Author: markus schnalke Date: Wed Mar 21 21:59:15 2012 +0100 Ignore distribution tarballs in the git status listing. commit 5fbf37ee68e018998ada61eeab73e035b26834b6 Author: markus schnalke Date: Wed Mar 21 20:47:48 2012 +0100 On today's systems fork() will hardly fail, thus removed the fork retry loops. commit 75a3bc56e890a9ca5e25f194acbb574e942de5c5 Author: markus schnalke Date: Wed Mar 21 20:43:27 2012 +0100 Minor refactoring. commit e0422dfed4d6d236e5298cea579587870b83384a Author: markus schnalke Date: Wed Mar 21 20:27:03 2012 +0100 Rework in dist tools: removed -file switch; don't fork(); refactoring. commit 33b33a0ac8a3f8f05c9bb0195c100306c00cce35 Author: markus schnalke Date: Wed Mar 21 17:50:59 2012 +0100 mh-format.man5: Restored the warning placeholder. We must have lost it somewhen. commit af675ccd40b7a3d92043e12cac0cdde8484f7cee Author: markus schnalke Date: Wed Mar 21 17:44:36 2012 +0100 configure.ac: Don't check for vfork and wait3 when we don't use them (anymore). commit 43beef6d732261080a1d9d63175ad5af9043df69 Author: markus schnalke Date: Wed Mar 21 17:03:53 2012 +0100 Removed unused code. commit 83e04675b53374a1436029a367283d6d4ee05a07 Author: markus schnalke Date: Wed Mar 21 16:54:24 2012 +0100 Removed support for UUCP bang path addresses. If you still rely on UUCP, use nmh, not mmh. commit 205e60873e26bb542945dc2c48d7385af84ba120 Author: markus schnalke Date: Wed Mar 21 16:25:08 2012 +0100 Made DUMB the default and removed the the #ifdefs. DUMB had been the default and forces MH to use a full RFC 822 address parser instead of guessing on addresses. commit cc106b2d1d396a1d0b2554052d61b5af46cb252d Author: markus schnalke Date: Wed Mar 21 16:06:32 2012 +0100 Removed the not-used REALLYDUMB config option. commit 41b06dfc782cec511142f99db9cb6ae7c2b94fb9 Author: markus schnalke Date: Wed Mar 21 16:04:10 2012 +0100 Removed the not-used FIX_NON_Y2K_COMPLIANT_MUA_DATES config option. commit e954d689b5adafa4ec74e7dbd1e087dbf998f6d6 Author: markus schnalke Date: Wed Mar 21 15:59:09 2012 +0100 Made the RPATHS config option the default and removed the #ifdefs. commit e711cf1c50af5e151a721f6f1690474bc9ef658d Author: markus schnalke Date: Wed Mar 21 15:52:15 2012 +0100 Slocal uses rcvpack now. Code beautification in slocal. commit 39d862d5f0ba0258707ef5a74cff63243f58e425 Author: markus schnalke Date: Wed Mar 21 14:25:55 2012 +0100 Renamed the mbx_* functions to mbox_*, because mbx is another mail box format. commit ca1023716d4c2ab890696f3e41fa0d94267a940e Author: markus schnalke Date: Wed Mar 21 11:38:23 2012 +0100 packf prints to stdout now. commit ef1216bc36bd48ceb7549ae76aa7c26e3be4d9e4 Author: markus schnalke Date: Wed Mar 21 11:19:50 2012 +0100 If rcvpack missed file argument, it prints to stdout; Removed unused code. The mbox variant we use is called `mboxo'. commit a3f1c902eb75f91ebbf0129d6e4f0e42477bb9cc Author: markus schnalke Date: Wed Mar 21 09:43:45 2012 +0100 Makefile: inc does not depend on dropsbr. commit 06dc4fe836de4957b5d6e7e3a7ce5de85c11db8f Author: markus schnalke Date: Tue Mar 20 23:10:29 2012 +0100 Makefiles: s/nmh/mmh/; fixed generation of mmhdist. commit ffe93d6dc707aaf92529cefb38a1814956b48c9e Author: markus schnalke Date: Tue Mar 20 22:51:04 2012 +0100 Replaced mkinstalldirs with `mkdir -p'. commit ae4273126b4b7b8ebaa1454630c1b632eba8cec9 Author: markus schnalke Date: Tue Mar 20 22:12:51 2012 +0100 Minor refactoring. commit 5e562b27955c06ac45be72ce82e30fe278e76b05 Author: markus schnalke Date: Tue Mar 20 21:58:17 2012 +0100 Ensured clean uninstall. commit 426543622b377fc5d091455cba685e114b6df674 Author: markus schnalke Date: Tue Mar 20 21:39:17 2012 +0100 A bit refactoring. commit 88a0787554de9c618e657c31940e734178a25730 Author: markus schnalke Date: Tue Mar 20 21:07:58 2012 +0100 anno: Undid the ``preserve argument hack''. commit 0a6e4d979566bc9eae772e37d2577bed1aacef92 Author: markus schnalke Date: Tue Mar 20 19:26:48 2012 +0100 Updated the BUGS sections in the man pages. I expect users to know that they might need quoting in the shell. commit 43ea5347b6b445d926082d6e3c1ddec376e8692d Author: markus schnalke Date: Tue Mar 20 19:06:44 2012 +0100 s/nfs/fmtstr/ and s/c_nfs/c_fstr/ in uip/mhl.c commit 6b80b3bb772e2cf9186cf964bf78109b677e1bef Author: markus schnalke Date: Tue Mar 20 18:02:32 2012 +0100 scan(): Replaced explicit noisy parameter with implicit nfs check. nfs is the ``new format string'' if it is NULL, we don't (and actually can't) print a scan line. commit 51d0e643f8daeb2db8de0a3d31d7d7f038b48380 Author: markus schnalke Date: Tue Mar 20 17:36:02 2012 +0100 Removed special `folder' and `dtimenow' format escapes from scan listings. Also removed the unused parameter `size'. commit e6c75593757a6edb5eb8e98bfc50f0c1de36bf2f Author: markus schnalke Date: Tue Mar 20 16:14:53 2012 +0100 Removed internal version of fputs(). commit cd1299b02c2fbe61f408a8387402494364688337 Author: markus schnalke Date: Fri Mar 9 17:04:46 2012 +0100 Fixed paths (libdir->bindir); removed the now unused libdir reference. commit b26456a751067ad3182e9897966aae2363873585 Author: markus schnalke Date: Fri Mar 9 13:27:35 2012 +0100 Moved conflict, rcv*, slocal, spost from libdir to bindir. We should not hide them from the users. commit 4b5944268ea0da7bb30598a27857304758ea9b44 Author: markus schnalke Date: Fri Mar 9 12:25:06 2012 +0100 Added new helper `print-mimetype' and added Mime-Type-Query to man page. Print-mimetype is useful if you don't have GNU file(1). commit 064527f7b57ab050e5af13e15ad99aeeab125857 Author: markus schnalke Date: Mon Feb 13 14:16:45 2012 +0100 Removed support for Encrypted: headers, which were removed in RFC 2822. This is a relict from RFC 822. commit 5a54c825a4c672e712e40c4c5ed0f0883fc99913 Author: markus schnalke Date: Mon Feb 13 13:58:13 2012 +0100 Trivial whitespace changes. commit 3eaeef7c3cf27aa9d715e20ebb72982406ab1d53 Author: markus schnalke Date: Mon Feb 13 13:51:53 2012 +0100 Now, spost should be quite usable. Make use of m_mktemp2(), like elsewhere in the mmh code base. Various rework of the Bcc handling code. Still to do: - Fcc handling needs improvements. - Draft files for Bcc recipients are left existing in /tmp. commit 4c513fd6ebd0f1b08b8f9504b6d6c8aef2351d4a Author: markus schnalke Date: Sun Feb 12 17:49:57 2012 +0100 Various rework in spost. - Removed some unused flags. - Don't care for multiple Subject: headers. They aren't allowed. - Correctly handle headers that are folded before the first word of the value. - Outsourced code from putfmt() into new process_fcc(). commit 80eeca1af5bc5120d9aeef933c2e162c382c9d29 Author: markus schnalke Date: Sun Feb 12 16:45:26 2012 +0100 Changed the Fcc handling code in spost. Both, the new as well as the old approach have their limitations. I'm far from confident with the new approach. At least it's simpler. It should be good enough for now. commit fcde9624e6832e0dcdc6f21996b69b7e58745e3d Author: markus schnalke Date: Sun Feb 12 12:31:01 2012 +0100 Temporary state of spost rework: Things should work if you don't use Bcc: hdrs. The simple changes: Removed -[no]filter and did some minor refactoring. The complex changes: First steps in reworking the Bcc-related code. Don't use Bcc: headers with this state of code. They simply are ignored. commit 3e1e29cd0fdaf54117d35f27525fb440e854ed0e Author: markus schnalke Date: Sat Feb 11 22:29:39 2012 +0100 Now truly: Removed the unused variable mhlforward. commit df3babef6d532cbd6e5b508b168d096ab9db2122 Author: markus schnalke Date: Sat Feb 11 22:28:00 2012 +0100 Revert "Removed unused mhlforward var." It had been the wrong variable... This reverts commit 4fbe60b6406be5253f50cc35b9d10e11f244da6f. commit 4fbe60b6406be5253f50cc35b9d10e11f244da6f Author: markus schnalke Date: Sat Feb 11 22:24:21 2012 +0100 Removed unused mhlforward var. commit b6d09bd20c57ba338690651d5922c724568bc7a0 Author: markus schnalke Date: Sat Feb 11 22:22:09 2012 +0100 Added absolute path to match the common style. commit 3ba5286b78e674fe931790db49d207e12a45fd3c Author: markus schnalke Date: Sat Feb 11 22:16:56 2012 +0100 Removed unused stuff from makefile. commit a1cae878ec58748fd8d602178fe279bf6116931d Author: markus schnalke Date: Sat Feb 11 22:02:27 2012 +0100 Removed unused catproc. commit fb0594cb913cab5e14e2c295b79eb48cc675bbbf Author: markus schnalke Date: Sat Feb 11 20:18:43 2012 +0100 Made show(1) the default lproc. `list' and `display' changed a bit. Already in 1984, MTR stated, that lproc should be show. I agree with him on this point, but I strongly disagree there: ``if lproc is "mhl", use mhlproc for consistency''. I thus removed this part and even more around it. The code became simpler but additional arguments to `list' and `display' are not recognized anymore. That won't be much inconvenience. commit 0073224c28bf81dad1812d406bb9915b24b23eb6 Author: markus schnalke Date: Sat Feb 11 11:53:04 2012 +0100 Removed the -width option from ap and dp. Always print the whole string now. commit cebc12618d19409a25e332eef13e825df15a9bc2 Author: markus schnalke Date: Sat Feb 11 11:29:26 2012 +0100 Removed the now unused SOprint(). commit 27826f9353e0f0b04590b7d0f8f83e60462b90f0 Author: markus schnalke Date: Sat Feb 11 11:17:53 2012 +0100 Merged picksbr.c into pick.c. commit aa2b40c1486629abb9cc4628f38f0ce88be05ed6 Author: markus schnalke Date: Fri Feb 10 19:46:18 2012 +0100 Removed now unused dependencies (distsbr.o) in makefile. commit 5b9d883db0318ed2b84bb82dee880d7381f99188 Author: markus schnalke Date: Fri Feb 10 17:10:48 2012 +0100 Removed any knowledge of a screen length from mhl. Pagination is to be done by some pager. commit 943765e7ac5693ae177fd8d2b5a2440e53ce816e Author: markus schnalke Date: Fri Feb 10 16:43:55 2012 +0100 Removed the -clear switch from mhl. This stuff is the task of the pager, not the one of the formater mhl. commit e11983f44e59d8de236affa5b0d0d3067c192e24 Author: markus schnalke Date: Fri Feb 10 16:18:22 2012 +0100 Removed the -bell option from mhl. commit dee26acad9bca6aec7dca5c428b07a386909081b Author: markus schnalke Date: Fri Feb 10 16:05:20 2012 +0100 moreproc will always be set in config/config.c, thus eliminated the ISTTY case. commit b7764c4a6b71d37918a97594d866258f154017ca Author: markus schnalke Date: Fri Feb 10 15:42:19 2012 +0100 Removed the check for hardcopy terminals. There won't be any today. If you though do have one, then set moreproc to cat. commit 39e87a75b5c2d3572ec72e717720b44af291e88a Author: markus schnalke Date: Fri Feb 10 15:33:50 2012 +0100 Removed the -nomoreproc switch from mhl, show, mhshow. We'll go for always having a moreproc after mhl. If you just want to cat out, then use `-moreproc cat'. mhl's very basic paging facility will be removed. commit d1da1f94ce62160aebb30df4063ccbc53768656b Author: markus schnalke Date: Fri Feb 10 15:12:59 2012 +0100 Merged mhlsbr.c into mhl.c. Also removed the unused function mhlsbr(). (It had been used by msh.) commit 41f62fc47ef6f2d223b7584b3bb912e65a630445 Author: markus schnalke Date: Fri Feb 10 14:54:26 2012 +0100 show: Special-cased -show(mime)proc for mhshow: it needs msgs not file args. A similar test had already been there before the last rework. commit 2d2016f0dfc9e036549ff035f0ae897c9b2d5fe4 Author: markus schnalke Date: Fri Feb 10 14:25:28 2012 +0100 show: Never call internal mhl(); always construct absolute argument paths. We don't want those fat binaries that call internal versions of unrelated tools. I.e. we do want modularization! No, fork() and exec() aren't too expensive ... but heavily interweaved code is! commit 0b40f7c1c35770622511eda71ec5353784ea1dc6 Author: markus schnalke Date: Fri Feb 10 12:00:28 2012 +0100 scan: Don't fflush manually. Let stdio care for this. Common stdio implementations flush stdout-on-TTY automatically on newline. commit e57b17343dcb3ff373ef4dd089fbe778f0c7c270 Author: markus schnalke Date: Fri Feb 10 11:55:48 2012 +0100 Removed the -clear switch from scan(1). If you want to have a clear or form-feed, call `clear' or `printf "\f"' at the shell level. Anyway, what's the sense of a clear *after* the scan output? commit 0a391e0c2c1509a98286212405c7bb8237cdaa12 Author: markus schnalke Date: Fri Feb 10 11:14:13 2012 +0100 Minor fix in man page. commit d7a8824aeaf72569a43d2a5f19d87af1a63d289b Author: markus schnalke Date: Fri Feb 10 11:13:25 2012 +0100 Updated shell completion files to recent changes in the programs. Well, some of the changes were not so recent. commit 14767c94b3827be7c867196467ed7aea5f6f49b0 Author: markus schnalke Date: Fri Feb 10 10:56:19 2012 +0100 Removed rcvtty. Its use cases disappeared over time. And as asyncron notifications rip you out of your working flow, you usually don't want to have them. If you need this function though, then you can make use of write(1). commit 70294f36748ac18c98cb5c3941baf72a9cba88d3 Author: markus schnalke Date: Fri Feb 10 10:33:23 2012 +0100 Updated man page to recent changes. commit f51956be123db66b00138f80464d06f030dbb88d Author: markus schnalke Date: Fri Feb 10 10:20:47 2012 +0100 Removed `-format string' switches but made -form accept `=formatstring'. For all tools that take `-from file' or `-format string' switches, those were merged: `-format string' went away, but one may supply any such string to the -form switch by prepending it with an equal sign `='. Thus scan -format '%(msg) %{from}' is now written as scan -form '=%(msg) %{from}' Note: mhl isn't adjusted this way, yet. It's too complex to be understood by me, now. Thus, it still remains as it was: Any parameter to -form will be interepreted as a filter *file*. As show and mhshow use mhl, they are affected, too. In the same go: Compactified the new_fs() function: folded the arguments. commit 84c6039eb7226c0ba0a8f708205e33d10950d2ae Author: markus schnalke Date: Thu Feb 9 21:22:35 2012 +0100 Replaced open_form() with new_fs() for the last time and dropped the function. commit 4150402bbbee49b71286c9d278b5e7e9a5401bc2 Author: markus schnalke Date: Thu Feb 9 21:12:58 2012 +0100 Fixed dist(1): The link() must fail, because m_mktemp2() creates the file. I've decided to take the easy way: simply copy. commit 003cacd23c8f80054990c5ad3303f9a115241583 Author: markus schnalke Date: Thu Feb 9 20:48:26 2012 +0100 Replaced open_form() with new_fs() in forw.c. commit a0b824f146a18ad99633addede9e81a470d4cb59 Author: markus schnalke Date: Thu Feb 9 19:31:44 2012 +0100 Augmented new_fs() with an additional argument for a default form. This balances the arguments: user-form, user-string, def-form, def-string. In comp.c I've already replaced open_form() with new_fs(). forw.c and dist.c are to follow. commit 2d48b455c303a807041c35e4248955f8bec59eeb Author: markus schnalke Date: Thu Feb 9 19:08:37 2012 +0100 Removed the interactive prompt from comp when disposing an existing message. It became useless in the restructuring of the draft facility but remained until now. Also refactored this part of the code. commit 9d869b3c9748df468f2977807781315258e83f24 Author: markus schnalke Date: Thu Feb 9 18:06:58 2012 +0100 Cosmetic refactoring in fmt_new.c. commit e40215969ef46d66423bdf9f9d7b27da44fe676b Author: markus schnalke Date: Thu Feb 9 17:48:03 2012 +0100 Updated mh-chart(1) for spost. The man page post(8) still waits to be replaced by one for spost(8). commit f3cb7cde0e6f10451b6848678d95860d512224b9 Author: markus schnalke Date: Thu Feb 9 17:38:27 2012 +0100 Removed -format and -filter from send(1); they were just passed to (s)post(8). -(no)format switches normalization of addresses on/off. If spost would support address normalization, then it should be always enabled or disabled. But as spost doesn't support it it's a no-op in mmh anyway. -filter is for generating non-MIME messages for Bcc recipients. We'll use MIME in this case ... as soon as this code is written. Note: spost is still lagging behind the current development. commit 67411b1f95d6ec987b4c732459e1ba8a8ac192c6 Author: markus schnalke Date: Thu Feb 9 17:22:52 2012 +0100 repl: renamed -noformat to -nofilter; removed -format; default to -filter. The new default: Filter with the default filter file. commit 0ddc6c965ef307ff93f4fa642949d3130a700f9d Author: markus schnalke Date: Thu Feb 9 16:51:27 2012 +0100 repl: Changed the meaning of -mime: It's now orthogonal to -format/-filter. See changes in man page repl(1) for explanations. commit 81744a46ac9f845d6c2b9908074d269275178d2e Author: markus schnalke Date: Thu Feb 9 16:25:08 2012 +0100 Merged replsbr.c into repl.c. commit b9c033e20a676470ec3ead90654ee13f99fd85bc Author: markus schnalke Date: Thu Feb 9 16:14:46 2012 +0100 Added a note about formataddr(), because this had confused me. commit 88d0e7601d67f8212791482433dcda4cb9d3eaac Author: markus schnalke Date: Thu Feb 9 15:47:14 2012 +0100 Removed the -fcc switch from repl(1). None of comp, dist, forw has it, why should repl then have it? It likely had been added as the replcomps are not just copied but processed. It had been quite easy to add this feature but nobody went far enough to process components, distcomps, forwcomps as well to be able to have such an -fcc switch for those tools as well. commit 51676eb43e6b8aced3a78f45f84ae146c046a5f0 Author: markus schnalke Date: Thu Feb 9 15:31:20 2012 +0100 Minor cleanups. commit 451a4d8564d347d126725760c2e20d924ec29dc0 Author: markus schnalke Date: Thu Feb 9 15:29:53 2012 +0100 Moved mhl(1) from libdir to bindir. The user should be able to use this tool normally, without inconveniences. commit 6e271608b7b9c23771523f88d23a4d3593010cf1 Author: markus schnalke Date: Thu Feb 9 15:06:49 2012 +0100 forw(1) does always MIMEify now. Removed the -(no)mime, -(no)format, -filter switches. If you like to forward messages in non-MIME format, then manually read in the output of: mhl -forwall -form mhl.forward `mhpath MSGS...` Digest do get MIMEified too. To send non-MIME digests use: mhl -forwall -from mhl.digest -digest X -volume Y -issue Z `mhpath ...` commit 8d102acadc29635b951f7e113c49d9ea686c7b2d Author: markus schnalke Date: Thu Feb 9 14:00:37 2012 +0100 Removed the -file switch from forw(1). commit a00b90d9bf60cd3e6855a7632ee70cafb51c6327 Author: markus schnalke Date: Thu Feb 9 13:51:11 2012 +0100 comp(1) has no -file switch anymore. commit a156e770d2b1f11e794d7b5eae8db1c4856933d4 Author: markus schnalke Date: Thu Feb 9 11:58:47 2012 +0100 Updated man pages: Removed the notice that whatnow could be called internally. This bug had been solved within the previous commits. commit 5387b36c358138244d3ec2615cc26df61838837e Author: markus schnalke Date: Wed Feb 8 22:36:04 2012 +0100 Removed unnecessary dependencies from Makefile (annosbr.o). commit 3caf9e298a8861729ca8b8a84f57022b6f3ea742 Author: markus schnalke Date: Wed Feb 8 22:30:30 2012 +0100 Call anno(1) instead of compiling annosbr.c into send(1). This time we don't even get slower. Not that I'd care for speed ... commit c8195849d2e366c569271abb0f5f60f4ebf0b4d0 Author: markus schnalke Date: Wed Feb 8 21:47:20 2012 +0100 Annotations will always be done inplace from now on. commit 7b300825615f4d13c2c1a1bd0d05462f9708b7e7 Author: markus schnalke Date: Wed Feb 8 21:17:43 2012 +0100 Removed left-overs from the -idanno removal. post (not spost) had written into a temp file those addresses to which it had delivered mail. annoaux() in send had read from this temp file and annotated the original message with each of those addresses. Now, no addresses at all get annotated, but only the date of the action. commit f91306c3767cfdca47dd84ab865947c9dda9a745 Author: markus schnalke Date: Wed Feb 8 20:18:32 2012 +0100 Removed unnecessary prototypes. commit 275c6bc6c87156ea8ce804ae2c7d45e2d9294fe5 Author: markus schnalke Date: Wed Feb 8 20:10:43 2012 +0100 Cosmetic changes. commit 33dc8211a72df0c27fa11220f3b27583cd1c7e49 Author: markus schnalke Date: Wed Feb 8 18:38:54 2012 +0100 Merged h/mts.h into h/prototypes.h. Note: spost.c is not up to date. commit c42222869e318fff5dec395eca3e776db3075455 Author: markus schnalke Date: Wed Feb 8 18:04:44 2012 +0100 Moved sendsbr.c into send.c as it is not compiled into other binaries anymore. commit 66153aae4e74cc270cbdbc48f20284b13fb700fc Author: markus schnalke Date: Wed Feb 8 17:52:49 2012 +0100 Updated .gitignore and removed the unused mts.conf.in. I've forgotten to remove the mts.conf.in some days ago. commit 0e82199cf3c991a173e0ac8aa776efdb3ded61e6 Author: markus schnalke Date: Wed Feb 8 17:46:27 2012 +0100 Replaced sendfiles with a simpler version that uses send instead of viamail. Also moved it from etc/ to uip/. Updated man pages. Note: The splitting of large messages by sendfile/viamail/or elsewhere seems not to be available anymore, although it had been documented in the man page. Either the man pages don't match the code or I've not found this function yet. commit eda72d6a7a7c20ff123043fb7f19c509ea01f932 Author: markus schnalke Date: Wed Feb 8 16:50:47 2012 +0100 Removed viamail. It is pretty much outdated. We can send files as MIME messages better with the new attachment system. commit 5e075c03338adb1e6904f09c2d85d7f04333f07c Author: markus schnalke Date: Wed Feb 8 15:59:16 2012 +0100 comp, dist, forw, repl don't depend on sendsbr anymore. I had forgotten to remove the deps in the makefile. commit 308f5a6147ab19b6cac588d1160010e89d2e6060 Author: markus schnalke Date: Wed Feb 8 15:31:41 2012 +0100 Improved the patch for send(1) to handle absolute path name arguments. See changeset 3df5ab3c116e6d4a2fb4bb5cc9dfc5f781825815 commit 9b4431bb9d1c74c2cd588afd79654a7bf5ce9064 Author: markus schnalke Date: Wed Feb 8 14:58:01 2012 +0100 Fixed mhmail. (It wanted to read the profile to create a temp file.) commit d297b2240c664de09b6d51a07a071aab33c4bf32 Author: markus schnalke Date: Wed Feb 8 14:33:30 2012 +0100 Removed the `-delete' option from the `quit' command at the whatnow prompt. There already is a command `delete' that's equal to the removed `quit -delete'. commit 3df5ab3c116e6d4a2fb4bb5cc9dfc5f781825815 Author: markus schnalke Date: Wed Feb 8 14:24:08 2012 +0100 Separated send from whatnow, similar to the previous commit. Again, I traded execution speed for less (doubled) code, clearer interfaces, and modularization. Oh what an improvement! commit c73c00bfccd22ec77e9593f47462aeca4a8cd9c0 Author: markus schnalke Date: Wed Feb 8 13:42:11 2012 +0100 Always exec whatnow; don't link the code into comp, repl, forw, dist. Although this might slow it a bit down, it makes the boundaries clearer. The main problem for me is the interweaving of the parts in nmh. Let's trade a bit of speed for better modularization. commit 946f59629730dd1683f54d7171ee381208ebe9f0 Author: markus schnalke Date: Wed Feb 8 13:32:06 2012 +0100 Cosmetic changes. commit 3baec236a39c5c89a9bda8dbd988d643a21decc6 Author: markus schnalke Date: Wed Feb 8 11:19:50 2012 +0100 Better mime types for attachments. Use some command; e.g. `file --mime'. Up to now attachments had either been text/plain or application/octet-stream, if one hadn't added mhshow-suffix- profile entries for any possible type. Now we call mimetypequeryproc (default: `file -b --mime' for GNU file), this can be changed with the profile entry `Mime-Type-Query'. This command will be executed with the attachment filename as last argument. If your file(1) command does not print MIME types, you can still grep your profile for matching mhshow-suffix- entries. However, I suggest to store this data somewhere else. IMO the profile is not the right location for it. commit 9c3137c1ca74a287703fdd1d940a1a1cce86e3b2 Author: markus schnalke Date: Wed Feb 8 09:41:03 2012 +0100 Layouting and comment changes. (minor stuff) commit e31729d51e468c4cd56fa049850619a94e53840a Author: markus schnalke Date: Sat Feb 4 16:19:06 2012 +0100 Removed the -backup flag from spost. Post hadn't had it as renaming the draft is done by send. It appears as if it were only there for debugging purposes. commit 736132b163f34ce9eaa5b7604f49961df9f52329 Author: markus schnalke Date: Sat Feb 4 16:12:22 2012 +0100 Improved quoting the fullname. commit ecd6d6a20cb7a1507e3a20d6c4cb3a1cf14c6bbf Author: markus schnalke Date: Sat Feb 4 13:39:32 2012 +0100 Removed the suppress dups feature from slocal for simplicity reasons. Now we don't need dbm anymore. This removed a heavy dependency and complicated configure code. commit d3540eaa4251b3a282115a72ed5d1bb39ce74b3f Author: markus schnalke Date: Sat Feb 4 13:08:51 2012 +0100 Removed mts.conf; the maildelivery option went into slocal directly. The MTS is a non-MUA part of MH, which is/gets removed in MMH. Now, you cannot change the global maildelivery file without changing the code. You stil can specify -maildelivery to slocal. I've also remove support for the env vars MHMTSCONF and MHMTSUSERCONF, which were added by Earl Hood in 2010. We might want to add support for them again. I need to think about the future of slocal anyway. commit 4e38095f027a81c005a48a888d0f8937e98543a5 Author: markus schnalke Date: Sat Feb 4 11:57:16 2012 +0100 Removed the built-in FTP client. That's another of these things that are not the MUA's tasks. There are good FTP clients around, just use one of them. We could provide an external FTP wrapper script around wget or so, to use with nmh-access-ftp. However, I'm not sure how to deal with message/external-body in general. Although this concept is great, I've never seen any such message in all my email life. commit 6a7760a0fa8ccb36a056a7600aab31f3656f7cfa Author: markus schnalke Date: Sat Feb 4 10:51:26 2012 +0100 Refactoring in spost. commit 2abae0bfd0ad5bf898461e50aa4b466d641f23d9 Author: markus schnalke Date: Fri Feb 3 18:42:55 2012 +0100 Removed the last masquerading type: username_extension. If you want some username extension, then change the From: line in the message draft. If you want real masquerading, then consult your MTA. mmh is an MUA, no MTA. (spost hadn't supported username_extension maquerading, anyway.) commit b14ea6073f77b4359aaf3fddd0e105989db9f306 Author: markus schnalke Date: Fri Feb 3 18:28:51 2012 +0100 Removed draft_from masquerading. We're an MUA and should not care for SMTP envelopes at all. commit 0836c8000ccb34b59410ef1c15b1b7feac70ce5f Author: markus schnalke Date: Fri Feb 3 18:07:11 2012 +0100 Removed mmailid masquerading. That's an MTA's task, but mmh is an MUA. commit de448e64862babc8ea92d6ee3f61f68ba3915128 Author: markus schnalke Date: Fri Feb 3 17:02:11 2012 +0100 Removed unused parameter from mbx_copy(). commit 4ab286d12be3ccc5f3000673857b4f69b689c69b Author: markus schnalke Date: Fri Feb 3 12:25:42 2012 +0100 Major bugfix: inc does not lose data anymore. What have I done in 70b2643e0da8485174480c644ad9785c84f5bff4 ? Producing scan listings and inc'ing mail are too closely related. By removing the body component from scan listings, I also had removed the ability to copy bodies during inc. Hence this commit undos the changes. (And reintroduces the body component in scan listings. :-( ) The code is too much interweaved! commit 4d9ffab89f18b962c7d440053079c5f9b00af659 Author: markus schnalke Date: Fri Feb 3 11:16:05 2012 +0100 Removed the -(no)remove switches from spost. I wonder why it existed, as the draft can get printed to stdout with -debug. That should be enough for debugging without modifying source code. commit 60c047ea25679aa76137d3152cc64d10e4244e68 Author: markus schnalke Date: Fri Feb 3 10:50:13 2012 +0100 Comment changes. commit 0b81a300d9e7cf78b6bc11d8c870f57fa81fcdc4 Author: markus schnalke Date: Fri Feb 3 10:42:49 2012 +0100 Fixed abort of e.g. comp when draft folder is empty. In this case mp->lowoff is 1 but mp->lowmsg equal mp->hghmsg equal 0. Hence we have an access at mp->msgstats[-1], which corrupted our mem. Gdb hadn't helped me for this, but valgrind showed me the problem. commit 0bfc482371bf63c4c312c749ba0bfc50483772ba Author: markus schnalke Date: Fri Feb 3 10:15:19 2012 +0100 Syntactic and comment changes. commit 6d71dfbec7c6f3bec1c04d18479a87d63c1120ef Author: markus schnalke Date: Wed Feb 1 00:47:35 2012 +0100 spost: refactoring; removed -(no)format switches as they were not used. commit 5276fe8873c9201f9b4ba8c6fcb5efb3887eab77 Author: markus schnalke Date: Wed Feb 1 00:36:54 2012 +0100 spost: refactoring, added comments, removed unused code commit 70b2643e0da8485174480c644ad9785c84f5bff4 Author: markus schnalke Date: Mon Jan 30 16:16:26 2012 +0100 Scan listings shall not contain body content. Hence, removed this feature. Scan listings shall operator on message headers and non-message information only. Displaying the beginning of the body complicates everything too much. That's no surprise, because it's something completely different. If you want to examine the body, then use show(1)/mhshow(1). Changed the default scan formats accordingly. commit 2759257a7d892584d45cdaf5113da06a264e9c9c Author: markus schnalke Date: Mon Jan 30 14:32:10 2012 +0100 Removed another deprecated mhn check. The comment appeared to be wrong ... maybe inverted. I removed it. commit 58160ee7bcee7dcc7dbf8e2d5377009e48bcf40b Author: markus schnalke Date: Mon Jan 30 14:27:19 2012 +0100 Removed the, in 1997 deprecated, send option -noshowproc and env var NOMHNPROC. commit a4605f68e8ff04d4539e402a6fb00ff188944e1c Author: markus schnalke Date: Mon Jan 30 12:42:06 2012 +0100 Removed -pause from mhshow(1). My goal is to have show/mhshow generate a single stream of bytes to be piped through a pager. Content not convertable to text shall not be displayed directly. This is my idea currently. commit bf5e3d96f882fe51157059787cd658d4a7ddd840 Author: markus schnalke Date: Mon Jan 30 12:00:49 2012 +0100 Bugfix: Removed -reverse switch from scan(1). No more to say but to quote MTR: -[no]reverse under #ifdef BERK (I really HATE this) And JLR: Lists messages in reverse order with the `-reverse' switch. This should be considered a bug. commit f61367c1118de22149e1ddff4a2c2c2437d758f0 Author: markus schnalke Date: Mon Jan 30 11:33:59 2012 +0100 Alias: Removed the address group `*', which meant everyone on the system. Therefore could remove `everyone' and `noshell' from mts.conf. If one really needs to write mail to everyone on the system (not just all regular users, which probably are in a group `user'), then he shurely can invest a bit more effort to do so. Likely, the simple condition to uids > 200 and not the shell `noshell' would anyways be to limited. Better use awk or the like and do it by hand. commit 684ec30d81e1223a282764452f4902ed4ad1c754 Author: markus schnalke Date: Mon Jan 30 11:03:29 2012 +0100 Rest of the MMDF-style mail drop support removal. Only Unix-style (mbox) mail drops are supported now. Their location is in `mailspool', which is reported in the configure summary now. If users like to have different locations, they can use the environment variable MAILDROP or the profile entry MailDrop to overrule the default. From mts.conf, mmdfldir and mmdflfil were removed. msgchk(1) received several cleanups. I touched sbr/m_getfld.c ... Wooohh ... commit a0f6183a0f52f9c0f48ce42b4f10592ceec2b014 Author: markus schnalke Date: Sat Jan 28 20:46:46 2012 +0100 Removed mmdelim[12], which were the delimiters for MMDF-style mail drops. commit 507688ab0777c8274a1fd05775f22b7accbce3b7 Author: markus schnalke Date: Sat Jan 28 20:45:13 2012 +0100 Removed paragraphs which looked like forgotten to remove. commit 3916ab66ad5d183705ac12357621ea8661afd3c0 Author: markus schnalke Date: Sat Jan 28 20:40:31 2012 +0100 Removed support for MMDF-style mail drops. I'm not sure yet if I've removed all of it but it should be most of it. commit d455d79d05331347130d3ab59628c3fd77b87279 Author: markus schnalke Date: Sat Jan 28 18:58:07 2012 +0100 Synced man page mh-chart with send. The man page mh-chart definately should be generated! Automate this task, man! commit 556e1267b7be84fd25c2d52aa754d623889d52ac Author: markus schnalke Date: Sat Jan 28 18:40:02 2012 +0100 Fixed path lookup for alias files: ali, send, whatnow. commit 3a2993ae0a411209ac7d51180c781662139f882b Author: markus schnalke Date: Sat Jan 28 16:05:54 2012 +0100 forw/repl/dist annotations won't add address lists anymore. spost does not support it and I wonder if we need it. Remove the undocumented -idanno switch, actually a no-op, from spost. commit b9b14fd176e7146fb6d37485bb0eecb1753d0e0b Author: markus schnalke Date: Sat Jan 28 15:21:44 2012 +0100 Trivial typesetting fix in man page. commit b872e8606e7880bf1d32e95271493dcd5d8394fa Author: markus schnalke Date: Sat Jan 28 13:35:42 2012 +0100 Removed the ATTVIBUG compile option. If you do have the bug, then workaround it like described in the FAQ: Subject: 06.01 What to do with "Problems with edit - draft removed". From: John Romine Date: Mon, 1 May 1995 00:00:00 -0800 If your users are using an AT&T version of "vi", it's exiting with non-zero status (supposedly a count of the "errors" during the edit). Move "vi" to "broken_vi" and put it its place : #! /bin/sh /usr/ucb/broken_vi "$@" exit 0 Alternatively, compile MH with the ATTVIBUG option. Then complain to your vendor that "vi" is broken, and they shouldfix it. btw: ex-vi does not have this bug. commit 357003235f891fa019995f8bc69e6bd11149a5fd Author: markus schnalke Date: Sat Jan 28 13:10:50 2012 +0100 Removed EISREMOTE check. It's not in POSIX and Google finds only nmh code containing it. Maybe it was some BSD experiment. Who knows. commit 47a78dcb28c6a836574f73f40b05d4adc9c3ad81 Author: markus schnalke Date: Sat Jan 28 13:04:59 2012 +0100 Removed the undocumented -unique switches. Seems they were JLR-only stuff. commit 869aa60129811d7b160f353892dc5956a8aaac22 Author: markus schnalke Date: Sat Jan 28 12:54:36 2012 +0100 Removed the -width switch from send, spost and repl. Adressee header fields will always be folded for OUTPUTLINELEN (=72) chars. commit 4d4f3e6367922ac4237d87ccfb070dbbcb6ff6be Author: markus schnalke Date: Sat Jan 28 12:26:36 2012 +0100 Removed options to deactivate dashstuffing. Always dashstuff. Maybe there are few RFC 934 messages around, but dashstuffing is IMO more useful than bad. commit 875a8bcc360e2cbb611b8163ff3d2234287be3bc Author: markus schnalke Date: Sat Jan 28 12:12:21 2012 +0100 Removed unneeded options from send. Most of them were supported by post but are not by spost. We don't need them. (More about dashstuffing soon.) commit 2c3b7da72126a21f05130e9ed6bb70f43624ce25 Author: markus schnalke Date: Wed Jan 25 22:56:43 2012 +0100 Removed the UCI code to read the signatur (= name) from ~/.signature. If we want to read something from ~/.signature, then those lines that form the footer of a mail message. What is called ``signature'' here is the name of the sender; the name that is put into the From: line. There are already several options to put it: - environment variable: SIGNATURE (to change temporary) - profile entry: Signature: (to set only for the mail system) - GECOS field in passwd (fallback and global) These should be enough. commit 1c6fe69a6025e8249c7ed30af0c2ebe9ff9da4c3 Author: markus schnalke Date: Wed Jan 25 22:38:54 2012 +0100 Removed UCI-specific group leader code from conflict(8). commit 565f869c5ab6d61d372d164058079c6a094707e7 Author: markus schnalke Date: Wed Jan 25 22:36:49 2012 +0100 Removed the UCI alternative name of anno(1): `fanno'. fanno didn't add the date. If you want this, run `anno -nodate'. Hey, you can create a shell alias for it. What about that? ;-) commit c477dc5d1d03fa6d9a8ab3dd3508c63cbddc044e Author: markus schnalke Date: Wed Jan 25 22:29:34 2012 +0100 Removed the -header option from scan(1). The heading had been very simple since the advent of format strings anyway. If someone wants a heading, he can run folder(1) before. commit 3fe7a0704e4ab592003af2e66c3003718ecde2c1 Author: markus schnalke Date: Wed Jan 25 22:21:56 2012 +0100 Removed (allmost all) JLR-specific code. There still is one fragment in fmt_scan(), of which I don't understand the logic. I don't want to remove stuff I don't understand. commit 5d4f603fcfc7cf4a238b27de2b18567a733bb6b4 Author: markus schnalke Date: Wed Jan 25 22:05:07 2012 +0100 Removed LBL compile condition (format: addtoseq). commit 9f9bfa91d88b3ca4cd9206c1f2b17c6d13ebcaba Author: markus schnalke Date: Wed Jan 25 22:00:58 2012 +0100 Removed several `#if 0' fragments. We better don't carry dead code with us, it might start smelling. commit 72d1181d50ccb0b410e3745f4fd3981fd673d647 Author: markus schnalke Date: Wed Jan 25 13:31:36 2012 +0100 Finally fixed the annoying `Invalid cross-device link' problem. Due to a missing slash (/), temporary files were put into the parent directory instead of the same one. See: mhbuild: unable to rename output /home/meillo/Mail/send0zxfDu to /home/meillo/MailmhbuildzQjMUm: Invalid cross-device link commit 1b91fa72064a70b6ecf24c085cead38ff91fedb9 Author: markus schnalke Date: Wed Jan 25 00:04:05 2012 +0100 Updated the man pages to the recent changes. commit f41f04cf4ceca7355232cf7413e59afafccc9550 Author: markus schnalke Date: Wed Jan 25 00:01:51 2012 +0100 Fixed -mime for forw and repl. If the value of an attachment header starts with `+', then it is treated as the specification of a message in MH style: ``+folder msg'' commit dba36faad141d652c7b84d26295537c76fd2b5be Author: markus schnalke Date: Tue Jan 24 20:55:15 2012 +0100 Removed the mime command from whatnow and automimeproc (automhnproc). The man pages need to be updated. repl and forw are broken right now. commit 8ff284ff9167eff8f5349481529332d59ed913b1 Author: markus schnalke Date: Tue Jan 24 20:08:35 2012 +0100 Activated Jon's attachment system by default and steamlined it. I had done similar work already some time ago. See: http://www.mail-archive.com/nmh-workers@nongnu.org/msg02112.html This time it's the second go. I changed Jon's attachment system to have a default attachment header field name, or get it from the profile. I removed the command line options. The new profile name is: `Attachment-Header'. Stored in attach_fmt. I removed the the choice between several attachment formats. A message gets mimeified if it has attachment headers or (and this is new) contains any non-ASCII character. The body won't be scanned for lines matching /^#/. The MIME structure is created automatically. The content-typing of unknown attachments is still poor and needs to be improved. You shouldn't use the `mime' command at the whatnow prompt anymore. commit 6dc010d334b477ad4dee0b1a1d3ee6a6bdb7bd9a Author: markus schnalke Date: Tue Jan 24 16:28:36 2012 +0100 Added a comment and a variable initialization. commit eec22f627f35bfb37d408463c4d810482b0d3dae Author: markus schnalke Date: Thu Jan 5 19:24:20 2012 +0100 Free memory after use in m_draft(). commit d3ba09a465cb0e5fc9a74d0b152a7ed965f895cb Author: markus schnalke Date: Thu Jan 5 19:18:12 2012 +0100 Explicit checks for return values of strcmp(). The return value of strcmp() is unintuitive for string equality tests. I prefer explicit comparisions against 0. I changed this everywhere. commit b0b1dd37ff515578cf7cba51625189eb34a196cb Author: markus schnalke Date: Thu Jan 5 12:26:09 2012 +0100 Removed isprefix() and replaced it with strncmp(). isprefix() had been ssequal(), which had not been what it advertised to be. Now, all this is gone. We could get problems if one of the arguments is NULL, as isprefix() handled this situation, but strncmp() does not. It appears as if this case does not show up in the code. commit 1f958f791cd9ee06e1de07c348555c920772af67 Author: markus schnalke Date: Thu Jan 5 11:56:44 2012 +0100 Removed forgotten unused variable. commit 39cd310f18074231e3400e53f7e5234a8615a87e Author: markus schnalke Date: Thu Jan 5 11:52:03 2012 +0100 Removed the non-LOCALE character code and the #ifdefs and simplified. POSIX says: tolower() won't change its argument if it is not isupper(). And isupper() doesn't need an additional check for isalpha(). commit 99e89d0fcc69e509924b0a14a56e10d15721ccb0 Author: markus schnalke Date: Thu Jan 5 11:28:18 2012 +0100 Refactoring in sbr/m_convert.c commit f3db6244253b548f4196ea5cf41f4bc8d400d0c3 Author: markus schnalke Date: Thu Jan 5 11:19:22 2012 +0100 Reserved special sequence names may be upper case too. Even without LOCALE. commit 452df42b9645e99101184f28518652646ad75ba7 Author: markus schnalke Date: Thu Jan 5 11:11:13 2012 +0100 Much more straight-forward handling of the beyond sequence. Could remove the message flag SELECT_EMPTY in the same go. This frees one more space for a user-defined sequence. commit afd666e21d9a1bd391f037c82b7c097d69e7b2f4 Author: markus schnalke Date: Wed Jan 4 21:04:56 2012 +0100 Various minor cleanups in sbr/m_convert.c. commit 2c8265621a3526d1d6791d28bef778df49501a29 Author: markus schnalke Date: Wed Jan 4 19:36:08 2012 +0100 Removed the unused message flag: DELETED. Now we can store one user-defines seq more. commit 0f56dec07e0eda5042276a5e65cb51ea95c23ff9 Author: markus schnalke Date: Wed Jan 4 18:57:18 2012 +0100 s/ALLOW_NEW/ALLOW_BEYOND/ commit 3cc8ed080f6e741b8df04a3ebe764c659e75cb38 Author: markus schnalke Date: Wed Jan 4 18:29:23 2012 +0100 Renamed all standard sequences (e.g. cur->c) and made them globally changeable The full list: cur -> c first -> f last -> l next -> n prev -> p all -> a new -> b (mnemonic: one beyond the last) They are globally changeable in config/config.c Could be that I'll add the old names again, as convenience aliases. commit a7771fd2e83d64228fb675749fc936151249dbd3 Author: markus schnalke Date: Wed Jan 4 14:49:09 2012 +0100 Inverted the second arg of seq_setunseen(), to be more natural. commit 4b48c047da7d65a6d8db0b88becccdf520bd1f9c Author: markus schnalke Date: Wed Jan 4 14:46:58 2012 +0100 Another fix for the strchr() transition: Check for NULL arguments. Is now the point to reintroduce the brkany() helper? Hmm... commit db74c2bd004b2dc9bf8086a6d8bf773ac051f3cc Author: markus schnalke Date: Wed Jan 4 12:35:19 2012 +0100 Activated default sequence negation (exclamation mark). commit c2360569e1d8d3678e294eb7c1354cb8bf7501c1 Author: markus schnalke Date: Wed Jan 4 12:04:44 2012 +0100 Activated a default unseen sequence; updated man pages to it. commit 909cdf33782fb9803b8e18f7f378bfcec21e4b15 Author: markus schnalke Date: Wed Jan 4 11:16:12 2012 +0100 Fixed bug in brkstring(), newly introduced by the switch to strchr(). strchr() treats the trailing null byte surprisingly: ``The terminating null byte is considered to be part of the string.'' commit 83bc095e820728da7dfe22d2f95962660c79de03 Author: markus schnalke Date: Wed Jan 4 10:06:51 2012 +0100 Globally defined the names for the standard sequences. I'll rework the whole code to use them and not have hard-coded names anymore. The `new' sequence will be called `beyond' sequence (`b') from now on. The `unseen' sequence will be set by default to `u' from now on. The sequence negation will be set by default to `!' from now on. commit b25e57753f3f4fb3fdde4240e0f617ef8dbea043 Author: markus schnalke Date: Wed Jan 4 09:54:43 2012 +0100 sbr/brkstring.c: replaced static brkany() with call to strchr(); plus cleanups commit 026d896175424fed9b9d87c93b6c2fa49f0dc7ec Author: markus schnalke Date: Tue Jan 3 07:14:24 2012 +0100 Fixed minor typo in man page. commit c840e9f3c212b901300df2a8ec12fd359fb85a7f Author: markus schnalke Date: Tue Jan 3 06:41:27 2012 +0100 Removed remaining lines from the --with-pager=... removal, months ago. commit 40821f5c1316e9205a08375e7075909cc9968e7d Author: markus schnalke Date: Tue Jan 3 06:36:30 2012 +0100 s/vfork/fork/ I truly believe that vfork is wrong. Forking should not be too slow for us. commit 5b792c4424571f05bc2008e3109797d18d7d00d1 Author: markus schnalke Date: Tue Jan 3 06:16:30 2012 +0100 Relayouted all switch statements: case aligns with switch. Desired style is: switch (n) { case foo: ... } commit 8e5be81f784682822f5e868c1bf3c8624682bd23 Author: markus schnalke Date: Mon Jan 2 14:54:05 2012 +0100 Removed ``Face'' support in mhl. It appears to be about `Face:' headers, but neither Jerry Peek, nor Ken Hornstein knew more. commit fd00a3b030ab9d854eac79641f7bf25e6538acc1 Author: markus schnalke Date: Mon Jan 2 11:50:35 2012 +0100 Removed references to unused default procs and commented config/config.c commit 6c75e2f0f00732488aa03b967713d95037edd895 Author: markus schnalke Date: Mon Jan 2 11:20:00 2012 +0100 Removed the configuration option NOPUBLICSEQ. You can change it still, by setting mh_seq to NULL in config/config.c. commit f12a3e5036a986f579b80861f4421bcb86f84cee Author: markus schnalke Date: Mon Jan 2 10:57:24 2012 +0100 Renames: s/+outbox/+sent/ and s/cc:/Cc:/ IMO ``sent'' specifies more exactly what it contains. ``outbox'' would mean to me that these messages are prepared for delivery, but are not already sent. commit 0b5de876d3d1f915e6485a249f3e65749b437709 Author: markus schnalke Date: Mon Jan 2 10:20:49 2012 +0100 Updated INSTALL and changed `nmh' strings to `mmh' commit 5aaedc4256d58afe2481d667afdcb5162a914ba9 Author: markus schnalke Date: Fri Dec 23 12:09:55 2011 +0100 Reworked the man page system and some man page contents (mmh-intro). Now it's possible to have two equally named pages in two different sections. This appeared to be interesting for mmh(X), but I don't use it now. Let's see if we keep the new system or even rework it to become simpler. commit 2676fdf95667cfa0fec45372dbb956c8645c1119 Author: markus schnalke Date: Fri Dec 23 09:00:59 2011 +0100 Be quiet! Only talk if you have something useful to say. commit cba433a5b67a0eeb8b42663cd6be7d763505462e Author: markus schnalke Date: Fri Dec 23 08:32:41 2011 +0100 Adjusted Makefile to the rename: etc/scan.default -> etc/scan.nmh commit 363190329760d38060e89956206583831b0d084d Author: markus schnalke Date: Fri Dec 23 08:32:08 2011 +0100 Updated all man pages and renamed install-mh.man to mmh.man. commit 849bead2b2f3f202280353636716ec7e83fc5645 Author: markus schnalke Date: Fri Dec 23 08:13:22 2011 +0100 Unimportant stuff. commit f387b393dfab5cb5c00974b1807e8633531e0774 Author: markus schnalke Date: Fri Dec 23 08:12:20 2011 +0100 Replaced C program `install-mh' by shell script `mmh'. It is updated to the separated directories. commit 7030d7edb099bff36ded7548bb5380f7acab4f9b Author: markus schnalke Date: Fri Dec 23 08:00:58 2011 +0100 Split nmh dir into mmh dir (~/.mmh) and mail storage (~/Mail). The profile (~/.mh_profile) became (~/.mmh/profile). The idea was to separate the configuration files and the data (= messages). The environment variables changed accordingly: MH -> MMHP (profile) MHCONTEXT -> MMHC (context) new: MMH (mmh dir) mh-install is not adjusted, yet. commit 8971a6f1301b3220c4d4b7e729772420cfcd2b53 Author: markus schnalke Date: Tue Dec 13 14:20:32 2011 +0100 Fixed bug, reported by Phil: Profile entry Draft-Folder was case sensitive. The components in the profile should be matched case*in*sensitive, always. commit a3ba584be2a9daf451bbe3c488d73703d14e8d53 Author: markus schnalke Date: Tue Dec 13 14:19:40 2011 +0100 Cleanup in m_draft. There was some confusingly unnecessary code. commit 8758071f649ab5b469ca183a8c011d44e41951e2 Author: markus schnalke Date: Tue Dec 13 13:10:15 2011 +0100 Minor change in output message commit fce8a87e8a4a443a08a98b24eef270451a63fab8 Author: markus schnalke Date: Mon Dec 12 14:09:44 2011 +0100 Removed the global alias file Either use personal alias files or the MTA alias file. commit b4c29794c12099556151d93a860ee51badae2e35 Author: markus schnalke Date: Mon Dec 12 13:38:51 2011 +0100 Moved etcpath() from config/config.c to sbr/path.c commit ff99b7b6299a8ebe433a31f7bf15b158e9dcdea8 Author: markus schnalke Date: Fri Dec 9 22:12:34 2011 +0100 Code cosmetic commit c20e315f9fb9f0f0955749726dbf4fd897cd9f48 Author: markus schnalke Date: Fri Dec 9 21:56:44 2011 +0100 Adjusted the default scan listing: remove the body preview The original listing is still available as etc/scan.nmh commit 7a5e53498290dc876ee21feff9611c4640fabec4 Author: markus schnalke Date: Fri Dec 9 21:26:54 2011 +0100 Code cosmetics commit 7e3bc577e84e13a47005a706718bd6ec0e6a0e0a Author: markus schnalke Date: Fri Dec 9 18:44:19 2011 +0100 We have `NULL' in order to not need to write `(char *)0' anymore. commit 246ca516a0f7b870316116bc184347b0fb2bc00b Author: markus schnalke Date: Fri Dec 9 18:34:39 2011 +0100 Removed void casts for ignored return values of function calls. IMO, this distracts from the important without being much worth. commit 552fd7253e5ee9e554c5c7a8248a6322aa4363bb Author: markus schnalke Date: Fri Dec 9 18:21:27 2011 +0100 We don't want to use copy() anymore; but kept it for concat() only commit 682962d94b21e120c78a52a8bdcb6aa994330a14 Author: markus schnalke Date: Fri Dec 9 18:11:10 2011 +0100 s/pfolder/curfolder/g commit cff0e16925e7edbd25b8b9d6d4fbdf03e0e60c01 Author: markus schnalke Date: Fri Dec 9 17:32:28 2011 +0100 "." is no longer an alias for "cur" Don't fear more typing, as "cur" will soon be cut down to "c", likewise the other predefined sequences. commit aa2bd5081731e83a2cedba6f7f2be61cde201e7d Author: markus schnalke Date: Fri Dec 9 17:17:50 2011 +0100 Removed the option to disable `~user' support (MHRC) commit d39e2c447b0d163a5a63f480b23d06edb7a73aa0 Author: markus schnalke Date: Fri Dec 9 16:34:57 2011 +0100 Completely reworked the path convertion functions Moved everything (from sbr/getfolder.c and sbr/m_maildir.c) into sbr/path.c, but actually replaced the code almost completely. See h/prototypes.h for the function changes. sbr/path.c provides explaining comments on the functions. None of them allocates memory automatically. Additionally: - Like for other ``files'', `inc -audit file' places file relative to the cwd, not relative to the mh-dir. This is for consistency. - Replaced add(foo, NULL) with getcpy(foo), which ist clearer. commit 6e8aba3714fe8ffc21dbb75ea9efdc41ab87b07f Author: markus schnalke Date: Mon Nov 21 11:29:03 2011 +0100 Cosmetic refactoring commit 5048c3273f8780b3d73e81d0ea5b434f53a83f9f Author: markus schnalke Date: Sun Nov 20 21:19:43 2011 +0100 Cosmetic change commit 70b12e63eda23f816d3c5330d2df4fb6c5b66a58 Author: markus schnalke Date: Sun Nov 20 21:17:44 2011 +0100 Cosmetic change commit 137b1ac9efd8d566e03708b74fe3f9d8d5c266f8 Author: markus schnalke Date: Sun Nov 20 21:14:29 2011 +0100 Added comment commit 8041c8a4001e576d7600efaaf6628a791263490d Author: markus schnalke Date: Sun Nov 20 21:13:07 2011 +0100 Simplification: Removed unnecessary variable commit 3d78b9c80a95f4e7885ed607018f9b1b9be559b4 Author: markus schnalke Date: Sun Nov 20 12:38:17 2011 +0100 The existence of the profile entry Path is already enforced by context_read(). Hence, removed the obscure ``free(path("./", TFOLDER));'' calls. Still I don't see the sense in these lines, but they won't get executed, as the condition is checked before (and the program aborts then). Probably that's obsolete stuff that remained through several reworks. commit cadeb41388928c84e39842b6a45d1bdce1773ad4 Author: markus schnalke Date: Sat Nov 5 19:07:47 2011 +0100 Code reformating. commit 5bfae54a3c9f2be059454d04875ba66fcbf1e6d4 Author: markus schnalke Date: Sat Nov 5 18:40:23 2011 +0100 Improved pluspath() and used it instead of path() where appropriate. commit 32c2ca5c95ce1e43c158c28722097bcd2304eef2 Author: markus schnalke Date: Sat Nov 5 18:13:17 2011 +0100 Refactored sbr/getfolder.c commit 097c84b61603c4a4c5837f3dcc09c30a1e751702 Author: markus schnalke Date: Sat Nov 5 17:56:07 2011 +0100 Introduced FDEF and FCUR for speaking arguments to getfolder(). Maybe it would be better to two separate functions, but I cannot imagine good names for them ... :-( commit 64d621d6806432dabe5bd62282f17027bb08d418 Author: markus schnalke Date: Sat Nov 5 17:51:30 2011 +0100 Rearranged code in the file. commit d318de52a08f7a84467a5e349b9b655b84ef6fca Author: markus schnalke Date: Sat Nov 5 17:35:13 2011 +0100 Refactoring in sbr/path.c. Especially: Replaced compath() with a more general packpath(). commit 240013872c392fe644bd4f79382d9f5314b4ea60 Author: markus schnalke Date: Sat Nov 5 14:04:02 2011 +0100 Renamed r1bindex() to mhbasename(), to make its function becomes clear. All calls to r1bindex() had '/' as second argument. For everything else one can use strrchr(3) instead of r1bindex(). commit c20b4fa14515c7ab388ce35411d89a7a92300711 Author: markus schnalke Date: Sat Nov 5 11:47:42 2011 +0100 Renamed ssequal() to isprefix(), because that's what it checks. commit 8529829823bebf483ab22fe8d24c96394647a298 Author: markus schnalke Date: Sat Nov 5 10:31:30 2011 +0100 Removed defines for obsolete BSD bcopy functions; Use getc() directly. commit 5d09b7206ae2602d3aedb2b552ef160b855d8054 Author: markus schnalke Date: Sat Nov 5 10:26:18 2011 +0100 We don't need macros for only putting two strings next to each other. commit a2b61c58a3322ed9a1958b53d46ea8c844740e3f Author: markus schnalke Date: Sat Nov 5 09:43:56 2011 +0100 Removed references to bboards, as we don't support them anymore. commit ea9ebdabc3e32c94e906dfc1b8a85e78b1b68a77 Author: markus schnalke Date: Tue Nov 1 15:55:31 2011 +0100 Broke long lines. commit 71b43c2803ffed08ec727c29d70a0d2de3ffb3f1 Author: markus schnalke Date: Tue Nov 1 09:29:08 2011 +0100 Don't call writev() anymore. It might be a sexy syscall, but it's not portable and more complex than the mainstream solution. For sexy source program, go elsewhere! commit a0b72ae951177e0262dbe9266582edbd83c9684e Author: markus schnalke Date: Tue Nov 1 09:10:19 2011 +0100 Removed outc(), which only called putchar(), while having the same signature. I substituted all outc() calls with calls to putchar(). commit 714b5c530ece27ea2835a313013f5b770163403c Author: markus schnalke Date: Tue Nov 1 09:05:30 2011 +0100 Removed the space between function names and the opening parenthesis. commit ced6090a330d3d83d0bce709f756aa3d7d65fea4 Author: markus schnalke Date: Mon Oct 31 15:06:33 2011 +0100 Reformated comments and long lines commit 337338b404931f06f0db2119c9e145e8ca5a9860 Author: markus schnalke Date: Sun Oct 30 11:35:54 2011 +0100 Removed the draft message in favor for a consistent draft folder facility - reworked sbr/m_draft.c (of course) - removed the -draftfolder/-draftmessage/-nodraftfolder switches - removed the -draft switch from anno and refile - no more need to question on existing draft message - yay! Everything is more consistent now. Cornercases went away. :-) (Also fixed the switch numbering, as already done for other files earlier.) commit dc6c45394a06750eab463a2523406eed6c77e2e1 Author: markus schnalke Date: Sun Oct 16 19:50:26 2011 +0200 Fixed broken swit numbering (there are more files to fix) commit 18017df38ebb626f6eed6f339641fd1298c326e7 Author: markus schnalke Date: Sun Oct 16 11:48:09 2011 +0200 Removed the whom program, which relayed on post(8) functionality. We can later add one again, which only expands aliases but does not require the MTA to support -bv. commit 51cb63baa791f6ba84c0a7f8538ecfd00b013bcb Author: markus schnalke Date: Sun Oct 16 10:47:04 2011 +0200 Removed the split feature of send. It would split large messages into several partial ones, using MIME. But if a message contains one large file attached, it won't solve the problem. We better go without this feature and leave it to the user. commit b067ff5c465a5d243ce5a19e562085a9a1a97215 Author: markus schnalke Date: Fri Oct 7 10:41:15 2011 +0200 Removed unneeded sbr code. memmove() and strerror() removed again. ;-) Mmh takes C89, at least, for available. commit a485ed478abbd599d8c9aab48934e7a26733ecb1 Author: markus schnalke Date: Fri Oct 7 08:35:27 2011 +0200 Rearranged whitespace (and comments) in all the code! The primary goal was to only indent with tabs and not mix them with spaces. Also, no more tabs should appear past the first printable char on each line. Now editing the sources will be much easier, no matter which editor one uses, and rearranging won't break aligned code. (Beware, the changeset is huge, but the `diff -w' changes are moderate.) commit f480c03187724e54e5391ee61b810827da319a6c Author: markus schnalke Date: Wed Oct 5 21:13:58 2011 +0200 Removed mhn, as it was already replaced by mhlist/mhshow/mhstore. commit 916690191222433a6923a4be54b0d8f6ac01bd02 Author: markus schnalke Date: Wed Oct 5 19:09:27 2011 +0200 Removed msh, vmh and wmh. The latter ones were long time obsolete; now they went away. Msh has hardly to do with everyday mmh usage, and we don't support bboards anymore. This one changeset saves us about 7,000 lines of code. *yay* commit ecc90fb56b43863f4c33ed62da4abe898b17d7fb Author: markus schnalke Date: Wed Oct 5 18:21:11 2011 +0200 Removed unused and not compiling program wmh. It was added 1986, and is not even mentioned in nmh's history. The website is (was?) http://wmh.sf.net commit f30f5410a04ab0a6eed8ebcd99f5eaf51759cf8b Author: markus schnalke Date: Wed Oct 5 18:14:41 2011 +0200 Removed obsolete MTS docs from README.developers commit 97d33797dc936a9e9097cdfc8a6132fca65eac55 Author: markus schnalke Date: Wed Oct 5 12:29:01 2011 +0200 Clarification fix in man/mhparam.man, related to -debug. commit e87123959d15f3b190494dffdd8bce335c137874 Author: markus schnalke Date: Wed Oct 5 12:25:09 2011 +0200 Reworked LINK, now named `altmsglink', similar to BACKUP_PREFIX. commit 104b36e0a37bafe6620062334fa78d484dce321c Author: markus schnalke Date: Wed Oct 5 11:42:08 2011 +0200 Moved default file/folder modes from acconfig.h to config/config.c commit 5d43a99db70c12a673028c7758c20cbe3e13ef5f Author: markus schnalke Date: Wed Oct 5 11:28:46 2011 +0200 Removed --with-{editor,pager} configure options. We keep defaulting to vi and more, but search in PATH at run time. Nowadays, both programs should be available via PATH everywhere. Otherwise, the the path in the profile. commit d19e58487c8b73f12712982185e5007c97a2cdb0 Author: markus schnalke Date: Wed Oct 5 10:22:17 2011 +0200 Documented -debug switch or mhparam(1) commit 55348ded7496135cd482e3e4169e61aba2437260 Author: markus schnalke Date: Wed Oct 5 09:55:16 2011 +0200 Moved sendmail item to better place in man page mh-profile(5) commit 6c40d481d661d532dd527eaf34cebb6d3f8ed086 Author: markus schnalke Date: Wed Oct 5 09:48:37 2011 +0200 Removed configure option --with-hash-prefix and moved backup-prefix to profile commit bd2221448c3c545993ccf6f20365f01b5e9782e9 Author: markus schnalke Date: Tue Oct 4 21:39:54 2011 +0200 Renamed configure.in to the more modern name configure.ac commit 37910518c33a356c5da893c3db0dce6349b78aa0 Author: markus schnalke Date: Tue Oct 4 21:07:22 2011 +0200 Nicer structure in summary printing of the configure script. commit 6f1a8c3b8d6f19bbe33e7d3fa746ae1d2e9ac455 Author: markus schnalke Date: Tue Oct 4 21:05:33 2011 +0200 Moved the sendmail path config line from mts.conf to the MH profile This another step in getting rid of the mts stuff. commit fecd5d34f65597a4dfa16aeabea7d74b191532c3 Author: markus schnalke Date: Tue Oct 4 19:04:28 2011 +0200 Removed TLS support. We don't need it anymore as we stopped talking SMTP Libcrypto and thelike went away also, as they were needed only for TLS. commit 156d35f6425bea4c1ed3c4c79783dc613379c65b Author: markus schnalke Date: Tue Oct 4 18:53:49 2011 +0200 Removed SASL support. We don't need it anymore because we talk SMTP no more commit f6aa95b724fd8c791164abe7ee5468bf5c34f226 Author: markus schnalke Date: Tue Oct 4 18:36:14 2011 +0200 Removed the MTS and post; now we always use /usr/sbin/sendmail -t Mmh won't talk SMTP (nor POP). Also moved OfficialName() from /mts/smtp/hosts.c to sbr/addrsbr.c. commit 128545e06224233b7e91fc4c83f8830252fe16c9 Author: markus schnalke Date: Tue Oct 4 16:14:46 2011 +0200 Removed --with-smtpservers configure option and thelike commit ab7b48411962d26439f92f35ed084d3d6275459c Author: markus schnalke Date: Tue Oct 4 15:27:47 2011 +0200 Removed all POP support To retrieve mail from POP servers use external tools, e.g. fetchmail. commit 05b7f957ba42e79f49b3a62aea2502168c9abf7a Author: markus schnalke Date: Wed Sep 28 16:17:08 2011 +0200 We'll always use sendmail (spost) now commit fb6d818f3d7fa5f4120aa6d4d1db297a12910fa2 Author: markus schnalke Date: Wed Sep 28 12:00:00 2011 +0200 Install to /usr/local/mmh commit 5667f6a234e66806941f95b48b229871b5d163d1 Author: markus schnalke Date: Fri Sep 9 21:05:43 2011 +0200 This is the birth of mmh. :-)