[Nmh-workers] RC3

2004-01-07 Thread Jon Steinhart
By the way, I've been using RC3 for several weeks now and it appears to work fine. But, I'm probably not the best tester since I don't use all of the twisty little features. Jon ___ Nmh-workers mailing list [EMAIL PROTECTED]

[Nmh-workers] nmh updates

2004-10-12 Thread Jon Steinhart
I just checked out the CVS so that I could fix some bugs. I noticed that there is no config.h.in or configure as part of the distribution. Anyone mind if I add those. Doing so will make the INSTALL instructions work. Or, I could change the INSTALL instructions, but I think that the first

Re: [Nmh-workers] nmh updates

2004-10-13 Thread Jon Steinhart
Ken wrote: I just checked out the CVS so that I could fix some bugs. I noticed that th ere is no config.h.in or configure as part of the distribution. Anyone mind if I add those. Doing so will make the INSTALL instructions work. Or, I could change the INSTALL instructions, but I think

Re: [Nmh-workers] nmh updates

2004-10-13 Thread Jon Steinhart
Now, there's some confusion here on what is required to do an install. When a tar file is built, of course I run autoheader and autoconf so an end-user doesn't need autoconf to build nmh. But I consider people who check out the CVS tree to be in the developer category, and thus I think it's

Re: m_getfld (was Re: [Nmh-workers] Wishlist: Extracting Attachments from Email.)

2004-11-26 Thread Jon Steinhart
Jon Steinhart wrote: Fear of m_getfld has kept me from trying this. It's not that dreadful, is it? I grant you that it sticks its hands deep into the guts of the C library in a dreadfully unclean manner, but if you're just using it it's not too bad. Is there any consensus for ripping out

[Nmh-workers] Question on compath() in sbr/path.c

2005-01-28 Thread Jon Steinhart
Howdy. I've been trying to figure out exactly what nmh does with folder names so that I can have an external-to-nmh program treat them the same way. I noticed something curious in compath() in sbr/path.c I'm guessing that the purpose of this function is to compact a path by removing extraneous

[Nmh-workers] Changelog policy

2005-01-28 Thread Jon Steinhart
Oh, since I'm probably about to go make some changes again, I had an email from somebody a while ago who was upset that I wasn't updating the Changelog when making changes. I wasn't doing it because I thought that it was done automatically. What's the policy on this? Is it supposed to be done

[Nmh-workers] More puzzlement - expath() in sbr/path.c

2005-01-28 Thread Jon Steinhart
There is code in expath in sbr/path.c that just can't be correct. The second main if statement in this function includes what is, after some substitutions, if ( ... strcmp(name, .) strcmp(name, ..) ... ) This can never be true! Can anybody out there explain to me what this function

Re: [Nmh-workers] More puzzlement - expath() in sbr/path.c

2005-01-28 Thread Jon Steinhart
Jon Steinhart [EMAIL PROTECTED] wrote on Jan 28, 2005: There is code in expath in sbr/path.c that just can't be correct. The secon d main if statement in this function includes what is, after some substitution s, if ( ... strcmp(name, .) strcmp(name, ..) ... ) This can never

Re: [Nmh-workers] Question on compath() in sbr/path.c

2005-01-30 Thread Jon Steinhart
Jon Steinhart [EMAIL PROTECTED] wrote: One of the tests (second one under case '.') looks for a trailing /.. on a path. It would convert a path of /foo/bar/.. to /foo. This doesn't seem correct to me. It works unless bar is a symbolic link. A /.. after a symbolic link climbs up

Re: [Nmh-workers] nmh current development

2005-05-09 Thread Jon Steinhart
with the current maintainer. I'm not a great expert on all of the fine points of mail delivery, but I do have an interest in modernizing the code base and adding new features. Jon Steinhart ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org

[Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c

2005-05-13 Thread Jon Steinhart
Saw this while looking for something else. m_chkids() forks a child process to run context_save() if the uid is not the same as the euid. But, it ends up running as if the uid and euid are the same if the fork() fails. Seems to me that this should be an error. I realize that it will probably

[Nmh-workers] Another questionable piece of code

2005-05-17 Thread Jon Steinhart
, Jon Steinhart ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers

Re: [Nmh-workers] Another questionable piece of code

2005-05-18 Thread Jon Steinhart
On Sun, 15 May 2005 22:30:45 PDT, Jon Steinhart said: So, ask per earlier messages, I'm looking at the context/profile code and trying to clean it up as I make the changes that I need. There's a pretty strange function called context_foil(). In all but two of the places where

Re: [Nmh-workers] Another questionable piece of code

2005-05-18 Thread Jon Steinhart
Jon Steinhart [EMAIL PROTECTED] wrote: There's a pretty strange function called context_foil(). In all but two of the places where it is called it is called with a NULL argument so it does nothing except set the globals defpath and context to /dev/null, and none of these calling

Re: [Nmh-workers] Improving reading mime email.

2005-05-19 Thread Jon Steinhart
invoked when messages are inc'd, rmm'd, and refiled. Part of my project, grokmail, builds a real database from your mail messages. So you can do By 'real database' do you mean a Berkeley/MySQL-type DB? Is this sort of like supporting IMAP? Actually, it's in Sleepycat, i.e., Berkeley DB.

Re: [Nmh-workers] nmh 1.1 release candidate 4

2005-09-28 Thread Jon Steinhart
Josh Bressers [EMAIL PROTECTED] wrote: Might I suggest we call it 1.2 to avoid confusion. I have used the nmh-1.1.tar.gz to create the Fedora Core nmh packages, so having a new nmh tarball with the same version is going to cause some pain for any packagers who have used that source.

Re: [Nmh-workers] 1.1 RC4

2005-10-11 Thread Jon Steinhart
Is there a list of new features in 1.1 (from 1.0), or is it all bug fixes? The nmh-announce archives don't seem to be available (in the event something was sent to that list). Nick I think that it's mostly bug fixes. The only new features that I can think of are (naturally) the ones that

Re: [Nmh-workers] Re: 1.1RC4: can't rebuild dtimep.c with modern flex

2005-11-02 Thread Jon Steinhart
Maybe Jon has a different view but I'd have thought that it'd be better if we add anyone that reads this list and writes an occasional patch, however infrequently. At least those occasional patches would make it into CVS quickly instead of sitting in various places until someone has the time

Re: [Nmh-workers] mhpath (was: 1.1RC4 stuff)

2005-11-02 Thread Jon Steinhart
Jon Steinhart [EMAIL PROTECTED] writes: BTW, I'm gonna make a small change; I need a -HONEST option to mhpath. mhpath has the annoying characteristic that it lies if there is no current folder. This is screwing up an application that uses mhpath to find the current folder

Re: [Nmh-workers] Re: mhpath

2005-11-03 Thread Jon Steinhart
I have thought about this. There are time where one really wants to know THE current folder, which means none if there is none. But there *is* a current folder if there isn't one in context, and it's +inbox. Why don't you use mhparam instead? [EMAIL PROTECTED]:878]$ mhparam

Re: [Nmh-workers] How can we mail Jon directly?

2005-11-04 Thread Jon Steinhart
Sorry if some of you have trouble contacting me directly. Out of necessity I am running a very picky spam filter. Whenever I see a problem I add the person to my whitelist, so it shouldn't happen more than once. Apologies for having to take up mailing list space with this; I look back fondly on

[Nmh-workers] Hi, I'm back, next release candidate stuff

2005-11-28 Thread Jon Steinhart
Howdy, I'm back in town and the holidays are over. As near as I can tell from the mail while I was away, we're ready for another release candidate. I wait a day and unless I hear otherwise, I'll crank one out tomorrow. I plan on calling it 1.2-RC1 based on earlier discussion. Oh, on the whole

Re: [Nmh-workers] How're we doing on nmh-1.2-RC1?

2005-12-14 Thread Jon Steinhart
Any major issues? Can we do the 1.2 release yet? Jon, What's the plan here? The only issue that was brought up has been fixed. I'd like to see this release soon so development can continue. Thanks. -- JB My plan was to wait until the end of the week. So I guess that this

[Nmh-workers] nmh 1.2 is released

2005-12-19 Thread Jon Steinhart
Time to party! Jon ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers

[Nmh-workers] Wow! I didn't expect y'all to take me so seriously about partying!

2005-12-22 Thread Jon Steinhart
Not sure that I've ever seen so much nmh-related email in a day before! A few things... No problem cranking out a 1.2.1 release (or should that be 1.3)? Should I do it now or wait a bit for other problems to surface? The wish list discussion is great. Maybe someone would spend the time to

[Nmh-workers] Ready to roll a new release?

2006-01-03 Thread Jon Steinhart
I haven't paid much attention to stuff over the holidays. I did notice that Josh made a bunch of cosmetic changes (that I'm not sure that I agree with but hey, that's the way it goes). Are the NetBSD issues resolved at this point so that it's worth rolling a new release? Oh, and Happy New Year

Re: [Nmh-workers] Ready to roll a new release?

2006-01-03 Thread Jon Steinhart
Hi, I see a last issue. The problem happens in OpenBSD and NetBSD if the GNU version of the m4 macro language processor is not available. After applying the patch: ... The patch isn't the issue here. If I make a new release from the CVS, will it build and work correctly on *BSD? The

Re: [Nmh-workers] Ready to roll a new release?

2006-01-03 Thread Jon Steinhart
I haven't paid much attention to stuff over the holidays. I did notice that Josh made a bunch of cosmetic changes (that I'm not sure that I agree with but hey, that's the way it goes). I'm always up for feedback and discussion. I have the current goal of cleaning up the current

Re: [Nmh-workers] Ready to roll a new release?

2006-01-03 Thread Jon Steinhart
In message [EMAIL PROTECTED], Jon Steinhart writes: The patch isn't the issue here. If I make a new release from the CVS, will it build and work correctly on *BSD? The release won't include the patch as the code will already be patched. I would not expect issues here either. Just want

Re: [Nmh-workers] Ready to roll a new release?

2006-01-03 Thread Jon Steinhart
In message [EMAIL PROTECTED], Jon Steinhart writes: I'm still confused. What I think I hear you saying is that you can't patch and compile a version on a machine without GNU m4. What I'm not clear on is whether you can compile a version that was already correctly patched

Re: [Nmh-workers] What is MH ? (was: exciting new stuff for 2.0 (IMAP proposal))

2006-01-09 Thread Jon Steinhart
Seems like a lot of energy going into nonproductive arguing here. A few thoughts, in no particular order. I want to keep using the mailing list; wiki's are nice for some things, but not ongoing discussions. I hate having to reread all sorts of stuff in wikis to find the new stuff, and I like a

Re: [Nmh-workers] suppress Content-ID's with new mhbuild option?

2006-01-29 Thread Jon Steinhart
I'd like to remove the manual steps, as well as support use of X-MH-Attachment headers, which doesn't give me a chance to edit the final draft before sending. How would you propose doing this, since usually one is using attachments for non-ASCII stuff? Or am I not understanding the question?

Re: [Nmh-workers] Should attachment header handling be in send?

2006-01-30 Thread Jon Steinhart
Sorry if I'm about to rehash an old argument, but I'm only just now coming to grips with Jon's 2002 attachment handling mods. I wasn't even aware of them before. Nothing to rehash; when I proposed the attachment handling mods a while back it was met with silence. There was no debate at the

Re: [Nmh-workers] Should attachment header handling be in send?

2006-01-30 Thread Jon Steinhart
Anyway, I'm worried that it is send handling the attachment headers. There are reasons other than attaching files for building a MIME message, and mhbuild could be called before send. As far as I can see, the attachment handling mods fail in this situation. I don't see anything

Re: [Nmh-workers] suppress Content-ID's with new mhbuild option?

2006-01-31 Thread Jon Steinhart
Oliver wrote: David Levine wrote: The option to suppress Content-ID: could be added to either mhbuild or send. mhbuild seems like the right place, because that's where the MIME message is created. And it's trivial to do there. I would prefer if the option could actually be added to

Re: [Nmh-workers] Should attachment header handling be in send?

2006-02-01 Thread Jon Steinhart
Oliver wrote: Jon Steinhart wrote: I feel the same way about having the attachment header containing full mhbuild directives. Not sure what you get from that; if you want to do mhbuild directives, do 'em in the body, it still works. The whole idea The attach command is convenient

Re: [Nmh-workers] suppress Content-ID's with new mhbuild option? [really more on design philosophy]

2006-02-01 Thread Jon Steinhart
Joel wrote: Perhaps you should create a new utility that writes build directives and works both interactively and non-interactively, depending on the command line options? If it is able to write both directives and attachment headers, whatnow can use it for a *really* versatile way to attach

Re: [Nmh-workers] send/whatnow -attach option

2006-02-01 Thread Jon Steinhart
Changing the subject line here. I have to admit that it's getting a bit hard for me to follow all of the variations on mime message formats that people want because it's not something that has ever been an issue for me. The automatically generated stuff has worked for everybody to whom I send

Re: [Nmh-workers] Should attachment header handling be in send?

2006-02-02 Thread Jon Steinhart
Oliver wrote: Currently, the attach command defaults to printing: whatnow: can't attach because no header field name was given. If a header field name is given it adds the filename to the header. What I'm suggesting is that the default is to construct an mhbuild directive - something like

Re: [Nmh-workers] Editing MIMEd messages, etc.

2006-02-02 Thread Jon Steinhart
How 'bout this? Why not add another option similar to the -attach option that I added to whatnow and send? Why not add a -forward option that would specify the name of another header that would be used for forwarding messages. So, for example, if you had in your profile repl:

[Nmh-workers] Somebody out there have a virus or something? Also release stuff.

2006-02-22 Thread Jon Steinhart
Hi everybody. I've noticed a huge increase in the amount of spam coming from the nmh-commits mailing list. Any chance that one of you who has started checking stuff in recently is using a Microsoft machine? If so, please check it for viruses and stuff. I'm gonna have to unsubscribe if it keeps

Re: [Nmh-workers] whatnow attach usage

2006-07-15 Thread Jon Steinhart
Hi Philipp, I wonder how I'd use the 'attach' option on the 'What now?' prompt. Whenever I use it I get whatnow: can't attach because no header field name was given. As a side note, whatnow(1) mentions -attach header-field-name in SYNOPSIS, but doesn't describe its use in DESCRIPTION.

[Nmh-workers] attach and automimeproc interactions

2006-07-17 Thread Jon Steinhart
Based on the recent emails, I am thinking about a small modification to sendfile() in whatnowsbr.c. This change would be to skip the test for automimeproc if attach (in Whatnow(), would have to be made global) is set. This change would keep things from getting confused if someone has

Re: [Nmh-workers] odd whatnow -attach behaviour

2008-08-15 Thread Jon Steinhart
I don't use whatnow -attach, but I was fiddling around with it making a test case for a related issue, and I noticed that it seems to behave a bit oddly: mnementh$ whatnow -attach foo What now? attach foo_bar/baz What now? alist baz What now? detach foo_bar/baz What now? alist

Re: [Nmh-workers] 128 byte field name limit in NAMESZ breaks scan(1)

2008-10-23 Thread Jon Steinhart
My two cents on this fix is to just increase the buffer size and skip the dynamic allocation. Memory is really cheap these days. The nmh code is littered with efficiencies that made sense when running on a VAX but a now liabilities. Keep it simple. Jon

Re: [Nmh-workers] More old crap: servers entry in mts.conf

2009-01-13 Thread Jon Steinhart
Oh, more old crap the KPOP code in sbr/client.c only supports Kerberos V4. Since Kerberos V4 is way long in the tooth nowadays and nmh supports Kerberos V5 via GSSAPI and the Cyrus SASL library, as part of the general cleanup of this code I am (surprise!) proposing it get junked

Re: [Nmh-workers] mh modifies headers? (was Re: Multiple Mailstore Support )

2009-10-14 Thread Jon Steinhart
ve6bbm/ve7tfx wrote: Another concern is meta-data. MH annotates messages by adding headers to the message file. Messages in IMAP are immutable, so that won't i don't think i was aware of this. i don't recall MH ever modifying a message, and would have claimed that it doesn't do so.

Re: [Nmh-workers] cleaning out the cobwebs

2010-11-03 Thread Jon Steinhart
Wow. Glad to see that there are still people interested in nmh out there. I'm going to try to respond to a whole pile of messages at once rather than flooding you with messages. Autoconf: As long as we stick to simple usage it's fine. In general, I find that the way that autoconf works,

Re: [Nmh-workers] Fixing decoding of quoted messages in replies

2010-11-03 Thread Jon Steinhart
And then an mhshow(1) that assumes a UTF-8 terminal and converts headers and body to that for one seamless less(1) I personally want mhshow to go away. It should all be integrated into show. ___ Nmh-workers mailing list Nmh-workers@nongnu.org

Re: [Nmh-workers] cleaning out the cobwebs

2010-11-03 Thread Jon Steinhart
Jon Steinhart wrote: While reading much nmh code these days, I also feel that parts of the code are ancient. I'd like to support any effort in renewing it. Autoconf is something I dislike. I suppose that I'm willing to do some work here too if I'm not alone. My main interest

Re: [Nmh-workers] cleaning out the cobwebs

2010-11-03 Thread Jon Steinhart
Jon Steinhart wrote: Any attempt to rewrite or replace it ought to be preceded by the buildup of the kind of test suite mentioned in the comments in m_getfld.c and subsequently (alas) lost to history. (Some of the code in test/tests/inc is trying to make a start on that.) But if you just

Re: [Nmh-workers] cleaning out the cobwebs

2010-11-03 Thread Jon Steinhart
Well, yeah, that is what I'm thinking about. Seems silly to have m_getfld call something that sort of looks like m_getfld but is different. Making it work down to all of the body parts would in my mind be architecturally better for nmh. But, as you say, more work. So why not create

[Nmh-workers] MIME questions, and followup to my earlier email

2010-11-12 Thread Jon Steinhart
I'm starting to look at writing new code to handle reading MIME messages as per the earlier discussion. My plan is to write a completely new version of scan for people to play with, and to replace the original only when consensus is reached on behavior. I haven't paid attention to mail standards

[Nmh-workers] character sets and localization

2010-11-13 Thread Jon Steinhart
Any opinions on how to deal with RFC2047 character sets? These are an incredible pain. I have written some other mail processing code that handles character sets. This code works by converting everything into UTF-8 internally. It does this by having mapping tables that map codes from various

Re: [Nmh-workers] RFC2047 section 5 and other MIME issues for the new scan

2010-11-14 Thread Jon Steinhart
On Sun, Nov 14, 2010 at 11:45 AM, Jon Steinhart j...@fourwinds.com wrote: My preference is to say that we'll treat any =?...?= as an encoded word wherever it appears and that we'll decode it.  It appears that the authors of RFC2047 expect that everything will be parsed into tokens

Re: [Nmh-workers] nmh2?

2010-11-19 Thread Jon Steinhart
Given the recent discussions: Should we move the current nmh project to maintenance-only mode, and start up a separate nmh2? It need not promise perfect backward compatibility, I would think reason enough to start anew. And it could be written in C++ :-] David Sounds like a good

Re: [Nmh-workers] Understanding nmh (aka. What's the goal)

2010-12-01 Thread Jon Steinhart
proposal: Subject: Re: [Nmh-workers] [patch] snapshot of my MIME handling improvments [2010-11-12 17:55] Jon Steinhart j...@fourwinds.com I have difficulty seeing this as enough of a savings to be worth breaking backward compatibility. If you really have to do this then you should provide

Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [really mime parsing]

2010-12-02 Thread Jon Steinhart
Wow. Woke everyone up it seems. Good morning! | A big thing that someone could do to help me with this would be to | collect all of the various grammar into a single document. Aside from intellectual curiosity, no, I don't think that's either needed or useful. We know we can never

Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really -attach ]

2010-12-02 Thread Jon Steinhart
Maybe I don't understand your proposed changes. Apologies if I get this wrong; I didn't save a copy of your original email and the archives are currently down. There are currently -attach options on send and whatnow to support the non-standard attachment header. I don't even

Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really non-ASCII message bodies ]

2010-12-02 Thread Jon Steinhart
On Thu, Dec 2, 2010 at 12:42 PM, Jon Steinhart wrote: Correct me if my memory is failing me here, I'm being lazy and not rereading rfcs at the moment because I have other things to do. I recall that in the absence of appropriate headers messages are defined as ASCII.  If that's the case

Re: [Nmh-workers] Minor git nits, and autotools junk

2010-12-02 Thread Jon Steinhart
Anyway, I guess my point here is: I'm thinking of converting nmh over to Automake; I've started using it for a few projects here, and it just Makes Things Easier. It could also make supporting things like I'm fine with automake. It hides the ugliness of autoconf underneath something

Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really non-ASCII message bodies ]

2010-12-03 Thread Jon Steinhart
markus schnalke wrote: (4) no attachments non-ASCII - no MIME; the message contains non-ASCII chars; the recipient can not know which charset the non-ASCII chars had been. To cover case 4, one needs to run mime at the whatnow prompt manually. Yes, and I find that annoying.

Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really non-ASCII message bodies ]

2010-12-07 Thread Jon Steinhart
Sounds good. Is the patch that you sent out complete? I don't see an option that enables/disables this behavior and I think that there should be one. Jon ___ Nmh-workers mailing list Nmh-workers@nongnu.org

Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really non-ASCII message bodies ]

2010-12-07 Thread Jon Steinhart
The existing code takes a non-ASCII message body and sends it as an attachment of type application/octet-stream. Your patch changes this behavior so that it is sent as type text/plain with the appropriately chosen character set. You know I'm all for backwards compatibility and

[Nmh-workers] non-ASCII message bodies

2010-12-09 Thread Jon Steinhart
I gotta say that I'm stunned by the amount of activity (and unnecessary vitriol) on this topic. Where were you guys when I was begging for feedback before I committed the changes a decade ago? I originally implemented the non-ASCII message bodies as application/octet-stream because something

Re: [Nmh-workers] non-ASCII message bodies

2010-12-17 Thread Jon Steinhart
I personally think we have consensus on this should be changed, and the new behavior should be the default; do other agree? Just out of curiosity, what exactly do we mean by the new behavior? I'm fine with changing how non-ASCII bodies are handled, I'm not fine with changing how the -attach

Re: [Nmh-workers] whatnowproc tab completion

2010-12-19 Thread Jon Steinhart
I'm thinking about adding tab completion for file and directory names for whatnowproc. Is that on anyone's to-do list?? steve Not on my list but it be great. ___ Nmh-workers mailing list Nmh-workers@nongnu.org

Re: [Nmh-workers] indexing

2011-02-05 Thread Jon Steinhart
I'm not an expert on IMAP. I don't use it and know very little about it. But not being completely afraid to make a fool out of myself I have two thoughts: 1. I added code to nmh years ago that calls external hook programs when messages are inc'd, rmm'd, and refiled. It does the right

Re: [Nmh-workers] nmh in near, medium, and far-term

2011-12-11 Thread Jon Steinhart
--===6840960053006057842== Content-Type: multipart/signed; boundary===_Exmh_1323651731_10493P; micalg=pgp-sha1; protocol=application/pgp-signature Content-Transfer-Encoding: 7bit --==_Exmh_1323651731_10493P Content-Type: text/plain; charset=us-ascii On Sun, 11 Dec

Re: [Nmh-workers] The curse of m_getfld()

2012-01-26 Thread Jon Steinhart
Wow. What's the coder equivalent of the Purple Heart? Extreme bravery in the case of old crusty code. Rescuing their comrades from vestiges of the VAX. While I'm too busy to participate in the current effort, m_getfld.c has been the thing that's kept me from implementing the attachment changes

[Nmh-workers] temporary files

2012-03-14 Thread Jon Steinhart
Is there any way to change where nmh puts the draft temporary file? Never paid much attention to this before, but nmh creates a file named @ in the current directory when editing a draft. Normally not a problem, but I'm working on a project that uses Dropbox, and when I compose a message from a

Re: [Nmh-workers] temporary files

2012-03-15 Thread Jon Steinhart
David Levine writes: Jon wrote: Is there any way to change where nmh puts the draft temporary file? Never paid much attention to this before, but nmh creates a file named @ in the current directory when editing a draft. It shows up when doing a reply. I know that I don't have time

Re: [Nmh-workers] whatnow: can't attach because no header field name was given.

2012-03-15 Thread Jon Steinhart
Ken Hornstein writes: Is the attach command of whatnow making no attempt whatsoever to try to determine the correct MIME content type specification? Is every attachment just going to be sent as application/octet-stream? Dude, you make it seem like using application/octet-stream is an

Re: [Nmh-workers] temporary files

2012-03-15 Thread Jon Steinhart
Ken Hornstein writes: I agree. But times have changed, and it doesn't work well with new stuff like dropbox. Okay, I was confused a bit because you said the DRAFT temporary file, but really the @ file is only created by dist and repl. Jon, would you be happy with -atlink and -noatlink

Re: [Nmh-workers] temporary files

2012-03-15 Thread Jon Steinhart
Paul Fox writes: jon wrote: Ken Hornstein writes: I agree. But times have changed, and it doesn't work well with new stuff like dropbox. Okay, I was confused a bit because you said the DRAFT temporary file, but really the @ file is only created by dist and repl.

Re: [Nmh-workers] temporary files

2012-03-15 Thread Jon Steinhart
Jerrad Pierce writes: An edge-case issue with @ be it in . ~/ or `mhpath +` is that it does not allow for multiple concurrent replies. Scripts should use the not-so-unintuitively named $editalt to inherit the correct context. Humans will have to live with @ pointing to the most recent

Re: [Nmh-workers] whatnow: can't attach because no header field name was given.

2012-03-15 Thread Jon Steinhart
The only portion of the one I have here that seems at all relevant is this: For file names with dot suffixes, the context is scanned for a mhshow-suffix- entry for that suffix. The content-type for the part is taken from that context entry if a match is found. If no

Re: [Nmh-workers] whatnow: can't attach because no header field name was given.

2012-03-15 Thread Jon Steinhart
valdis.kletni...@vt.edu writes: --==_Exmh_1331860781_2149P Content-Type: text/plain; charset=us-ascii On Thu, 15 Mar 2012 18:02:48 PDT, Jon Steinhart said: And yes, having defaults for common content types in the profile would be a good thing. At the time that I wrote this stuff

Re: [Nmh-workers] whatnow: can't attach because no header field name was given.

2012-03-15 Thread Jon Steinhart
Lyndon Nerenberg writes: On 2012-03-15, at 6:37 PM, Ken Hornstein wrote: With X-MH-Attachment? Could we please use nmh-* for this stuff? Just to make it clear this is nmh-specific? Are you suggesting having a header like nmh-attachment which is rfc-problematic or just that we change

Re: [Nmh-workers] Changes to -attach and -attachformat 1

2012-03-16 Thread Jon Steinhart
Ken Hornstein writes: Watching Ronald Guilmette struggle through making the attach command work, I decided that this stuff should be cleaned up. I understand Jon Steinhart's initial reluctance to make attach turned on by default, but it's been in there for a decade now and I haven't seen any

Re: [Nmh-workers] mime-aware filtering?

2012-06-25 Thread Jon Steinhart
Paul Vixie writes: On 6/25/2012 10:43 PM, Tethys wrote: Ken Hornstein writes: A possible way to solve the access to MIME parts problem might be to store the parts as messageNumber.partNumber* Creation of these parts would be optional, and eat space, but it would make indexing/grepping

Re: [Nmh-workers] mime-aware filtering?

2012-06-25 Thread Jon Steinhart
Paul Vixie writes: On 2012-06-25 11:56 PM, Ken Hornstein wrote: I also note that thread included someone (who shall remain nameless) offering to design a new API to replace m_getfld() :-) let's start talking about what it should look like? Well, for starters, it shouldn't include any

Re: [Nmh-workers] mime-aware filtering?

2012-06-25 Thread Jon Steinhart
Paul Vixie writes: On 2012-06-26 2:28 AM, Jon Steinhart wrote: Paul Vixie writes: let's start talking about what it should look like? Well, for starters, it shouldn't include any threatening commmentary! Big thing that I think that it needs other than cleanup is the ability to scan

[Nmh-workers] new nmh broken?

2012-07-18 Thread Jon Steinhart
Just upgraded. Have a message that looks like this: To: gumby, djb cc: Fcc: ssc Subject: Mucho Chango X-MH-Attachment: /home/jon/cb/ssc/e2/embedded/io_board/ioboard.c OK, this still needs some inspection and testing but to use

Re: [Nmh-workers] cruddy X-MH-Attach behavior

2012-08-09 Thread Jon Steinhart
ra...@hep.wisc.edu writes: I have... send: -alias aliases -attach X-MH-Attach -attachformat 1 and just sent a PDF with the msg body in plain text via... What now? attach ~/Quote_GSCQ33155_1344264047128.pdf resulting in... X-MH-Attach:

Re: [Nmh-workers] cruddy X-MH-Attach behavior

2012-08-09 Thread Jon Steinhart
Ken Hornstein writes: I took rader's issue to be that the plain text he wrote to accompany the PDF has come out as application/octet-stream in base64? Yeah, that's what I thought as well. That's what I tested and I couldn't reproduce. If that is happening then that's a bug, of course.

Re: [Nmh-workers] The attach feature

2012-09-10 Thread Jon Steinhart
Ken Hornstein writes: The attach feature is really great! Thank you very much!! I'd like to take credit for it, but it's really the brainchild of Jon Steinhart, with a fair number of improvements by David Levine. My major contribution was to make it work without having to configure

Re: [Nmh-workers] The attach feature

2012-09-11 Thread Jon Steinhart
n...@dad.org writes: I don't remember all the places I looked and things I tried, nor do I remember the order in which I did them. But here are some o f the things I tried: man whatnow (It told me the feature existed, but not much more) In my humble (but correct :-)

Re: [Nmh-workers] When send does not recognize a mime type

2012-09-11 Thread Jon Steinhart
Ken Hornstein writes: I guess I kinda believe the opposite. For example send won't send a message if it doesn't understand any of the addressees. I think that's a good thing. The general philosophy of mh was (contrary to the UNIX philosophy) that if anything is wrong do nothing. For various

Re: [Nmh-workers] The attach feature

2012-09-11 Thread Jon Steinhart
n...@dad.org writes: Instead of saying what information should be in what man pages, and what man pages should exist, let me opine a desideratum: Granted that what goes on under the hood (relationship of attach to send etc.) needs documentation, there ought to be documentation for the

Re: [Nmh-workers] When send does not recognize a mime type

2012-09-11 Thread Jon Steinhart
Ken Hornstein writes: We (by we I mean Steve Rader) did a one-time import; it's not done every build (for one, not all systems have /etc/mime.types). It would not be terribly hard to have nmh read this file on attach or read it on nmh-install. There is also the issue that if types are not in

Re: [Nmh-workers] The attach feature

2012-09-12 Thread Jon Steinhart
n...@dad.org writes: If a user doesn't want to use whatnow but wants to use the attach feature, they could manage the magic headers manually or via simple scripts (or now, mhmail). But what if she's not as smart or as knowledgeble as you? Then you, being smarter should help her out by

Re: [Nmh-workers] The attach feature

2012-09-12 Thread Jon Steinhart
Ken Hornstein writes: If a user doesn't want to use whatnow but wants to use the attach feature, they could manage the magic headers manually or via simple scripts (or now, mhmail). Guys, Is it me, or could we implement attach via: % anno +drafts 1 -append -nodate -component

Re: [Nmh-workers] The attach feature

2012-09-12 Thread Jon Steinhart
Ken Hornstein writes: Ah. Well, if your argument is with the existence of whatnow as opposed to the addition of attach to the existing whatnow we're in agreement. As per other heated discussions on this list, there is a strong don't break things mentality on this list (which got misplaced on

Re: [Nmh-workers] Requested send feature: Silently remove blank Nmh-Attachment headers

2012-09-13 Thread Jon Steinhart
n...@dad.org writes: It would be nice, if send would silently remove blank Nmh-Attachment headers. Then users could put them in their templates. At composition time, they could leave them blank, fill them in, or duplicate them for multiple attachments. That way, folks like me, wouldn't

[Nmh-workers] General attachment stuff

2012-09-13 Thread Jon Steinhart
OK, gonna try to answer some questions quickly here. Real work is keeping me pretty busy these days. 1. The attachment stuff all goes through the shell. See uip/whatnowsbr.c. I am not really happy with this approach, but it seemed expedient at the time. Would love to see something

Re: [Nmh-workers] I'm confused

2012-09-14 Thread Jon Steinhart
Ken Hornstein writes: what's happening is execve(/bin/sh, [sh, -c, $SHELL -c \ cd /tmp;ls `seq 1 5`\], ...) = 0 Yeah, I was actually thinking to myself when looking at that code, Hey, doesn't our popen() use sh -c? I look at this and I can't help thinking that's the wrong

Re: [Nmh-workers] I'm confused

2012-09-14 Thread Jon Steinhart
I think this is all making an excellent argument for why all this built-in magic should be pushed to external programs, where the behaviour will be 1) predictable, and 2) customizable by the end user (e.g a profile element to provide an alternative program to run). All you need to do is

Re: [Nmh-workers] I'm confused

2012-09-14 Thread Jon Steinhart
Lyndon Nerenberg writes: On 2012-09-14, at 12:14 PM, Jon Steinhart wrote: All you need to do is figure out how to track the current working directory! The back end programs would exec() from the CWD, so they could pwd(1)/getcwd(3) as required. Obviously 'cd' must remain a built

  1   2   >