[Alpine-info] Re: display of html content
Mike Miller
mbmiller+l at gmail.com
Sat Nov 12 15:01:07 PST 2011
On Sat, 12 Nov 2011, Andraž 'ruskie' Levstik wrote:
> :2011-11-12T12:45:Joe(theWordy)Philbrook:
>
>> IF the "A" toggle would still yield Alpines internal HTML rendition,
>> how would I command it to call the browser on {*_just_the_one_*} HTML
>> attachment?
>
> View attachment list -> select attachment -> hit view ?
That's what I always do. Occasionally the browser is too slow and the
temp file is gone by the time it loads, but it usually works. My problem
might be caused by using chromium-browser with a lot of tabs open.
Still, this method does not show the embedded images that are additional
attachments of the message. I think we need to open something else, like
Thunderbird, to see those messages.
Mostly for UNIX/Linux (and possibly OS X) users:
I just decided to find my own way to deal with this problem. I am using
Ubuntu (but this should work on all UNIXes). I've been annoyed by
Thunderbird's behavior -- every time I fire it up it creates one .msf file
for every mail folder (a.k.a. mbox file) in my ~/mail directory. It also
creates an empty ~/mail/Inbox file that I don't want. My Alpine inbox
file is ~/mail/inbox (of course Linux file systems are case sensitive).
So this is what I did to make things work for myself:
mkdir ~/mail2
touch ~/mail/tbird
cd ~/mail2
ln -s ../mail/tbird
cd -
Next I saved an Alpine message in my Alpine tbird folder. Then I opened
Thunderbird. It was set to use ~/mail (probably because I had used it
previously), so immediately after opening, I clicked on "View Settings for
Account" and changed the path from /whatever/mail /whatever/mail2 and
exited Thunderbird. Because it was looking in ~/mail/ it created a bunch
of files there and I deleted them like so:
rm ~/mail/*.msf ~/mail/Inbox
(The "Inbox" file was zero bytes and not the "inbox" file Aline uses.)
Then I opened Thunderbird again. This time it showed "Local folders" on
the left from the ~/mail2/ directory and "tbird" was one of them. I
opened it and there was my message.
So now when I get a message with html where the embedded graphics are
attached to the message, I save a copy in my tbird folder in Alpine, then
open Thunderbird to view the message.
I added a few more symlinks to ~/mail/ from ~/mail2/ and looked at other
Alpine mail folders from Thunderbird. It left all the .msf junk in the
~/mail2/ folder and didn't change files in ~/mail/ so doing things that
way makes Thunderbird a fairly convenient reader for those rare occasions
where Alpine isn't quite up to the job.
Mike
More information about the Alpine-info
mailing list