Bug#122783: texdoc: use gv if ghostview is not around
Package: tetex-bin
Version: 1.0.7+20021025-5
Followup-For: Bug #122783
The settings from texdoctk seem to work well. See patch.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux joseph 2.4.20 #1 Fri Dec 13 22:06:52 CST 2002 i686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
Versions of packages tetex-bin depends on:
ii debconf 1.2.20 Debian configuration management sy
ii debianutils 2.0.4 Miscellaneous utilities specific t
ii dpkg 1.10.9 Package maintenance system for Deb
ii ed 0.2-19 The classic unix line editor
ii libc6 2.3.1-5 GNU C Library: Shared libraries an
ii libkpathsea3 1.0.7+20021025-5 shared libkpathsea for teTeX
ii libpng12-0 1.2.5-8 PNG library - runtime
ii libwww0 5.4.0-5 The W3C WWW library
ii libxaw7 4.2.1-4 X Athena widget set library
ii perl-tk 1:800.024-1.1 Perl module providing the Tk graph
ii t1lib1 1.3.1-1 Type 1 font rasterizer library - r
ii tetex-base 1.0.2+20021025-3 basic teTeX library files
ii xlibs 4.2.1-4 X Window System client libraries
ii zlib1g 1:1.1.4-8 compression library - runtime
-- debconf information:
* tetex-bin/cnf_name:
* tetex-bin/groupname: users
tetex-bin/userperm: false
tetex-bin/groupperm: true
* tetex-bin/lsr-perms: true
--- /usr/bin/texdoc 2002-12-09 17:07:59.000000000 -0600
+++ texdoc 2002-12-17 06:56:28.000000000 -0600
@@ -32,9 +32,9 @@
# Viewing programs, according to filename extension. (You can
# override or add to them by setting environment variables).
: ${TEXDOCVIEW_dvi='xdvi %s &'}
-: ${TEXDOCVIEW_pdf='acroread %s &'}
-: ${TEXDOCVIEW_ps='ghostview %s &'}
-: ${TEXDOCVIEW_html='netscape -remote openURL'"'(%s)'"' 2>/dev/null || netscape %s &'}
+: ${TEXDOCVIEW_pdf='see %s &'}
+: ${TEXDOCVIEW_ps='see %s &'}
+: ${TEXDOCVIEW_html='x-terminal-emulator -e see %s &'}
: ${TEXDOCVIEW_txt="${PAGER-more} %s"}
: ${TEXDOCVIEW_="${PAGER-more} %s"} # no extension, default to pager
Reply to: