On Mon, 05 Apr 1999, Vincent Lefevre wrote:
> and urlview thought that the URL were
> "http://astro.utoronto.ca/~reid/mutt/=20"
> instead of
> "http://astro.utoronto.ca/~reid/mutt/"
> Is there a way to send decoded attachments to urlview (without
> modifying variables)?
I use the following:
macro index \Cb ":set pipe_decode\n|urlview\n:unset pipe_decode\n" \
"call urlview to extract URLs out of a message"
macro pager \Cb ":set pipe_decode\n|urlview\n:unset pipe_decode\n" \
"call urlview to extract URLs out of a message"
This changes the variable pipe_decode but when it was unset before it
will be unset after running urlview. I want pipe_decode to be unset
normally, so this is acceptable for me.
> Or could urlview decode the message?
IMHO this means too much overhead for a program like urlview. But
maybe you want to have a look at mimedecode(1) which simply decodes
MIME to 8bit, so it could be used as a pre-filter for urlview.
mimedecode should be available at ftp://ftp.dde.dk/pub/mimedecode.c or
as a Debian package (source and binary, including a manpage).
Ciao
Roland
--
* [EMAIL PROTECTED] * http://www.spinnaker.de/ *
PGP: 1024/DD08DD6D 2D E7 CC DE D5 8D 78 BE 3C A0 A4 F1 4B 09 CE AF