Contents | < Browse | Browse >
FLAGS [CHECK|MATCH|ICON|WILD|ERRORS|DEBUG|CUT|ALL|HIDE|PIPE] [ON|OFF] ...
* With this you can configure some things. Use FLAGS without arguments
to see the current settings. The meaning of the keywords are:
CHECK: (default off) Activates or deactivates the programmers status line.
It is intended to debug external commands.
The status line (if activated) will only appear once a disk based
or resident program has been executed. The line appears as follows:
Result2: 0 time = 00:00:23.66 changes-> chip: 0 fast: 0 total: 0
Result2 shows the error code that can be asked for with IoErr.
Time shows how long the program took to execute in hours,
minutes, seconds, hundredths (This time does NOT include the time
it takes to load the program from disk). Changes show if the program
has left any memory still allocated. i.e. if 200 bytes of chip
memory were left allocated by the program, then you see "chip: -200".
The Return code (the program returns in D0) is shown as Fail-Level.
It also does some low memory checks on 68000 CPU systems. Be warned if
a "Changed ..." appears. Like Mungwall it sets address 0 to $C0DEDBAD.
MATCH: (default on) By default Filenamecompletion shows all files that matches
the given pattern. You can switch this off by using "FLAGS MATCH OFF".
ICON: (default off, OS2.0+) This enables iconifying when pressing ESCAPE
or clicking the Close-Gadget. To exit from ZShell use ENDCLI .
You need Workbench running and ZShell must have opened its own window
(start from Workbench, start with newcli or used -W when started from
CLI). When iconifying, a icon is created on the Workbench and the
window is closed. Double-clicking on this icon or dragging a file into
it pops ZShell up again. Use the ToolTypes "ICONNAME", "XPOS" and
"YPOS" to determine the name and position of the icon.
ToolType "ICONIFY" lets ZShell start in iconifyed mode.
WILD: (default on, OS2.0+) By enabling this, you force ZShell to use
AmigaDOS wildcard-patternmatching instead of the internal matcher.
Switch this off if you like the internal matcher better.
ERRORS: (default off) Most external commands show their errormessages
themselves, so you often see double error messages. Using ERRORS you can
switch off this behaviour, but you risk to miss some errormessages !
If you see a large errornumber, this command assumed that there will be
no error-output and does not set the correct errorcode --- this is
badly programmed !
DEBUG: (default off) This is for testing/debugging script-files. Switching
DEBUG to ON, the commands from the script appear on the window as they
are processed (you need to execute the script for that, ofcourse),
and redirection will be ignored (so you will see even output to >NIL: ).
CUT: (default on) For MORE . If ON, lines longer than the window will be
cutted at the end. If OFF, too long lines will wrapped to next line.
ALL: (default on) Enables the substitute ALL for the option -R .
Note that -R must be the first argument (or second after -Q) and ALL
must be the last argument.
(Only in this release you can place ALL anywhere you like)
HIDE: (default on) When on the cursor will be hidden for outputting. This
improves scrolling speed. Switching off is only thought for debugging.
PIPE: (default on) If ON, real pipes will be used, pseudo pipes otherwise.
See Anonymous Pipes for more.
eg. flags icon on all off
flags errors off all off check on
flags e. off a. off ch. on {same as above}