mmh
12 years agomhmail: Read the context!
markus schnalke [Wed, 27 Jun 2012 11:15:47 +0000 (13:15 +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.

12 years agoslocal: Do not at all interact with the context or profile.
markus schnalke [Wed, 27 Jun 2012 10:30:38 +0000 (12:30 +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.

12 years agoMerge `spost -watch' rework.
markus schnalke [Wed, 27 Jun 2012 09:34:08 +0000 (11:34 +0200)]
Merge `spost -watch' rework.

12 years agoAdded missing header. Reported by Dennis Herrmann.
markus schnalke [Sat, 23 Jun 2012 14:29:40 +0000 (16:29 +0200)]
Added missing header. Reported by Dennis Herrmann.
It had worked on GNU/Linux, but not on FreeBSD.

12 years agoRemoved the -[no]watch flags of send and post.
markus schnalke [Fri, 22 Jun 2012 17:17:11 +0000 (19:17 +0200)]
Removed the -[no]watch flags of send and post.
Without direct SMTP delivery, they are useless.

12 years agowhatnow: Improved the listing of available commands in the WhatNow shell.
markus schnalke [Fri, 22 Jun 2012 17:06:36 +0000 (19:06 +0200)]
whatnow: Improved the listing of available commands in the WhatNow shell.

12 years agomhl: Removed remaining code of obsolete -sleep switch.
markus schnalke [Fri, 22 Jun 2012 13:58:34 +0000 (15:58 +0200)]
mhl: Removed remaining code of obsolete -sleep switch.
The switch was used for the faceproc, for Face: header field handling.

12 years agoUpdated man page send(1) for mime-type-query instead of mhshow-suffix.
markus schnalke [Wed, 20 Jun 2012 14:37:38 +0000 (16:37 +0200)]
Updated man page send(1) for mime-type-query instead of mhshow-suffix.
This aligns the man page to the code.

12 years agowhatnow: Call send(1) as `send', not as `whatnow'.
markus schnalke [Fri, 15 Jun 2012 09:02:09 +0000 (11:02 +0200)]
whatnow: Call send(1) as `send', not as `whatnow'.

12 years agommh.sh: Changed from -version to -Version, here too.
markus schnalke [Fri, 15 Jun 2012 07:22:03 +0000 (09:22 +0200)]
mmh.sh: Changed from -version to -Version, here too.

12 years agospost: Just a move of some code.
markus schnalke [Thu, 14 Jun 2012 00:19:43 +0000 (02:19 +0200)]
spost: Just a move of some code.

12 years agoRenamed switches variable to ease automatic text extraction.
markus schnalke [Wed, 13 Jun 2012 10:02:06 +0000 (12:02 +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.

12 years agoWhatnow prompt: From now on, detaching only by numbers.
markus schnalke [Fri, 8 Jun 2012 08:18:47 +0000 (10:18 +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.

12 years agoFixed `alist' command at whatnow prompt.
markus schnalke [Fri, 8 Jun 2012 08:04:59 +0000 (10:04 +0200)]
Fixed `alist' command at whatnow prompt.

12 years agoRemoved configure flag --disable-locale and have it always enabled.
markus schnalke [Mon, 4 Jun 2012 18:23:28 +0000 (20:23 +0200)]
Removed configure flag --disable-locale and have it always enabled.
Todays system are assumed to have locale support.

12 years agoshow: Don't display strange headers by default.
markus schnalke [Fri, 1 Jun 2012 15:27:25 +0000 (17:27 +0200)]
show: Don't display strange headers by default.
This follows a suggestion by steve on the nmh-workers mailing list.

12 years ago(Ignore!) Again a whitespace change for testing purposes.
markus schnalke [Mon, 21 May 2012 19:20:38 +0000 (21:20 +0200)]
(Ignore!) Again a whitespace change for testing purposes.

12 years ago(Ignore!) Removed a trailing whitespace line, just for a test.
markus schnalke [Mon, 21 May 2012 19:13:32 +0000 (21:13 +0200)]
(Ignore!) Removed a trailing whitespace line, just for a test.

12 years agoFixed mhl's -nobody switch.
markus schnalke [Wed, 16 May 2012 09:00:55 +0000 (11:00 +0200)]
Fixed mhl's -nobody switch.

12 years agoRemove -dist from man page spost(8) because it's a hidden switch.
markus schnalke [Sat, 5 May 2012 10:25:21 +0000 (12:25 +0200)]
Remove -dist from man page spost(8) because it's a hidden switch.

12 years agomhl: Removed unused digest features from mhl.
markus schnalke [Sat, 5 May 2012 10:19:03 +0000 (12:19 +0200)]
mhl: Removed unused digest features from mhl.
Only MIME-digest are supported now, with `forw -digest ...'.

12 years agoprompter: Various rework.
markus schnalke [Sat, 5 May 2012 09:48:11 +0000 (11:48 +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.)

12 years agomhmail: For mailx(1) compat: A period alone on a line means EOF.
markus schnalke [Sat, 5 May 2012 09:43:24 +0000 (11:43 +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.

12 years agomhmail: For mailx(1) compat: A period alone on a line means EOF.
markus schnalke [Sat, 5 May 2012 09:38:23 +0000 (11:38 +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'.

12 years agomhmail: Removed hidden -resent and -queued switches.
markus schnalke [Sat, 5 May 2012 06:14:26 +0000 (08:14 +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.

12 years agoRequire at least 2 chars for `no' variants of switches.
markus schnalke [Sat, 5 May 2012 06:05:22 +0000 (08:05 +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

12 years agoDon't require a length for switch prefixes without good reason.
markus schnalke [Sat, 5 May 2012 05:55:20 +0000 (07:55 +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.

12 years agoflist: Removed the hidden -total switch.
markus schnalke [Sat, 5 May 2012 05:53:09 +0000 (07:53 +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.

12 years agosortm: Removed the hidden -subject switch, which provided compat only.
markus schnalke [Sat, 5 May 2012 05:51:52 +0000 (07:51 +0200)]
sortm: Removed the hidden -subject switch, which provided compat only.
Use `-textfield subject' instead.

12 years agoforw: Fixed -build switch.
markus schnalke [Sat, 5 May 2012 05:51:32 +0000 (07:51 +0200)]
forw: Fixed -build switch.

12 years agoAdded comment and removed whitespace.
markus schnalke [Sat, 5 May 2012 05:51:04 +0000 (07:51 +0200)]
Added comment and removed whitespace.

12 years agoRemoved the altmsglink (named `@') and env var `$editalt' for repl and dist.
markus schnalke [Tue, 1 May 2012 15:16:34 +0000 (17:16 +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.

12 years agoMan pages: Replaced \*(lq and \*(rq with ` and '.
markus schnalke [Tue, 1 May 2012 14:18:52 +0000 (16:18 +0200)]
Man pages: Replaced \*(lq and \*(rq with ` and '.
Using the quotes directly is staight-forward and convenient to read and write.

12 years agoRemoved msgchk(1) as it is hardly useful without POP support.
markus schnalke [Tue, 1 May 2012 13:30:39 +0000 (15:30 +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.

12 years agoRenamed -version switch to -Version to remove the conflict with -verbose.
markus schnalke [Tue, 1 May 2012 13:01:36 +0000 (15:01 +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.

12 years agofolder: Never display column headers (removed -header).
markus schnalke [Tue, 1 May 2012 12:48:59 +0000 (14:48 +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.

12 years agoBring in all of the mh-e support that is actually used
markus schnalke [Tue, 1 May 2012 12:38:44 +0000 (14:38 +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.

12 years agomhbuild: Removed -contentid switch, which was an Outlook 2002 workaround.
markus schnalke [Tue, 1 May 2012 11:53:32 +0000 (13:53 +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.

12 years agomhlist: Always display the column header (removed -headers).
markus schnalke [Tue, 1 May 2012 11:33:10 +0000 (13:33 +0200)]
mhlist: Always display the column header (removed -headers).

12 years agomhbuild: Don't list anything (removed -list and -header).
markus schnalke [Tue, 1 May 2012 11:21:16 +0000 (13:21 +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.

12 years agomhoutsbr.c: writeBase64aux() needs not to be exported.
markus schnalke [Tue, 1 May 2012 11:20:40 +0000 (13:20 +0200)]
mhoutsbr.c: writeBase64aux() needs not to be exported.

12 years agomhbuild: Removed -rfc934mode switch, which is only useful for non-MIME systems.
markus schnalke [Tue, 1 May 2012 10:32:04 +0000 (12:32 +0200)]
mhbuild: Removed -rfc934mode switch, which is only useful for non-MIME systems.
We require MIME facilities to be available.

12 years agomhbuild: Removed the -ebcdicsafe switch.
markus schnalke [Tue, 1 May 2012 09:37:53 +0000 (11:37 +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.

12 years agomhlist, mhbuild: Always evaluate realsizes of the MIME parts.
markus schnalke [Tue, 1 May 2012 09:19:24 +0000 (11:19 +0200)]
mhlist, mhbuild: Always evaluate realsizes of the MIME parts.
This already had been the default. Now I removed the -[no]realsize switches.

12 years agoMinor improvements of man page sendfiles(1).
markus schnalke [Tue, 1 May 2012 08:51:40 +0000 (10:51 +0200)]
Minor improvements of man page sendfiles(1).

12 years agoMinor fix: Font in man page.
markus schnalke [Tue, 1 May 2012 08:44:40 +0000 (10:44 +0200)]
Minor fix: Font in man page.

12 years agoburst: Fixed handling of trailing text; removed -inplace and -quiet.
markus schnalke [Tue, 1 May 2012 08:28:52 +0000 (10:28 +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.

12 years agoMinor refactoring.
markus schnalke [Tue, 1 May 2012 06:20:23 +0000 (08:20 +0200)]
Minor refactoring.

12 years agowhatnow: Simplified and clarified (or fixed?) the situation of failed edits.
markus schnalke [Tue, 1 May 2012 06:09:56 +0000 (08:09 +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.

12 years agoRemoved the -noeditor switches and made them replaceable by `-editor ""'.
markus schnalke [Mon, 30 Apr 2012 20:58:54 +0000 (22:58 +0200)]
Removed the -noeditor switches and made them replaceable by `-editor ""'.

12 years agoRemoved -nowhatnowproc switch as it does nothing useful.
markus schnalke [Mon, 30 Apr 2012 18:38:46 +0000 (20:38 +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.

12 years agoRework in charset code. (Includes renaming.)
markus schnalke [Mon, 30 Apr 2012 16:52:19 +0000 (18:52 +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.

12 years agoDropped old show(1) and renamed mhshow(1) to show(1).
markus schnalke [Mon, 30 Apr 2012 14:33:55 +0000 (16:33 +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.

12 years agoNoted that the testcases are not maintained and thus became broken.
markus schnalke [Mon, 30 Apr 2012 14:28:30 +0000 (16:28 +0200)]
Noted that the testcases are not maintained and thus became broken.

12 years agoCode style: Fixed indent and comment style.
markus schnalke [Mon, 30 Apr 2012 14:16:08 +0000 (16:16 +0200)]
Code style: Fixed indent and comment style.

12 years agoInstall scan.meillo. (Wasn't enough to just add the file to the VCS.)
markus schnalke [Mon, 30 Apr 2012 10:15:14 +0000 (12:15 +0200)]
Install scan.meillo. (Wasn't enough to just add the file to the VCS.)

12 years agomhshow: Add header and separation when displaying multiple messages.
markus schnalke [Sat, 14 Apr 2012 20:32:02 +0000 (22:32 +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.

12 years agomhshow: Fixed segfault. (Care that c_charset is set.)
markus schnalke [Sat, 14 Apr 2012 20:09:52 +0000 (22:09 +0200)]
mhshow: Fixed segfault. (Care that c_charset is set.)

12 years agomhshow: Can now be called as `next' or `prev' as well.
markus schnalke [Sat, 14 Apr 2012 18:37:31 +0000 (20:37 +0200)]
mhshow: Can now be called as `next' or `prev' as well.
This is a step in replacing show(1) by mhshow(1).

12 years agomhl: Don't invoke the pager anymore.
markus schnalke [Sat, 14 Apr 2012 18:13:04 +0000 (20:13 +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.

12 years agomhshow: Automatically invoke (one) pager for the whole message, if on TTY.
markus schnalke [Sat, 14 Apr 2012 17:59:54 +0000 (19:59 +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.)

12 years agomhshow: Wait for children synchonously because we run them serialized.
markus schnalke [Sat, 14 Apr 2012 17:44:41 +0000 (19:44 +0200)]
mhshow: Wait for children synchonously because we run them serialized.

12 years agoUpdated man page of mhshow(1) to recent changes.
markus schnalke [Sat, 14 Apr 2012 16:45:20 +0000 (18:45 +0200)]
Updated man page of mhshow(1) to recent changes.

12 years agomhshow-show-*: Made %e escape the default, i.e. always serialize the output.
markus schnalke [Sat, 14 Apr 2012 16:06:04 +0000 (18:06 +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.

12 years agoDon't do a shell `exec' on mhshow-show-* contents to make `foo; bar' possible.
markus schnalke [Sat, 14 Apr 2012 15:52:51 +0000 (17:52 +0200)]
Don't do a shell `exec' on mhshow-show-* contents to make `foo; bar' possible.

12 years agoNo more mhshow-charset-* but instead automatic invocation of iconv(1).
markus schnalke [Sat, 14 Apr 2012 15:35:18 +0000 (17:35 +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.

12 years agoanno: Fixed test for intermixture of file and msgs/folder.
markus schnalke [Sat, 14 Apr 2012 13:17:16 +0000 (15:17 +0200)]
anno: Fixed test for intermixture of file and msgs/folder.

12 years agoRemove unused struct component.
markus schnalke [Sat, 14 Apr 2012 12:31:27 +0000 (14:31 +0200)]
Remove unused struct component.

12 years agomhmail is for sending, but not for reading mail.
markus schnalke [Thu, 12 Apr 2012 21:14:13 +0000 (23:14 +0200)]
mhmail is for sending, but not for reading mail.

12 years agomhshow/mhstore: Removed support for retrieving message/external-body parts.
markus schnalke [Thu, 12 Apr 2012 21:05:47 +0000 (23:05 +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.)

12 years agoCleanup addon to `mhbuild: Removed support for message/external-body'.
markus schnalke [Thu, 12 Apr 2012 21:03:23 +0000 (23:03 +0200)]
Cleanup addon to `mhbuild: Removed support for message/external-body'.

12 years agomhbuild: Removed support for creating message/external-body parts.
markus schnalke [Thu, 12 Apr 2012 16:28:49 +0000 (18:28 +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.

12 years agomhstore -auto: Never store into subdirs, but use basename of filename.
markus schnalke [Thu, 12 Apr 2012 15:30:56 +0000 (17:30 +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.

12 years agomhstore: Made -auto the default.
markus schnalke [Thu, 12 Apr 2012 14:12:43 +0000 (16:12 +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.

12 years agoDon't treat application/octet-stream with type=tar special.
markus schnalke [Thu, 12 Apr 2012 13:18:12 +0000 (15:18 +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.

12 years agoRemove caching of external MIME parts.
markus schnalke [Wed, 11 Apr 2012 15:23:59 +0000 (17:23 +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?

12 years agoRemoved #ifdef lint.
markus schnalke [Wed, 11 Apr 2012 14:46:27 +0000 (16:46 +0200)]
Removed #ifdef lint.

12 years agoRemoved RFC 1864 (Content-MD5) support. I.e. -check switches.
markus schnalke [Wed, 11 Apr 2012 13:41:05 +0000 (15:41 +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.

12 years agoMan page mhbuild(1): Tried to make the structure more clear through markup.
markus schnalke [Wed, 11 Apr 2012 13:18:39 +0000 (15:18 +0200)]
Man page mhbuild(1): Tried to make the structure more clear through markup.

12 years agoAdded docs/README.start-devel, which recommends who to start with nmh.
markus schnalke [Wed, 11 Apr 2012 10:22:13 +0000 (12:22 +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.

12 years agoDon't display multipart/parallel in parallel. Always serialize displaying.
markus schnalke [Wed, 11 Apr 2012 09:52:12 +0000 (11:52 +0200)]
Don't display multipart/parallel in parallel. Always serialize displaying.

12 years agoMerge branch 'master' of ssh://marmaro.de:2022/var/git/mmh
markus schnalke [Wed, 11 Apr 2012 09:24:33 +0000 (11:24 +0200)]
Merge branch 'master' of ssh://marmaro.de:2022/var/git/mmh

12 years agoMerged man pages next(1) and prev(1) into show(1).
markus schnalke [Wed, 11 Apr 2012 09:09:16 +0000 (11:09 +0200)]
Merged man pages next(1) and prev(1) into show(1).

12 years agoshow: Fixed -checkmime for msgs.
markus schnalke [Wed, 11 Apr 2012 09:07:59 +0000 (11:07 +0200)]
show: Fixed -checkmime for msgs.
Only check for MIME-Version header from now on.

12 years agoScanning an empty mbox file is no error.
markus schnalke [Tue, 10 Apr 2012 22:05:26 +0000 (00:05 +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!

12 years agoDefault scan format: Added leading zeros, which I've forgotten.
markus schnalke [Tue, 10 Apr 2012 22:04:35 +0000 (00:04 +0200)]
Default scan format: Added leading zeros, which I've forgotten.

12 years agoAdded my own scan format: scan.meillo
markus schnalke [Tue, 10 Apr 2012 21:45:02 +0000 (23:45 +0200)]
Added my own scan format: scan.meillo

12 years agoAdded HH:MM to the default scan format.
markus schnalke [Tue, 10 Apr 2012 21:44:14 +0000 (23:44 +0200)]
Added HH:MM to the default scan format.

12 years agoMinor layout fix in man page mhparam(1).
markus schnalke [Tue, 10 Apr 2012 21:30:23 +0000 (23:30 +0200)]
Minor layout fix in man page mhparam(1).

12 years agoRemoved -(no)push and -(no)forward flags from send, spost and whatnow.
markus schnalke [Tue, 10 Apr 2012 21:24:07 +0000 (23:24 +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.

12 years agoAdded a bunch of good quality code. That will improve mmh for decades!
markus schnalke [Sun, 1 Apr 2012 20:46:30 +0000 (22:46 +0200)]
Added a bunch of good quality code. That will improve mmh for decades!

12 years agoPut structure into anno(1) and its man page.
markus schnalke [Fri, 30 Mar 2012 16:07:52 +0000 (18:07 +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.

12 years agoUpdated man page mh-mail(5).
markus schnalke [Thu, 29 Mar 2012 21:17:59 +0000 (23:17 +0200)]
Updated man page mh-mail(5).

12 years agoAdded missing NULL sentinels in switches array.
markus schnalke [Thu, 29 Mar 2012 21:00:30 +0000 (23:00 +0200)]
Added missing NULL sentinels in switches array.

12 years agommh.sh: Minimal change.
markus schnalke [Thu, 29 Mar 2012 20:53:19 +0000 (22:53 +0200)]
mmh.sh: Minimal change.

12 years agoAdded wrapper mmhwrap for parallel installations with nmh or a small $PATH.
markus schnalke [Thu, 29 Mar 2012 20:51:59 +0000 (22:51 +0200)]
Added wrapper mmhwrap for parallel installations with nmh or a small $PATH.
It might be helpful.

12 years agoFolded fileproc to constant `refile'.
markus schnalke [Thu, 29 Mar 2012 16:18:21 +0000 (18:18 +0200)]
Folded fileproc to constant `refile'.
Also moved sbr/refile.c into uip/whatnow.c

12 years agoMigrated man page post(8) to spost(8).
markus schnalke [Thu, 29 Mar 2012 15:12:37 +0000 (17:12 +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.

12 years agomhl: removed -folder switch and folder output for messagename pseudo component.
markus schnalke [Thu, 29 Mar 2012 14:13:21 +0000 (16:13 +0200)]
mhl: removed -folder switch and folder output for messagename pseudo component.

12 years agoRemoved dead code within never set define WHATNOW.
markus schnalke [Thu, 29 Mar 2012 13:17:06 +0000 (15:17 +0200)]
Removed dead code within never set define WHATNOW.