home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / acorn / tech / 1220 < prev    next >
Encoding:
Text File  |  1993-01-11  |  2.3 KB  |  74 lines

  1. Newsgroups: comp.sys.acorn.tech
  2. Path: sparky!uunet!pipex!warwick!pavo.csi.cam.ac.uk!cl.cam.ac.uk!crj10
  3. From: crj10@phx.cam.ac.uk (Clive Jones)
  4. Subject: File format translation protocol
  5. Message-ID: <1993Jan11.212512.12588@infodev.cam.ac.uk>
  6. Telephone-Messages: +44 223 33 4900
  7. Sender: news@infodev.cam.ac.uk (USENET news)
  8. Address: Christ's College, Cambridge CB2 3BU, ENGLAND.
  9. Nntp-Posting-Host: denton.cl.cam.ac.uk
  10. Organization: U of Cambridge, England
  11. Date: Mon, 11 Jan 1993 21:25:12 GMT
  12. Lines: 60
  13.  
  14. I had a little idea whilst bored over christmas. Wouldn't it be nice
  15. if there was a protocol whereby applications could ask other
  16. applications to perform filename translations for it? For example, if
  17. !Paint were equipped with such a protocol, and so was !ChangeFSI, you
  18. could directly drag a GIF onto !Paint, for example. With a bit of
  19. luck, you could also just drag a GIF back out of the save as dialogue,
  20. too.
  21.  
  22. The sort of protocol I had in mind would work as follows, and allow
  23. multiple translations to be performed where necessary:
  24.  
  25.   Filer->!Paint
  26.     GIF file adfs::MyDisc.Piccy has been dragged to icon 7 on the iconbar.
  27.  
  28.   !Paint broadcast:
  29.     I want a GIF translated to a Sprite. Can anyone help?
  30.  
  31.   No answer.
  32.  
  33.   !Paint broadcast:
  34.     I want a GIF translated to a Sprite using one intermediate step.
  35.     Can anyone help?
  36.  
  37.   !GIFtoPBM broadcast:
  38.     I want a PBM translated to a Sprite. Can anyone help?
  39.  
  40.   No answer.
  41.  
  42.   !GIFtoPBM gives up, and polls, so that another application can have
  43.   a go.
  44.  
  45.   !GIFtoClear broadcast:
  46.     I want a Clear translated to a Sprite. Can anyone help?
  47.  
  48.   !CleartoSprite->!GIFtoClear reply:
  49.     Yes, I am ready to do that. Send me the file now.
  50.  
  51.   !GIFtoClear->!Paint reply:
  52.     Yes, I am ready to do that. Send me the file now.
  53.  
  54.   !Paint->!GIFtoClear:
  55.     GIF file adfs::MyDisc.Piccy has been dragged to icon 7 on the
  56.     iconbar.
  57.  
  58.   !GIFtoClear->!CleartoSprite:
  59.     In-store data, with name adfs::MyDisc.Piccy of type Clear has been
  60.     dragged to icon 7 on the iconbar.
  61.  
  62.   !CleartoSprite->!Paint:
  63.     In-store data, with name adfs::MyDisc.Piccy of type Sprite has
  64.     been dragged to icon 7 on the iconbar.
  65.  
  66.   !Paint accepts this data as normal, and is then happy.
  67.  
  68. Are people interested in a formalisation of this protocol, and would
  69. they implement it?
  70.  
  71. Comments welcome, either in the group, or by e-mail.
  72.  
  73. --Clive.
  74.