On Wed, Jul 24, 2013 at 04:29:06PM +0200, Vincent Lefevre wrote:
> Package: lynx-cur
> Version: 2.8.8dev.15-2
> Severity: normal
> 
> For XHTML documents, lynx opens an external browser (in my case,
> epiphany-browser) if $DISPLAY is set, instead of just displaying
> it like when $DISPLAY is not set.

Lynx is working as designed.  You're referring to using the global
mime.types and mailcap files in /etc.  If you want different behavior,
you can select this in the options menu (the "Preferred Media Type").

For reference, /etc/mailcap for my Debian experimental has these lines:

application/xhtml+xml; kfmclient openURL %s text/html; test=test -n "$DISPLAY"
application/xhtml+xml; epiphany-browser %s; test=test -n "$DISPLAY"

and /etc/mime.types has this:

application/xhtml+xml                           xhtml xht

Incidentally, kfmclient doesn't appear to know what to do with a ".xht" file.

-- 
Thomas E. Dickey <dic...@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature

Reply via email to