Ron & Others,
On 00-08-24 17:49, Brendan Cully <[EMAIL PROTECTED]> wrote:
> As I recall, doing something like adding copiousoutput to the
> particular mailcap entry may work (by getting mutt to wait for you to
> press a key)... or maybe it was needsterminal...
'copiousoutput'!
Straight from my mailcap file:
text/html; netscape -remote 'openFile(%s)'; copiousoutput
This seems to put mutt into a wait mode awaiting for me to hit
Enter before proceeding. An extra keystroke, but great because I
can actually view the page/email.
>
> On Thursday, 24 August 2000 at 16:41, David Champion wrote:
> > On 2000.08.24, in <[EMAIL PROTECTED]>,
> > "Ron da Silva" <[EMAIL PROTECTED]> wrote:
> > >
> > > Seems like mutt writes attachments to /tmp and forwards the filename
> > > to netscape (based on my mailcap file) and then deletes the /tmp file;
> > > however, seems like sometimes the file gets deleted before netscape
> > > finishes reading the file from /tmp. Thus, I get a partial page or
> > > none at all.
> > >
> > > Anyone seen the above? Any ideas on fixing it?
> >
> > Use this script (or something like it) as your viewer, like this:
> > image/jpeg; ns-wrapper %s
> >
> > #!/bin/sh
> > ## Wrap ns so that it doesn't lose the file
> > set -- `echo $1 | sed -e 's/\(.*\)\.\([^\.][^\.]*\)$/\1 \2/'`
> > file=$1-tmp.$2
> > echo ln -s $1.$2 ${file}
> > netscape -remote "openURL(${file}, new-window)"
> > exec sh -c "sleep 60; rm -f ${file}" &
> >
> > Untested, watch out, beware, etc.
> >
>
> --
> Don't make Godzilla mad!
--
-* -kevin- *-
-* sick with the good infection *-
-* [EMAIL PROTECTED] *-
-* http://www.pobox.com/~kathey *-