Article View: comp.sys.acorn.tech
Article #887File format translation protocol
From: Clive Jones
Date: Mon, 11 Jan 1993 21:25
Date: Mon, 11 Jan 1993 21:25
60 lines
2434 bytes
2434 bytes
I had a little idea whilst bored over christmas. Wouldn't it be nice
if there was a protocol whereby applications could ask other
applications to perform filename translations for it? For example, if
!Paint were equipped with such a protocol, and so was !ChangeFSI, you
could directly drag a GIF onto !Paint, for example. With a bit of
luck, you could also just drag a GIF back out of the save as dialogue,
too.
The sort of protocol I had in mind would work as follows, and allow
multiple translations to be performed where necessary:
Filer->!Paint
GIF file adfs::MyDisc.Piccy has been dragged to icon 7 on the iconbar.
!Paint broadcast:
I want a GIF translated to a Sprite. Can anyone help?
No answer.
!Paint broadcast:
I want a GIF translated to a Sprite using one intermediate step.
Can anyone help?
!GIFtoPBM broadcast:
I want a PBM translated to a Sprite. Can anyone help?
No answer.
!GIFtoPBM gives up, and polls, so that another application can have
a go.
!GIFtoClear broadcast:
I want a Clear translated to a Sprite. Can anyone help?
!CleartoSprite->!GIFtoClear reply:
Yes, I am ready to do that. Send me the file now.
!GIFtoClear->!Paint reply:
Yes, I am ready to do that. Send me the file now.
!Paint->!GIFtoClear:
GIF file adfs::MyDisc.Piccy has been dragged to icon 7 on the
iconbar.
!GIFtoClear->!CleartoSprite:
In-store data, with name adfs::MyDisc.Piccy of type Clear has been
dragged to icon 7 on the iconbar.
!CleartoSprite->!Paint:
In-store data, with name adfs::MyDisc.Piccy of type Sprite has
been dragged to icon 7 on the iconbar.
!Paint accepts this data as normal, and is then happy.
Are people interested in a formalisation of this protocol, and would
they implement it?
Comments welcome, either in the group, or by e-mail.
--Clive.
Technical Details
Message-ID:
<1993Jan11.212512.12588@infodev.cam.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!pipex!warwick!pavo.csi.cam.ac.uk!cl.cam.ac.uk!crj10Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.acorn.tech Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!warwick!pavo.csi.cam.ac.uk!cl.cam.ac.uk!crj10 From: crj10@phx.cam.ac.uk (Clive Jones) Subject: File format translation protocol Message-ID: <1993Jan11.212512.12588@infodev.cam.ac.uk> Telephone-Messages: +44 223 33 4900 Sender: news@infodev.cam.ac.uk (USENET news) Address: Christ's College, Cambridge CB2 3BU, ENGLAND. Nntp-Posting-Host: denton.cl.cam.ac.uk Organization: U of Cambridge, England Date: Mon, 11 Jan 1993 21:25:12 GMT Lines: 60