1 ZTYPE
!
  Displays the contents of a file on the terminal screen.  ZTYPE is like
  TYPE /PAGE, with several important differences, which are documented in
  subtopic "Differences".

  One page (screen) of the file is displayed at a time.  The user must
  press RETURN to see the next page.  The user can press CONTROL-Z to
  exit from ZTYPE.

  WARNING -- ZTYPE truncates lines which are too long to fit on the screen.
             It does not wrap lines.  Information may be lost.
!
2 Parameter
!
  Specifies the name of the file to be displayed.  If no file type is used,
  .LIS is assumed.

  Wildcards and lists of files are not permitted.
!
2 Qualifiers

/COUNT_PAGES

  When /COUNT_PAGES is specified, ZTYPE will display, in addition to its
  standard prompt "Press RETURN to continue", the current page number, in
  the format "Page 1 of 10".  

  This makes ZTYPE less efficient, since it must read the file twice; first
  to count the pages, and then to display the pages.

  Note that a ZTYPE page may not correspond to a printed page.  ZTYPE con-
  siders one screenfull as a page.  This is normally 22 lines.
  
/LAST_PAGES

  When /LAST_PAGES=n is specified, where n is a positive integer, ZTYPE
  only displays the last n pages of the file.  This qualifier also causes
  /COUNT_PAGES and /NAVIGATE to be assumed.

  This makes ZTYPE less efficient, since it must read the file twice; first
  to count the pages, and then to display the pages.

  Note that a ZTYPE page may not correspond to a printed page.  ZTYPE con-
  siders one screenfull as a page.  This is normally 22 lines.
  
/NAVIGATE

  When /NAVIGATE is specified, ZTYPE allows a page number to be specified
  at the "Press RETURN to continue" prompt.

  If a valid page number is specified, then ZTYPE displays that page next.
  Enter the digits of the page number, followed by RETURN.  If RETURN is not
  pressed within three seconds, one is simulated.

  A minus sign can also be entered, and the previous page will be displayed.
  The minus sign does not require entering a RETURN after it; it is acted
  upon as soon as it is typed.

  This makes ZTYPE less efficient, since it must read the file twice; first
  to record the location of each page, and then to display the pages.

  This qualifier also causes /COUNT_PAGES to be assumed, and requires that
  the file not be over 1024 pages long.

  If the /LAST_PAGES qualifier is used, /NAVIGATE is assumed by default.

/PAGE

  This qualifier is present by default.  It can be specified so that
  command procedures only need to add a "Z" on a TYPE /PAGE command.

/VERSION

  When /VERSION is specified, ZTYPE displays its version number and
  creation date, then exits without displaying a file.  No parameter
  or other qualifier can be specified when using the /VERSION quali-
  fier.

2 Differences
!
  Differences between ZTYPE and TYPE /PAGE

    * ZTYPE does not allow wildcards or lists of files as its parameter.
      It only displays one file per invocation.

    * ZTYPE truncates lines to fit the screen; it does not wrap long
      lines.  Information will be lost on lines longer than the screen.

    * ZTYPE clears the screen before displaying each page, instead of
      scrolling the page onto the screen.  This makes it go faster, but
      may make it less easy to read conveniently.

    * ZTYPE displays its "Press RETURN to continue" prompt after the
      final page.  TYPE /PAGE does not do this.

    * ZTYPE allows refreshing the screen using CONTROL-W.

    * ZTYPE searches each line of the file for form-feeds, and starts
      a new page when one is found.

    * ZTYPE does not recognize most of the qualifiers used by the TYPE
      command, but has additional qualifiers /COUNT_PAGES, /LAST_PAGES,
      /NAVIGATE, and /VERSION.

    * The /NAVIGATE qualifier gives ZTYPE some limited ability to randomly
      browse through a file.
!
