Package: aview
Version: 1.3.0rc1-9
Severity: wishlist
Tags: patch

It'd be good if there were /etc/mailcap entries to run aview on pnm etc,
allowing for example

    see foo.pnm

on a tty.  (Or under X, though aview is unlikely to be the best
available image viewer in that case :-).

I get some joy from the debian/mime file below which the current
debian/rules debhelper bits install to /usr/lib/mime/packages/aview.

# priority=1 the same as caca-utils has for cacaview.
# This is below the web browsers like iceape at priority=2.
#
# -driver X11 makes its own native window and doesn't need a tty.
# Each X11 entry is before the -driver curses entry so that the native
# X is preferred when possible.
#
# ENHANCE-ME: Can one of the drivers do a "copiousoutput" style
# ascii-only "cat" to stdout (for priority=0)?  "-driver stdout" seems
# interactive still, which is not wanted for copiousoutput.
#
# ENHANCE-ME: "asciiview" and the numerous formats it can show by
# conversion could be included here.  But would need a "test" in each
# that the necessary imagemagick or netpbm is available.  Perhaps an
# option on asciiview could ask it nicely whether format xyz is
# possible.

image/x-portable-anymap; /usr/bin/aview -driver X11  '%s'; description=PNM 
Image; test=test -n "$DISPLAY"; priority=1
image/x-portable-anymap; /usr/bin/aview -driver curses '%s'; description=PNM 
Image; needsterminal; priority=1

image/x-portable-bitmap; /usr/bin/aview -driver X11 '%s'; description=PBM 
Image; test=test -n "$DISPLAY"; priority=1
image/x-portable-bitmap; /usr/bin/aview -driver curses '%s'; description=PBM 
Image; needsterminal; priority=1

image/x-portable-graymap; /usr/bin/aview -driver X11 '%s'; description=PGM 
Image; test=test -n "$DISPLAY"; priority=1
image/x-portable-graymap; /usr/bin/aview -driver curses '%s'; description=PGM 
Image; needsterminal; priority=1

image/x-portable-pixmap; /usr/bin/aview -driver X11 '%s'; description=PPM 
Image; test=test -n "$DISPLAY"; priority=1
image/x-portable-pixmap; /usr/bin/aview -driver curses '%s'; description=PPM 
Image; needsterminal; priority=1

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages aview depends on:
ii  libaa1  1.4p5-41
ii  libc6   2.17-92

aview recommends no packages.

Versions of packages aview suggests:
ii  imagemagick  8:6.7.7.10-6
ii  netpbm       2:10.0-15+b1

-- no debconf information

Reply via email to