Bug#199357: tetex-bin: texdoc tries to launch netscape
Package: tetex-bin
Version: 2.0.2-4.1
Severity: normal
Hello,
$ 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
Please notice that the -remote option will fail on most browsers (well,
that's what the || is for anyway).
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux haiti 2.4.21 #1 Sun Jun 15 02:50:19 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=de_DE
Versions of packages tetex-bin depends on:
ii debconf 1.2.42 Debian configuration management sy
ii debianutils 2.5.4 Miscellaneous utilities specific t
ii dpkg 1.10.10 Package maintenance system for Deb
ii ed 0.2-20 The classic unix line editor
ii libc6 2.3.1-17 GNU C Library: Shared libraries an
ii libgcc1 1:3.3.1-0pre0 GCC support library
ii libkpathsea3 2.0.2-4.1 shared libkpathsea for teTeX
ii libpng12-0 1.2.5.0-4 PNG library - runtime
ii libstdc++5 1:3.3.1-0pre0 The GNU Standard C++ Library v3
ii libwww-ssl0 [libwww0] 5.4.0-6 The W3C-WWW library (SSL support)
ii libxaw7 4.2.1-8 X Athena widget set library
ii perl 5.8.0-18 Larry Wall's Practical Extraction
ii t1lib1 1.3.1-1 Type 1 font rasterizer library - r
ii tetex-base 2.0.2-4 basic teTeX library files
ii xlibs 4.2.1-8 X Window System client libraries
ii zlib1g 1:1.1.4-13 compression library - runtime
-- debconf information excluded
Reply to: