Re: What to use for displaying MIME?

Troy Piggins <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
* Grant Edwards is quoted & my replies are inline below :
> On 2007-03-30, Troy Piggins <[email protected]> wrote:
> 
> First, I should say I was wrong about demime not rendering html
> and giving no indication of removed attachements.  It does
> indicate the filename and content type of some deleted parts.
> By running it on the command-line I've figured out that it was
> trying to use lynx to render HTML (which wasn't installed).
> Now that lynx is installed, that's working a little better.

Good to hear :)

[snip]
> > Are you typing <esc>6 etc in group or article mode?  It works in
> > article mode, and group mode I see the command prefix message you
> > must be seeing.
> 
> I swear I was typing it article mode. But upon trying it again,
> it works.  I added message() calls to register/unregister
> functions make it easier to tell.  The register/unregister was
> probably working before and I didn't know it...

Good to hear also.  Good idea about the messages.  I've added
them to mine also - don't know why I didn't do it sooner.  Oh
yeah, I'm an idiot.

> FWIW, here's the current version of unmime.py

Thanks for that. I've saved it in my $PATH, 
/usr/local/bin/unmime.py, made it executable, but how do you
invoke it?  I assumed similar to the perl script, so change this
line in demime.sl:

#v+
fp = popen ("/usr/local/bin/demime --quiet - < "+demime_tmp, "r");
#v-

to:

#v+
fp = popen ("/usr/local/bin/unmime.py - < "+demime_tmp, "r");
#v-

Or do you have your own macro wrapper?

Worked well for the couple of signed and html multipart (html
only untested) messages I checked.

Mind if I put it on my website - credits to you - as an
alternative for demime?  Anything you want me to say on there?

-- 
Troy Piggins                                                    ,-O   (o-    O  
slrn macros and howto: http://piggo.com/~troy/slrn             O   )  //\     O
http://piggo.com/~troy                                          `-O   V_/_  OOO
RLU#415538

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.