Contents | Index | < Browse | Browse >


                         TOOLTYPES & OPTIONS


The CLI or TOOLTYPE options are identical. The only difference is that
the TOOLTYPES are in the icons.

PORT=PortName   Usually the Public message port name is Gui4Cli.
                This way all GUIs are run from the same one program.
                
                You can, if you want, though, launch as many Gui4Cli's
                as you want, by specifying different PORT names for them.
                This keyword is the way to do it.

DEBUG           If this word appears in the commandline, then Gui4Cli
                is started in the "debug" mode, which means that it will
                print out in the default shell all commands that it
                executes, in the order it executes them. Use this command 
		to see what the program is doing, if it behaves illogically.
                The STACK statements that are printed out, you can forget.

                DEBUG (in a simplified form) can also be started/stopped
                at any time, with the SET DEBUG ON|OFF command, or by
                just pressing CONTROL-D while a G4C window is active.

BUFFERS=Bytes   When Gui4Cli starts up it grabs 12 buffers (pieces of
                memory), in which it does all the translating and other
                command processing. These are 1024 bytes long, by default.
                
                This means, for example, that your translated command
                line in a CLI or SENDREXX command, can not be longer
                than 1024 characters. It also means that your variables
                can not be bigger than this size.
                
                You may, if you want, change this with this option.
		You can also change it whith the  SET BUFFERS  command.

OUTPUT=Console  By default, the console specification for any output
                from CLI commands, or Gui4Cli error reports etc, is :

                - If started from a shell -> the shell itself
                - If started from WB -> "con:0/12/450/80/Gui4Cli Output/AUTO/CLOSE/WAIT"

                This is the console that is passed to all CLI commands.
                You may want to change this (to KCon:, or NIL: for example)
                so this is the way to do it. (Also with SET)

                Note also that you may specify a different console for
                each GUI (with the WinOut command), but this is wasteful,
                as each new console you specify uses memory.

EDITOR=Editor   When you press CONTROL-E, the default editor will be
(NOT CLI)       started up, in order to edit the current GUI.
                The default editor is c:ed.
                With this option you can change the name of the editor
                to whatever you want (ex : EDITOR=C:CygnusEd)

NOREQUEST       If you specify NOREQUEST as an option, you will disable
                the file requester which appears at startup. If no
                filename is given - allows you to put a GUI with an icon
                into the WBStartup drawer without getting a requester at
                startup time.

The OUTPUT and EDITOR can also be changed with the SET command.