<<< Date Index >>>     <<< Thread Index >>>

Re: mailcap problems



in message <20040812201229.GA2829@xxxxxxxxxxxx>, wrote Jessica Perry
Hekman thusly...
>
> On Thu, Aug 12, 2004 at 01:49:07PM -0400, parv@xxxxxxxx wrote:
> > in message <20040812141527.GA2121@xxxxxxxxxxxx>, wrote Jessica
> > Perry Hekman thusly...
> > >
> > > On Thu, Aug 12, 2004 at 10:05:35PM +0930, Wilkinson, Alex
> > > wrote:
> > > > 
> > > > image/jpeg; eog %s; test=test -n "$DISPLAY";
...
> Then I tried Alex's suggestion (reproduced above -- you thought I
> quoted all that unnecessarily, didn't you)

Yes, as far as my reply was concerned.


> exactly what that particular mailcap line of Alex's is supposed to
> change -- what behavior should I be seeing?

Add an explicit MIME type along w/ a test to see if environment
variable DISPLAY has non zero length (so that "eog" is executed only
if $DISPLAY is set supposedly only when X is running).


  - Parv

--