Package: fbi Version: 2.07-8.1 Severity: minor fbi and fbgs only work in a Linux console. In particular, they fail in an xterm, with:
ioctl VT_GETSTATE: Invalid argument (not a linux console?) So, mailcap should not attempt to run them in such a case (where another tool could be used, like pdftotext for PDF). A test like test=test -z "$DISPLAY" -a "x$TERM" = xlinux solves this problem. Note: in case the method based on /etc/securetty suggested in bug 537696, it needs some other change, as running fbgs as root in an xterm doesn't work either. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-2-amd64 (SMP w/8 CPU cores) Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages fbi depends on: ii ghostscript 9.04~dfsg-2 ii libc6 2.13-21 ii libcurl3-gnutls 7.21.7-3 ii libexif12 0.6.20-1 ii libfontconfig1 2.8.0-3 ii libfreetype6 2.4.6-2 ii libgif4 4.1.6-9 ii libjpeg8 8c-2 ii libpng12-0 1.2.46-3 ii libtiff4 3.9.5-2 ii zlib1g 1:1.2.3.4.dfsg-3 fbi recommends no packages. Versions of packages fbi suggests: ii imagemagick 8:6.6.9.7-5+b1 -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

