Bug#199357: tetex-bin: texdoc tries to launch netscape
On 30.06.03 Jean-Nicolas Kuttler (nkuttler@gmx.net) wrote:
Hello,
I've merged both bugs. Thanks anyway!
> $ texdoc babel
> /usr/bin/texdoc: line 1: netscape: command not found
>
> A fix could look like:
>
> --- texdoc 2003-06-29 10:22:36.000000000 +0200
> +++ my 2003-06-29 10:23:29.000000000 +0200
> @@ -34,7 +34,7 @@
> : ${TEXDOCVIEW_dvi='xdvi %s &'}
> : ${TEXDOCVIEW_pdf='acroread %s &'}
> : ${TEXDOCVIEW_ps='ghostview %s &'}
> -: ${TEXDOCVIEW_html='netscape -remote openURL'"'(%s)'"' 2>/dev/null || netscape %s &'}
> +: ${TEXDOCVIEW_html='www-browser -remote openURL'"'(%s)'"' 2>/dev/null || www-browser %s &'}
> : ${TEXDOCVIEW_txt="${PAGER-more} %s"}
> : ${TEXDOCVIEW_="${PAGER-more} %s"} # no extension, default to pager
>
Do there exist something like /usr/bin/www-browser in unstable using
/etc/alternatives? Great! Thanks for pointing that out.
H.
--
sigmentation fault
Reply to: