[Techtalk] rxvt - was: Re: End key no longer goes to EOL
Telsa Gwynne
hobbit at aloss.ukuu.org.uk
Wed Jan 16 09:24:20 EST 2002
On Tue, Jan 15, 2002 at 08:59:13AM -0800 or thereabouts, Laurel Fan wrote:
> If you have it set up right, lynx is excellent for viewing graphics
> from the web. The external program to be spawned when it comes across
> an image file is defined either in /etc/lynx.cfg or /etc/mailcap.
> Both let you correlate a mime type with the appropriate external
> program, so in my /etc/mailcap, I have:
>
> image/jpeg; display '%s'; test=test -n "$DISPLAY"
Laurel, you are a star.
Thank you so much.
> which means lynx will call 'display' to display jpeg image. This was
> mostly done for me because debian sets up /etc/mailcap automatically.
> I also have mailcap entries for a pile of image/ types, audio/mpeg,
> application/msword, and a bunch of other stuff..
Yes, RH has a mailcap package which provides /etc/mailcap but
it doesn't use that: there's "image/* ee %s" instead. Which
doesn't work for me. This works much more nicely. What's the
"-n" flag for "test" doing?
Telsa
More information about the Techtalk
mailing list