🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #6564

Debugging mailcap/mime.txt

#6564
From: Larry W. Virden
Date: Thu, 18 Nov 1993 14:33
40 lines
2606 bytes
How does one start debugging a mailcap and mime.txt?  Somehow I have mine
messed up, because when I try to see a .gif, I get the msg:

$ NOTE: TO MAKE THE PICTURE WINDOW GO AWAY, JUST TYPE q IN IT.
==> TO SAVE THIS IMAGE, COPY THE FILE /usr/tmp/xqaa14014 BEFORE EXITING

Option: geometry
Usage: xloadimage -geometry window_geometry
Description:
Specify the size of the display window.  Ignored if -fullscreen is given.
If used in conjunction with -onroot, this defines the size of the base image.

I have the following items in my mailcap - in this order:

image/jpeg; showpicture -viewer xv %s
image/*; showpicture %s
image/gif; showpicture %s; compose="xwd -frame | xwdtopnm | ppmtogif > %s\; exit 0"; description="An X11 window image dump in GIF format"
#image/gif; showpicture %s; compose="xwd -frame | xwdtoppm | ppmtogif > %s\; exit 0"; description="An X11 window image dump in GIF format"
image/x-xwd; showpicture %s; description="An X11 window image dump in X-XWD format"

Is it safe to assume that the order in the file is important?

Now that Mosaic is using the mailcap file, it is going to be quite important
that we keep in mind that there are quite a number of different utilities
using this file and we cannot just start any program.  For instance, my
trn uses .mailcap as does my mush - but they are character only based.
I need to somehow set up my mailcap so that X applications are only started
when in the X environment and only character applications occur when
I am logged in from home, using one of the other tools.

Also, I am interested in hearing about mailcap files that others  have on
Sun or other Unix systems.  What other data types do you handle, with what
utilties?

Thanks
-- 
:s 
:s Larry W. Virden                 INET: lvirden@cas.org
:s Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
Technical Details
Message-ID: <1993Nov18.143304.2693@cas.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.infosystems.www.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!news.ans.net!malgudi.oar.net!chemabs!lwv26

Show Full Headers
Complete Article Headers
Message-ID: <1993Nov18.143304.2693@cas.org>
Subject: Debugging mailcap/mime.txt
Date: Thu, 18 Nov 1993 14:33:04 GMT
From: lwv26@cas.org (Larry W. Virden)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.infosystems.www.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!news.ans.net!malgudi.oar.net!chemabs!lwv26
Newsgroups: comp.infosystems.www,comp.mail.mime,news.software.readers
Followup-To: comp.infosystems.www
Sender: usenet@cas.org
Reply-To: lvirden@cas.org
Organization: Nedriv Software and Shoe Shiners, Uninc.
Lines: 39