Package: xpdf-reader Version: 3.02-1.4+lenny2 Severity: wishlist Since the -remote option creates a new window if one isn't found, there's (it seems) no way to detect if a remote is present at all. This prevents me from having the behavior I'd like, which is:
If a remote window with name "report" exists: ask it to reload otherwise: create a new window and open "report.pdf" The closest solution I've found is to run: xpdf -remote report report.pdf But this causes an existing instance to go back to page 1, rather than stay on the current page like "-reload" would. What I would really like to do is something like: if xpdf -testremote report ; then xpdf -remote report -reload else xpdf -remote report report.pdf & fi Alternately, instead of -testremote, the ability to supress the automatic creation of a new window, and return an error instead, might be more useful. Then I could do: if ! xpdf -nocreate -remote report -reload ; then xpdf -remote report report.pdf & fi -jim -- System Information: Debian Release: 5.0.2 APT prefers testing APT policy: (300, 'testing'), (200, 'stable'), (50, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages xpdf-reader depends on: ii gsfonts 1:8.11+urwcyr1.0.7~pre44-3 Fonts for the Ghostscript interpre ii lesstif2 1:0.95.2-1 OSF/Motif 2.1 implementation relea ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib ii libfreetype6 2.3.7-2+lenny1 FreeType 2 font engine, shared lib ii libgcc1 1:4.4.4-8 GCC support library ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library ii libpaper1 1.1.23+nmu1 library for handling paper charact ii libsm6 2:1.0.3-2 X11 Session Management library ii libstdc++6 4.4.4-8 The GNU Standard C++ Library v3 ii libt1-5 5.1.2-3 Type 1 font rasterizer library - r ii libx11-6 2:1.3.3-3 X11 client-side library ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar ii libxp6 1:1.0.0.xsf1-2 X Printing Extension (Xprint) clie ii libxpm4 1:3.5.7-2 X11 pixmap library ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library ii xpdf-common 3.02-1.4+lenny2 Portable Document Format (PDF) sui xpdf-reader recommends no packages. Versions of packages xpdf-reader suggests: ii epiphany-gecko [www-browse 2.22.3-9 Intuitive GNOME web browser - Geck ii iceweasel [www-browser] 3.5.5-1 lightweight web browser based on M ii links [www-browser] 2.1pre37-1.1 Web browser running in text mode ii links2 [www-browser] 2.1pre37-1.1 Web browser running in both graphi ii lynx-cur [www-browser] 2.8.7dev9-2.1 Text-mode WWW Browser with NLS sup ii midori [www-browser] 0.1.8-1 fast, lightweight graphical web br ii w3m [www-browser] 0.5.2-2+b1 WWW browsable pager with excellent -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org