Contents | < Browse | Browse >
FLAGS [CHECK|MATCH|ICON|WILD|ERRORS|DEBUG|CUT|ALL] [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.
  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.

MATCH: 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 off, OS2.0+) By enabling this, you force ZShell to use
  AmigaDOS  wildcard-patternmatching  instead of the internal matcher. Use
  this if you like #? rather than * or if you need multiple * in one name.

ERRORS: (default on) 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)

eg.     flags icon on all off
        flags cut off all off check on