I'm trying to get mhshow to automatically open up various applications
when different MIME types are present, and most of them work, but there
are a few exceptions.

The temporary files created by mhshow are names like: mhshowXXXXXX ,
and a few apps require a suffix in order to work correctly.

For example, with application/PostScript , I can get it to work
by using the line:
    mhshow-show-application/PostScript: %pgv -
but NOT
    mhshow-show-application/PostScript: %pgv '%F'
because gs/gv won't take a filename without the .ps suffix correctly (if
the file doesn't end in .ps, it appends it and then can't find the
resulting file).  Although this isn't so important (because I've got
a workaround), I'd like to use staroffice to automatically open with
application/msword (and others) types.  With a suffix, it's working
fine.  Without, it doesn't.

I could also write a simple wrapper script, but I'd rather not since
that means that I have to make changes in two places every time I add
a new MIME application.

Any suggestions?  Am I missing something basic?  Probably so.

Thanks in advance.



--------------------------|  Sullivan Beck  |---------------------------
mailto:[EMAIL PROTECTED]          |            Senior System Programmer
http://www.cise.ufl.edu/~sbeck     |               University of Florida
PH : (352) 392-1057                |                     CISE Department
Fax: (352) 392-1220                |                            CSE 314E
------------------------------------------------------------------------

Reply via email to