home *** CD-ROM | disk | FTP | other *** search
-
- Sphinx.doc v2.5b
- ⌐ 1991, Nicolas Dade. All Rights Reserved
- permission is hereby granted for non-commercial duplication and distribution
- doc file for the SPHINX: AmigaDOS device
- last revised: June 4th, 1991
-
-
- device name format:
-
- SPHINX has the same device name format as do CON: and NEWCON:,
- SPHINX:LeftEdge/TopEdge/Width/Height/Title[/more options]
- where any parameter may be left out, although the seperating `/'s may not be.
- (except for the `/' before the `more options', which is only included if
- more options are included) (these more options are used in WB2.0)
- thus the name
- SPHINX:0/0/640/70/SphinxWindow
- will open a SPHINX window at the upper left corner of the workbench screen
- 640 pixels across and 70 pixels high and call it `SphinxWindow'.
- and
- SPHINX:/45/32000//SphinxWindow/ALTwhatever/CLOSE
- will open a window the default number of pixels from the left edge of the
- screen, 45 pixels from the top, 32000 or the width of the screen, which
- ever is snaller, pixels across, the default number of pixels high, with
- a title `SphinxWindow', and the additional options are ignored.
-
- Windows smaller than 67 by 53 are made larger in the offending dimensions.
- If the window cannot be opened as specified because its position or size put
- it out of the screen, then the window is moved and/or trimmed so that it does
- fit. This auto-movement occurs only if the window cannot be opened where you
- specified (I try an OpenWindow() with your numbers first).
-
- - - - - - - - - - - - - - - - - - -
-
- typical mountlist entry for SPHINX:
-
- SPHINX:
- Handler = L:Sphinx-Handler
- Priority = 5
- StackSize = 7000
- GlobVec = -1
- #
-
- You don't have to call SPHINX SPHINX:. In fact, if you want to zap a program
- that is currently using CON: and force it to use SPHINX:, SPHINX will have to
- be named something with the same number of characters as CON:. to do this
- just change the line that reads:
- SPHINX:
- to a three letter string, like
- SPX:
- NOTE: Because the name you give the SPHINX device (in this example, SPX) is
- part of the name of configuration file, if you change the name of SPHINX, the
- configuration file must be renamed too.
-
- Because the name of SPHINX is part of the configuration file name, you can
- have several differently configured SPHINX devices at once by calling them
- different names, and making a separate MountList entry and configuration file
- for each. Even though each differently configured SPHINX has its own name,
- mountlist entry and configuration file, they all share the same handler file,
- L:Sphinx- Handler.
-
- If you are using SPHINX in the place of NEWCON, it is better to set Priority
- to what NEWCON: is (was) using; look at the NEWCON mountlist entry.
-
- To edit your MountList in order to add SPHINX to it, either:
- 1) if you are using arp's TYPE, go to a CLI and type
- TYPE >>devs:MountList MountList.SPHINX
- or
- 2) load devs:MountList into your favorite ascii file editor (a word-processor
- will do if it allows you to save the text as a plain ascii file), add
- in the lines above (SPHINX: to #) at the bottom of the file eithee by
- typing them in, or by inserting the file MountList.SPHINX, and save the
- file.
-
-