Subject: Re: Help with Viewing Images

From: [email-masked] (Bussiga Boran)
Date: 2 May 1997 09:50:56 GMT

In article <[email-masked]>,
	Bull <[email-masked]> writes:
> 
> For some reason, I can't seem to view images in email or on newsgroups.
> Any suggestions?  I realize this is basic, but darned if I can figure it
> out.  Thanks.

Have you tried:
setup->config->image viewer='the program you wish to use'?

-- 

Bussiga Boran
*****************************************************************************
   "Windows is not the answer, Windows is the question, the answer is no."
*****************************************************************************

---

From: Robin S Socha <[email-masked]>
Date: Sat, 3 May 1997 11:43:58 +0200 (CEST)

-----BEGIN PGP SIGNED MESSAGE-----

  >setup->config->image viewer='the program you wish to use'?

Good but not very flexible. Probably better: Check if you have metamail (you
probably will). Have a look at the mailcap file (should be /etc/mailcap) and
add a line like: 

     -------------8<--------- snip here -----8<------------------
# the test line specifies that this viewer should only be used if
# the display variable is set.
image/jpeg; xv %s;  test=test -n "$DISPLAY"

# The following sends all other image subtypes to xloadimage
image/*; xloadimage %s; ;  test=test -n "$DISPLAY"
     -------------8<--------- snip here -----8<------------------

That in itself isn't all that superior to Bussiga's solution, but there
should be some explanatory notes on further uses in connection with image
viewers in the mailcap file. Take for instance a situation in which Notscape
is already running. You could check for this and save yourself the time of
starting a new viewer. You could also take a CLI jpeg--viewer and launch X
viewers only for other images. Blablabla... ;-)

HTH,
Robin

- -- 
Robin S. Socha, Political Science Dept., Bonn University, Bonn
To get my pgp public key, send an e-mail with the subject "get pgp key"
GMC d++ s+:+ a- C++ UL++$>+++$ P+>++$ E>+ W- N+ o@ w--- M-- PS--- PE+++ Y+
PGP++>+++ t+() 5-- tv++(+) b+++ DI++ D+(++) G++>+++ e++>+++ h r++>+++ y+**

---

From: [email-masked] (Merton Campbell Crockett)
Date: Sat, 3 May 1997 23:08:03 GMT

Several quick questions.

(1)  In MAILCAP.SAM there are two examples for specifying an application to 
process a MIME attachment.  Is the semicolon, ";". a part of the syntax?  Or, 
is it there to have the remainder of the line treated as a comment?

(2)  If there is an entry in MAILCAP for a specific MIME type, does there need 
to be a corresponding entry in MIMETYPE?

(3)  If MAILCAP exists, must MIMETYPE also exist?

Merton Campbell Crockett
GTE Government Systems, ESD/IOO