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

Re: mailcap



Thx, that's exactly what I'm looking for, works fine.

* Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx> schrieb am 04.10.2006 um 17:30:
> What you probably want to do is this:
> 
> application/pdf; pdftotext -layout %s -; copiousoutput; needsterminal; 
> test=test -z "$DISPLAY"
> application/pdf; xpdf %s; copiousoutput; test=test "$DISPLAY"
> 
> What this does is asserts that one will be used if X is available, and 
> the other will be used if X is not available.

Andreas