Re: RFC 1524
Daniel Glazman <Daniel.Glazman@der.edfgdf.fr> Thu, 26 September 1996 16:27 UTC
Received: from cnri by ietf.org id aa11379; 26 Sep 96 12:27 EDT
Received: from list.cren.net by CNRI.Reston.VA.US id aa11125;
26 Sep 96 12:27 EDT
Received: from localhost (localhost.0.0.127.in-addr.arpa [127.0.0.1]) by
list.cren.net (8.7.6/8.6.12) with SMTP id MAA12876;
Thu, 26 Sep 1996 12:19:47 -0400 (EDT)
Received: from cf01 (cledf.edf.fr [192.54.193.133]) by list.cren.net
(8.7.6/8.6.12) with ESMTP id MAA12859 for <ietf-822@list.cren.net>;
Thu, 26 Sep 1996 12:19:24 -0400 (EDT)
Received: from clserv02.edf.fr (clserv02.edf.fr [130.98.118.118]) by cf01
(8.6.12/8.6.12) with ESMTP id SAA27935 for <ietf-822@list.cren.net>;
Thu, 26 Sep 1996 18:20:59 +0200
Received: from cli51ak.der.edf.fr (cli51ak.der.edf.fr [130.98.16.29]) by
clserv02.edf.fr (8.6.12/8.6.12) with SMTP id SAA21571 for
<ietf-822@list.cren.net>; Thu, 26 Sep 1996 18:19:08 +0200
Received: by cli51ak.der.edf.fr (5.x/SMI-SVR4)
id AA28796; Thu, 26 Sep 1996 18:16:58 +0100
Message-Id: <9609261716.AA28796@cli51ak.der.edf.fr>
Date: Thu, 26 Sep 1996 18:16:58 +0100
Sender: owner-ietf-822@list.cren.net
Precedence: bulk
From: Daniel Glazman <Daniel.Glazman@der.edfgdf.fr>
To: ietf-822@list.cren.net
Cc: Daniel.Glazman@der.edfgdf.fr
Subject: Re: RFC 1524
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Mailer: MEUF [Mail Extended Using Faces v3.0.1 beta 1.1-full-mimePL1]
X-Listprocessor-Version: 8.1 -- ListProcessor(tm) by CREN
Ok, let's discuss a little bit before my head explodes (and my wife
calls me for dinner ;-)...
The thing we need first in mailcap format, in my opinion, is a
discrimination by parameter's value for each entry.
As an example, the composition command of a text/plain may
seriously vary in function of charset's value. A "us-ascii"
text could use the builtin user interface widgets and a
"iso-8859-8" could use an external post-processor in order
to translate latinized (us-ascii) hebrew into hebraic characters
in the corresponding charset. I know that this can be managed by
view-commands, compose-commands, and so on but this is not easy
to use in a tool which does not want to count on external viewers/
composers. And my (maybe yours too ?-) goal is to build/use a really
wysiwyg mime MUA pluggable into a brand new computer with just OS
on it and nothing else.
I think that two main ways are possible :
1) associate a mailcap entry to each parameter's variation. This can
be the byte-greediest solution but I think it's the simplest to implement
from the existing mailcap format.
2) integrate in each entry a way to switch (as a C statement) in
function of a paremeter's value. This is nicer but also more
complicated.
Example case 1:
text/plain; cat %s; \
parameter=charset STRING "us-ascii"; \
compose=bla-bla-something; \
copiousoutput
text/plain; heboutput %s; \
parameter= charset STRING "iso-8859-8"; \
bla-bla-bla
Example case 2 :
message/external-body;
parameter=access-type ENUM {"ftp", "anon-ftp", bla, bla }; \
parameter=name STRING; \
parameter=site STRING;\
...
case (access-type="ftp", bla-other, bla-conditions) \
view=...;\
compose=...;\
end; \
case (access-type="anon-ftp", bla-other, bla-conditions) \
view=...;\
compose=...;\
end; \
Still thinking aloud and waiting for your reactions (I hate time shifts).
BTW, how will a tool make the difference between a "old format" mailcap and a
new one if any ?
</Daniel>
- RFC 1524 Daniel Glazman
- Re: RFC 1524 Daniel Glazman