[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#58174: metamail is unable to launch any file



Le 2000-02-15 23:15:19 -0500, Brian White écrivait :
> reassign 58174 metamail
> --
> 
> > Package: mime-support
> > Version: 3.9-1
> > Severity: important
> 
> Since /etc/mailcap was not included, there is no way I can determine
> what the problem may be.  I'd guess that metamail is the source of
> the problem, or possibly the mailcap line created by the zgv file.
> 

Please find attached my mailcap file.

I have also tested the following format, that behave identically :

text/html
image/jpeg (under X11)
image/jpeg (on text console)

Thanks.

-- 
Jean-Philippe Guérard
###############################################################################
#
#  MIME types and programs that process those types
#
#  Much of this file is generated automatically by the program "update-mime".
#  Please see the "update-mime" man page for more information.
#
###############################################################################


###############################################################################
#
#  User section follows:  Any entries included in this section will take
#  precedence over those created by "update-mime".  DO NOT CHANGE the
#  "User Section Begins" and "User Section Ends" lines, or anything outside
#  of this section!
#

# ----- User Section Begins ----- #
# -----  User Section Ends  ----- #

###############################################################################

video/mpeg; /usr/bin/gtv '%s'; description="MPEG video files"; test=test -n "$DISPLAY"
video/mpeg; /usr/bin/plaympeg '%s'; description="MPEG video files"; test=test -n "$DISPLAY"
audio/basic; bplay '%s'; description="RAW audio format"
audio/x-wav; bplay '%s'; description="WAV audio format"
audio/x-voc; bplay '%s'; description="VOC audio format"
audio/mpeg; freeamp '%s'
application/ghostview; gnome-gv '%s'; description="postscript document"; test=test "$DISPLAY" != ""
application/postscript; gnome-gv '%s'; description="postscript document"; test=test "$DISPLAY" != ""
text/html; gnome-help-browser '%s';test=test "$DISPLAY" != ""
application/x-troff-man; /usr/bin/nroff -mandoc -Tlatin1; copiousoutput; print=/usr/bin/nroff -mandoc -Tlatin1 | print text/plain:-
application/postscript; /usr/bin/X11/gv '%s'; test=test -n "$DISPLAY"; description=postscript
application/ghostview; /usr/bin/X11/gv '%s'; test=test -n "$DISPLAY"
application/pdf; /usr/bin/X11/gv '%s'; test=test -n "$DISPLAY"
image/avs; display '%s'; test=test -n "$DISPLAY"
image/bie; display '%s'; test=test -n "$DISPLAY"
image/bmp; display '%s'; test=test -n "$DISPLAY"
image/cmyk; display '%s'; test=test -n "$DISPLAY"
image/dcx; display '%s'; test=test -n "$DISPLAY"
image/eps; display '%s'; test=test -n "$DISPLAY"
image/fax; display '%s'; test=test -n "$DISPLAY"
image/fits; display '%s'; test=test -n "$DISPLAY"
image/gif; display '%s'; test=test -n "$DISPLAY"
image/gray; display '%s'; test=test -n "$DISPLAY"
image/gradation; display '%s'; test=test -n "$DISPLAY"
image/hdf; display '%s'; test=test -n "$DISPLAY"
image/jpeg; display '%s'; test=test -n "$DISPLAY"
image/map; display '%s'; test=test -n "$DISPLAY"
image/miff; display '%s'; test=test -n "$DISPLAY"
image/mono; display '%s'; test=test -n "$DISPLAY"
image/mtv; display '%s'; test=test -n "$DISPLAY"
image/x-portable-bitmap; display '%s'; test=test -n "$DISPLAY"
image/pcd; display '%s'; test=test -n "$DISPLAY"
image/pcx; display '%s'; test=test -n "$DISPLAY"
image/pdf; display '%s'; test=test -n "$DISPLAY"
image/x-portable-graymap; display '%s'; test=test -n "$DISPLAY"
image/pict; display '%s'; test=test -n "$DISPLAY"
image/png; display '%s'; test=test -n "$DISPLAY"
image/x-portable-anymap; display '%s'; test=test -n "$DISPLAY"
image/x-portable-pixmap; display '%s'; test=test -n "$DISPLAY"
image/ps; display '%s'; test=test -n "$DISPLAY"
image/rad; display '%s'; test=test -n "$DISPLAY"
image/x-rgb; display '%s'; test=test -n "$DISPLAY"
image/rgba; display '%s'; test=test -n "$DISPLAY"
image/rla; display '%s'; test=test -n "$DISPLAY"
image/rle; display '%s'; test=test -n "$DISPLAY"
image/sgi; display '%s'; test=test -n "$DISPLAY"
image/sun-raster; display '%s'; test=test -n "$DISPLAY"
image/targa; display '%s'; test=test -n "$DISPLAY"
image/tiff; display '%s'; test=test -n "$DISPLAY"
image/uyvu; display '%s'; test=test -n "$DISPLAY"
image/vid; display '%s'; test=test -n "$DISPLAY"
image/viff; display '%s'; test=test -n "$DISPLAY"
image/x-bitmap; display '%s'; test=test -n "$DISPLAY"
image/x-xwindowdump; display '%s'; test=test -n "$DISPLAY"
image/yuv; display '%s'; test=test -n "$DISPLAY"
text/plain; shownonascii iso-8859-1 '%s'; description="Plain ASCII Text"; test=test "$(echo %{charset} | tr "[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" != ""
text/richtext; shownonascii iso-8859-1 -e richtext -p '%s'; description="Richtext"; copiousoutput; test=test "$(echo %{charset} | tr "[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" != ""
text/enriched; shownonascii iso-8859-1 -e richtext -e -p '%s'; description="Enriched Text"; copiousoutput; test=test "$(echo %{charset} | tr "[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" != ""
message/partial; showpartial '%s' %{id} %{number} %{total}; description="An incomplete message"
message/external-body; showexternal '%s' %{access-type} %{name} %{site} %{directory} %{mode} %{server}; needsterminal; description="A reference to data stored in an external location"; composetyped="extcompose '%s"'
application/x-magicpoint; mgp -S '%s';; description=MagicPoint presentation; nametemplate=%s.mgp
application/x-debian-package; /usr/lib/mime/debian-view '%s'; needsterminal; description=Debian GNU/Linux Package; nametemplate=%s.deb
audio/basic; /usr/lib/mime/playaudio '%s'; description=Basic uLaw Audio; nametemplate=%s.au
audio/mpeg; mpg123 -q '%s'
image/x-portable-bitmap; paul '%s'; description="PBM Image"; test=test "$DISPLAY"
image/x-portable-graymap; paul '%s'; description="PGM Image"; test=test "$DISPLAY"
image/x-xbitmap; paul '%s'; description="XBM Image"; test=test "$DISPLAY"
image/bmp; paul '%s'; description="BMP Image"; test=test "$DISPLAY"
audio/x-pn-realaudio; realplayer '%s'; test=test "$DISPLAY" != ""
application/x-tar; /bin/tar tvf -; print=/bin/tar tvf - | print text/plain:-; copiousoutput
application/x-gtar; /bin/tar tvzf -; print=/bin/tar tvzf - | print text/plain:-; copiousoutput
application/rtf; Ted '%s'; description=Rich Text Format file; test=test -n "$DISPLAY"; compose=Ted '%s'; edit=Ted '%s'; nametemplate=%s.rtf
application/x-dvi; /usr/X11R6/bin/xdvi '%s'; test=test -n "$DISPLAY"; description=TeX DVI file; nametemplate=%s.dvi
video/mpeg; mpeg_play '%s'; test=test "$DISPLAY" != ""; description=MPEG Video
text/plain; more '%s'; needsterminal
x-world/x-vrml; vrweb -URL '%u' -remote '%s'; description="VRML world"
image/gif; xanim +q '%s'; description="GIF Image"; test=test "$DISPLAY" != ""
image/jpeg; xanim +q '%s'; description="JPEG Image"; test=test "$DISPLAY" != ""
video/dl; xanim +q '%s'; description="DL video format"; test=test "$DISPLAY" != ""
video/fli; xanim +q '%s'; description="FLI Video Format"; test=test "$DISPLAY" != ""
video/mpeg; xanim +q '%s'; description="MPEG Video Format"; test=test "$DISPLAY" != ""
video/quicktime; xanim +q '%s'; description="QuickTime Video Format"; test=test "$DISPLAY" != ""
video/x-msvideo; xanim +q '%s'; description="AVI Video Format"; test=test "$DISPLAY" != ""
video/x-sgi-movie; xanim +q '%s'; description="SGI Video Format"; test=test "$DISPLAY" != ""
audio/basic; xanim +q +Ze '%s'; description="AU Audio Format"; test=test "$DISPLAY" != ""
audio/x-wav; xanim +q +Ze '%s'; description="WAV Audio Format"; test=test "$DISPLAY" != ""
application/xrx; view=xrx '%s'; description="remote X application"; test=test "$DISPLAY"; nametemplate=%s.rx
audio/basic; xmms '%s'; test=test "$DISPLAY" != ""
audio/mpeg; xmms '%s'; test=test "$DISPLAY" != "" 
audio/mpegurl; xmms '%s'; test=test "$DISPLAY" != "" 
audio/x-scpls; xmms '%s'; test=test "$DISPLAY" != "" 
audio/x-wav; xmms '%s'; test=test "$DISPLAY" != "" 
image/gif; /usr/bin/zgv '%s'; test=expr "`/usr/bin/tty`" : '/dev/tty[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\.tty[0-9][0-9]*\.'`hostname`'$' >/dev/null 2>&1; description=GIF Image; nametemplate=%s.gif; needsterminal
image/jpeg; /usr/bin/zgv '%s'; test=expr "`/usr/bin/tty`" : '/dev/tty[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\.tty[0-9][0-9]*\.'`hostname`'$' >/dev/null 2>&1; description=JPEG Image; nametemplate=%s.jpg; needsterminal
image/png; /usr/bin/zgv '%s'; test=expr "`/usr/bin/tty`" : '/dev/tty[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\.tty[0-9][0-9]*\.'`hostname`'$' >/dev/null 2>&1; description=PNG Image; nametemplate=%s.png; needsterminal
image/tiff; /usr/bin/zgv '%s'; test=expr "`/usr/bin/tty`" : '/dev/tty[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\.tty[0-9][0-9]*\.'`hostname`'$' >/dev/null 2>&1; description=TIFF Image; nametemplate=%s.tif; needsterminal
image/bmp; /usr/bin/zgv '%s'; test=expr "`/usr/bin/tty`" : '/dev/tty[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\.tty[0-9][0-9]*\.'`hostname`'$' >/dev/null 2>&1; description=BMP Image; nametemplate=%s.bmp; needsterminal
application/postscript; ghostview '%s'; description="Postscript"; test=test "$DISPLAY"
application/ghostview; ghostview '%s'; description="Postscript"; test=test "$DISPLAY"
text/richtext; richtext '%s'; description="Richtext"; copiousoutput
text/enriched; richtext -e '%s'; description="Enriched Text"; copiousoutput
application/postscript; pstotext '%s'; copiousoutput; description="PostScript document"
application/ghostview;  pstotext '%s'; copiousoutput; description="PostScript document"
text/plain; gview '%s'; edit=gvim -f '%s'; compose=gvim -f '%s'; test=test "$DISPLAY" != ""
text/plain; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
text/html; /usr/bin/w3m -T text/html '%s'; needsterminal; description=HTML Text; nametemplate=%s.html
application/pdf; /usr/bin/xpdf '%s'; test=test "$DISPLAY" != ""; description=Portable Document Format; nametemplate=%s.pdf
text/html; /usr/bin/lynx -force_html '%s'; needsterminal; description=HTML Text; nametemplate=%s.html
text/html; /usr/bin/lynx -force_html '%s'; needsterminal; description=HTML Text; nametemplate=%s.html
text/html; /usr/bin/mozilla '%s'; description=HTML Text; nametemplate=%s.html
image/gif; paul '%s'; description="GIF Image"; test=test "$DISPLAY"
image/jpeg; paul '%s'; description="JPEG Image"; test=test "$DISPLAY"
image/tiff; paul '%s'; description="TIFF Image"; test=test "$DISPLAY"
image/x-portable-pixmap; paul '%s'; description="PPM Image"; test=test "$DISPLAY"
image/x-xpixmap; paul '%s'; description="XPM Image"; test=test "$DISPLAY"
image/png; paul '%s'; description="PNG Image"; test=test "$DISPLAY"
text/html; /usr/bin/w3m -dump -T text/html '%s'; copiousoutput; description=HTML Text; nametemplate=%s.html
image/png; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=PNG Image; nametemplate=%s.png
image/bmp; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=BMP Image; nametemplate=%s.bmp
image/cmu-raster; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=CMU-RasterFile Image; nametemplate=%s.ras
image/g3fax; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=G3-FAX Image; nametemplate=%s.g3
image/gif; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=GIF Image; nametemplate=%s.gif
image/jpeg; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=JPEG Image; nametemplate=%s.jpg
image/targa; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=TARGA Image; nametemplate=%s.tga
image/x-portable-bitmap; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=PBM Image; nametemplate=%s.pbm
image/x-portable-graymap; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=PGM Image; nametemplate=%s.pgm
image/x-portable-pixmap; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=PPM Image; nametemplate=%s.ppm
image/x-rgb; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=RGB Image; nametemplate=%s.rgb
image/x-xbitmap; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=XBM Image; nametemplate=%s.xbm
image/x-xpixmap; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=XPM Image; nametemplate=%s.xpm
text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput; description=HTML Text; nametemplate=%s.html
text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput; description=HTML Text; nametemplate=%s.html
application/pdf; pstotext '%s'; test=expr `gs --version` ">=" 3.51 >/dev/null 2>&1; description="Portable Document Format document"
audio/mpeg; /usr/bin/gtv '%s'; description="MPEG audio files"; test=test -n "$DISPLAY"
audio/mpeg; /usr/bin/plaympeg '%s'; description="MPEG audio files"; test=test -n "$DISPLAY"
text/*; gview '%s'; edit=gvim -f '%s'; compose=gvim -f '%s'; test=test "$DISPLAY" != ""
text/*; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
text/*; more '%s'; needsterminal
application/msword; wordview '%s'; description="MS Word Text"; test=test "$DISPLAY"
application/msword; catdoc '%s'; copiousoutput; description="MS Word Text";
*/*; false; print=lpr '%s'
audio/*; /usr/bin/play

Reply to: