home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / utils / sysutl / tools.lbr / PR.DZC / PR.DOC
Encoding:
Text File  |  1987-08-06  |  1.6 KB  |  41 lines

  1.  
  2. PR
  3.  
  4. PR is a replacement for the CP/M utility TYPE. It simply displays
  5. on the CRT the file referenced. Usage is simply
  6.  
  7.      PR <filename>
  8.  
  9. In this case,  wildcards and file lists don't make much sense and
  10. are  not supported.  The key thing about PR is its flow  control.
  11. Unlike virtually every other file display program,  it does _NOT_
  12. stop  at  the  end  of 24 lines and ask you to    press  a  key  to
  13. continue.  Nor    does  it use CP/M's ^S/^Q flow control (I am  the
  14. president,  founder,  and  only member of the Society to Ban  the
  15. Control Key).
  16.  
  17. Instead,  I  use a scheme I had gotten used to on other  systems,
  18. and  learned  to like.    The SPACE BAR halts  scrolling,  and  the
  19. CARRIAGE  RETURN resumes it again.  I know,  this seems a  little
  20. wierd  at  first,  but it's easy to get used to and  seems  quite
  21. natural after awhile.
  22.  
  23. The nice thing about this, aside from the fact that the space bar
  24. is big and easy to find in a hurry,  is that it also serves as    a
  25. "single-step" key.  After stopping the scroll with the space bar,
  26. hit it again to scroll one line, and again for the next, etc. Hit
  27. the RETURN key at any time to resume.
  28.  
  29. If  you've  seen  enough,  an (ugh!) ^C terminates  the  program.
  30. However, this only happens if the scrolling has been halted.
  31.  
  32. Unfortunately,    because of the way I implement raw character  I/O
  33. in  C,    the  CP/M  ^P key to send the file to the  printer  isn't
  34. supported.  If you want to redirect output to the printer, you'll
  35. still have to use TYPE. Sorry.
  36.  
  37. Jack W. Crenshaw
  38. P.O. Box 15888
  39. Tampa, Fla. 33684
  40. CIS 72325,1327
  41.