home *** CD-ROM | disk | FTP | other *** search
-
- PUBMAN.DOC
- ==========
-
- pubman is a tool for manipulating public screens, it allows you to open new
- screens and to define which screen Workbench windows will open on, amongst
- other things.
-
- usage: (CLI only)
- pubman {<command>}
-
- where <command> is,
-
- li
- - list the names of all currently open public screens.
-
- dp[name]
- - set the default public screen. (This is the screen which JEd's windows
- will open on.) If no name is given the name of the current default
- screen is echoed back.
-
- md[s+|s-|p+|p-]
- - set the status of either of the available global public screen modes,
- they have the following meanings,
-
- s+ -- shanghai on
- s- -- shanghai off
- p+ -- poppub on
- p- -- poppub off
-
- shanghai - workbench windows will be opened on the default public
- screen
- poppub - when a visitor window is opened, the public screen it
- opens on is brought to the front of the display.
-
- If no argument is given the current modes (in hex) will be displayed
-
- di[displayID]
- - define the type of all subsequent screens opened by pubman, some of the
- available 'displayID's are,
-
- LORES -- 0x00000000
- HIRES -- 0x00008000
- SUPER -- 0x00008020
- HAM -- 0x00000800
- LORESLACE -- 0x00000004
- HIRESLACE -- 0x00008004
- SUPERLACE -- 0x00008024
- HAMLACE -- 0x00000804
-
- these all use the default monitor but they may be OR'ed with the
- following,
-
- NTSC_MONITOR -- 0x00011000
- PAL_MONITOR -- 0x00021000
- VGA_MONITOR -- 0x00031000 ; These two work slightly
- A2024_MONITOR -- 0x00041000 ; differently, see the includes
-
- the defined value is given as the SA_DisplayID tag for the screen,
- other values are defined in the include file, graphics/displayinfo.h
-
- the default value is 0x8000 (a hires screen on the default monitor).
-
- If no argument is given the current setting will be displayed (in
- hexadecimal)
-
- de[planes]
- - defines the number of bitplanes that opened screens will have, the
- relationship between the number of bitplanes and the number of
- available colours is,
- bpls, cols,
- 1 2
- 2 4
- 3 8
- 4 16
- ... ...
- n 2^n
-
- the default is 2 bitplanes.
- If no planes argument is given the current value is echoed.
-
- si[width/height]
- - defines the size of all subsequently `op'ened screens, if the values
- are larger than the text overscan area the screen will autoscroll.
- If no arguments are given the current values will be displayed.
-
- op<name>
- - attempts to open a public screen of name <name>. The dispID and depth
- values will be used to define the characteristics of the screen.
-
- cl<name>
- - closes the public screen <name>, only screens opened with the open
- command may be closed. There must be no visitor windows open on the
- screen before it is allowed to close.
-
-
- examples:
- To redirect new Workbench windows to an alternative screen,
- 1> pubman opNewScreen dpNewScreen mds+
-
- To run a program which opens its windows on the default public screen
- (ie, JEd) in its own screen, (from a script)
- if pubman opScreen dpScreen
- program-name
- pubman clScreen
- endif
-
-