home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / system / sphinx.lzh / SPHINX2.5y / Docs / Setup.doc < prev    next >
Encoding:
Text File  |  1992-01-10  |  7.0 KB  |  159 lines

  1.  
  2.                   Sphinx.doc v2.5b
  3.          ⌐ 1991, Nicolas Dade. All Rights Reserved
  4.  permission is hereby granted for non-commercial duplication and distribution
  5.           doc file for the SPHINX: AmigaDOS device
  6.  last revised: June 20th, 1991
  7.  
  8.  
  9. NOTE: this recipe is for a typical machine, which has not been over config-
  10. ured by its user. if this is not the case, either you made your machine the
  11. mess it is yourself, and can reinterpret these instructions, or someone else
  12. did it for you, in which case you are just going to have to find that person
  13. and beg.
  14.  
  15. to update SPHINX from version 2.4 or 2.4b to version 2.5b:
  16.  
  17. 1  copy the new Sphinx-Handler to L:
  18. 2  copy the new SPHINXConfig editor to where ever you are keeping it
  19. 3  load the v2.4 configuration file into SPHINXConfigv2.5b, edit the new
  20.    fields, and save it, thereby creating a v2.5 configuration file.
  21. end
  22.  
  23. NOTE: if you then wish to try out the new SPHINX, but have given it a name
  24. of a SPHINX that has already been mounted into the machine, you will have to
  25. follow the instructions for restarting SPHINX, below.
  26.  
  27.  
  28. to set up SPHINX on your machine if you don't already have SPHINX set up:
  29.  
  30. 1  copy Sphinx-Handler to L:
  31. 2  create a configuration file using SPHINXConfig by starting SPHINXConfig
  32.    running, editing what you want to change, and then pressing [Save v2.5]
  33.    (see SPHINXConfig.doc for more).
  34. 3  either
  35.   3.1 using a text editor add to your MountList (devs:MountList) an entry
  36.       for SPHINX. (see Section II)
  37.    or
  38.   3.1 using a CLI append the file MountList.SPHINX to your MountList
  39.    or
  40.   3.1 just copy the file MountList.SPHINX to devs: and in part 4 add
  41.       the text
  42.       Mount SPHINX: from devs:MountList.SPHINX
  43. 4  edit your startup-sequence or user-startup, using a text editor, adding
  44.    to it
  45.    Mount SPHINX:
  46.    (try to put this next to where you mount NEWCON:)
  47. 5  either
  48.   5.1 copy the file SShell.info to where you keep your Shell's icon, either by
  49.       dragging the icon with WorkBench or copying SShell.info with some other
  50.       program.
  51.   5.2 select this icon and chose Info from Workbench's menu
  52.   5.3 under DEFAULT TOOL, type in the shell you wish to pair up with this icon
  53.       (if you wish to have different shells available, make one SShell icon
  54.        for each shell)
  55.       If you are not sure what shell you are using or what it is named, first
  56.       look at what your current shell icon is using, and use the same.
  57.   5.4 If you like, edit the tooltype WINDOW so that the window comes up with
  58.       the title and position you desire (NOTE: even if the current window
  59.       position & size are not possible, it is all right--SPHINX will realize
  60.       this and adjust)
  61.    or
  62.   5.1 duplicate your Shell's icon (Shell.info)
  63.       (you may need to use a CLI, WorkBench1.3 will not copy an icon if it
  64.        can't find a corresponding file, but if you dislike CLIs, try using
  65.        WorkBench first)
  66.   5.2 select this duplicate's icon, and chose Info from Workbench's menu
  67.   5.3 either there is a TOOL TYPE called WINDOW, in which case
  68.     5.3.1 replace `NEWCON:' or `CON:' or whatever window handler you are
  69.       using with `SPHINX:'
  70.       or
  71.     5.3.1 click on [ADD], then type in:
  72.       WINDOW=SPHINX:0/0/1000/1000/MySphinxShellWindow
  73.       or similar (change the window's position, size and title at your
  74.       whim)
  75. end
  76.  
  77.  
  78. if you want to try sphinx out right away (without rebooting):
  79.  
  80. 1  if you haven't set SPHINX up, follow the instructions above for setting
  81.     SPHINX up.
  82. 2  open a CLI or Shell that does NOT use SPHINX: and type
  83.     Mount SPHINX:
  84.    (or `Mount SPHINX: from devs:MountList.SPHINX' if you just copied the file)
  85. 3  either
  86.   3.1 double-click on the SPHINX shell icon you created
  87.       if everything goes well, a window should open and print out SPHINX's
  88.       startup message (because this is the first SPHINX window), then the
  89.       shell's startup message, and then a prompt.
  90.    or
  91.   3.1 type `newshell SPHINX:0/0/1000/1000/NewSphinxShellWindow'
  92. end
  93.  
  94.  
  95. if while SPHINX is starting up it detects a condition that will keep it from
  96. running on your system (i.e. a lack of memory, can't open window, can't find a
  97. usable font, etc...) then it will show you an alert. There is nothing
  98. harmfull about this alert; just use the alert code (the four letter string)
  99. and look it up in the SPHINX alert table in Section I. If you can correct the
  100. error (the chart contains suggestions about this), then do so and then try
  101. starting SPHINX again, as described below.
  102.  
  103. NOTE: the startup code in SPHINX has been modified so that if a startup is
  104. not successfull, it can be tried again and again until it is, without
  105. restarting the handler. However opening the window and the fonts is NOT
  106. part of the startup code; if this fails and you want to try it again, you
  107. should restart SPHINX.
  108.  
  109. to restart SPHINX on a machine that already has a SPHINX of that name mounted:
  110.  
  111. open a CLI and type first
  112.  assign SPHINX: remove
  113. ,then
  114.  mount SPHINX:
  115. ,substituting for `SPHINX:' whatever name you have given this SPHINX, and
  116. then start SPHINX running using whatever program with which you are paring
  117. it (this is what you do when you double-click on the SPHINX shell icon).
  118.  
  119.  
  120. If you have a program that currently uses CON or NEWCON and you would like to
  121. try it with SPHINX, there are two possibilities.
  122.    if the program lets you choose who handles its window, like the shell
  123.    did (see above), then just change the `CON' or `NEWCON' to `SPHINX' (just
  124.    as you did with the shell).
  125. or
  126.    if the program is "hard coded" to use CON or NEWCON, then the device name
  127.    probably appears some place in the program. Using a file editor (like
  128.    DiskX or FedUP), (and, for those of you who use PowerPacker, a
  129.    decompressed version) search for the string `CON:' or `NEWCON:', and
  130.    replace those characters with, say, `SPX:' or `SPHINX:' (or anything with
  131.    the appropriate number of characters. Then make a configuration file and a
  132.    mountlist entry for the SPHINX, mount the SPHINX, and start the modified
  133.    version of the program running. If the program isn't using CON/NEWCON's
  134.    more complex commands, everything should be fine.
  135.  
  136.  
  137. If you want more than one SPHINX (because you want windows with different
  138. configurations), chose a device name that hasn't been used yet, and repeat
  139. the steps for setting SPHINX up from scratch with it, replacing everywhere
  140. there is the string `SPHINX' your new name.
  141. The new SPHINX can still used the same handler, L:Sphinx-Handler, but will
  142. need a new name, mountlist entry, configuration file, and `Mount NAME:' in
  143. the startup sequence (and, if you are using this new one for a shell, a new
  144. icon).
  145.  
  146. There is no need to have a SPHINX called `SPHINX', it is just the suggested
  147. name.
  148.  
  149. I suggest that you use either the cursor shape or the window border colors
  150. or input text color to differentiate differently configured SPHINXs.
  151. The differently configured SPHINX will load its own copy of Sphinx-Handler,
  152. which, once it is started, will discover the first copy, delete most of
  153. itself, and start using the code of the first copy of Sphinx-Handler. This
  154. way differently configured SPHINXs don't cost very much in terms of memory
  155. (about 500 bytes of local code & data,+the stack and the memory used by the
  156. window).
  157.  
  158.  
  159.