[mew-int 01378] Re: StarSuite
Kazu Yamamoto ( 山本和彦 )
kazu at example.com
Fri Apr 4 17:30:55 JST 2003
From: "clemens fischer" <ino-qc at example.com>
Subject: Re: [mew-int 01372] Re: StarSuite
> you surely decide the program to run by examining the Content-Type?
Yes and no.
On Unix, a program is executed according to CT: with
mew-mime-content-type.
On Win and Mac, "fiber.exe" and "open" is executed according to CT:
with mew-mime-content-type, respectively.
"Fiber.exe", for example, executes an appropriate application
according to the suffix of a temporary file which Mew created
according to Content-Disposition:.
> then isolating the attachment like you're already doing could let
> users specify in an association list which program to run on which
> Content-Type, with the temporary file as an argument?
I read twice. But I don't understand what you are trying to say.
mew-mime-content-type is customizable. For example, configure
mew-prog-postscript with an application to display PostScript, for
Content-Type: application/postscript.
Note also that C-uC-cC-e let you specify CT:. If you specify
application/postscript, for exapmle, mew-prog-postscript will be
called. The default variable of CT: is guessed by the suffix of its
filename. This is convenient in a care where an application file is
labeled with CT: application/octet-stream (ie binary file) and the
suffix of its file name is correctly specified.
--Kazu
More information about the Mew-int
mailing list