home *** CD-ROM | disk | FTP | other *** search
/ ST-Computer Leser 1998 October / STC_CD_10_1998.iso / SYSTEM / OLGANISA / OLGANSTR.ENG < prev    next >
Text File  |  1998-09-26  |  3KB  |  55 lines

  1. Thomas Künneth
  2. tskuenne@linguistik.uni-erlangen.de                              25/1/97
  3.  
  4. OLGANSTR...??? You may wonder what this strange name means. Well, I 
  5. guess an apropriate translation might be 'OLGAnizer', something that 
  6. does not make much sense, though, too... :-) Throughout this document I 
  7. will use its German name OLGAnisator...
  8.  
  9. You may have heard of the OLGA protocol created by Thomas Much. OLGA is 
  10. an acronym for 'object linking for GEM applications'. It allows the 
  11. user to include sounds, texts, images, ... in documents of certain 
  12. applications. When a file in a so called server-application is saved 
  13. the client program is told about that and can update its document. Let 
  14. me give you an example: My program STELLA (some sort of database 
  15. program) organizes your files on your hard disk, CD-ROMs, even 
  16. documents in the Internet and tries to create small preview images. If 
  17. you double-click on a record that represents an image file the 
  18. apropriate server-application, i.e. a paint programm is launched. You 
  19. can modify the file and whenever it is saved STELLA notices that and 
  20. updates the preview image. The only problem is that applications have 
  21. to support the OLGA protocol. To avoid this problem I invented the 
  22. OLGAnisator.
  23. Here is a short description of what you have to do to make any 
  24. application participate in the OLGA protocol. For further information 
  25. on the protocol itself please refer to its documentation.
  26. In order to fulfil its task the OLGAnisator has to be mentioned in the 
  27. olga.inf file as if it were an ordinary client program. An example:
  28. Imagine we have the word processor xyz.app with its document files 
  29. *.STX. If you want xyz.app to become part of the protocol we have to 
  30. edit the olga.inf:
  31. .STX=x:\...\olganstr.app
  32. As xyz.app does not know about the protocol it would not make much 
  33. sense to include it in the olga.inf; we use the OLGAnisator instead. 
  34. Whenever a client application wishes to edit .STX files OLGAnisator is 
  35. launched. As it does not know much about STX files ;-) it will run 
  36. xyz.app. To tell the OLGAnisator where to find xyz.app we have a file 
  37. olganstr.inf, whichs looks as follows:
  38.  
  39. .STX=x:\...\...\xyz.app
  40.  
  41. Nothing else has to be done.. You may ask how the OLGAnisator works. 
  42. Well, it simply checks if file time and/or date has changed (which 
  43. means tht the file was saved); if this is the case OLGAnisator sends 
  44. the apropriate messages. You can specify the time between two cheks in 
  45. olganstr.inf
  46.  
  47. DELAY=xxxxx
  48.  
  49. with xxxxx the time given in millisecs.
  50.  
  51. Well, that should do... I hope you do have no problems with the 
  52. program. If you have questions, please feel free to ask. BTW, the 
  53. program is freeware. Please do not change parts of the program or its 
  54. documentation.
  55.