home *** CD-ROM | disk | FTP | other *** search
-
- PR
-
- PR is a replacement for the CP/M utility TYPE. It simply displays
- on the CRT the file referenced. Usage is simply
-
- PR <filename>
-
- In this case, wildcards and file lists don't make much sense and
- are not supported. The key thing about PR is its flow control.
- Unlike virtually every other file display program, it does _NOT_
- stop at the end of 24 lines and ask you to press a key to
- continue. Nor does it use CP/M's ^S/^Q flow control (I am the
- president, founder, and only member of the Society to Ban the
- Control Key).
-
- Instead, I use a scheme I had gotten used to on other systems,
- and learned to like. The SPACE BAR halts scrolling, and the
- CARRIAGE RETURN resumes it again. I know, this seems a little
- wierd at first, but it's easy to get used to and seems quite
- natural after awhile.
-
- The nice thing about this, aside from the fact that the space bar
- is big and easy to find in a hurry, is that it also serves as a
- "single-step" key. After stopping the scroll with the space bar,
- hit it again to scroll one line, and again for the next, etc. Hit
- the RETURN key at any time to resume.
-
- If you've seen enough, an (ugh!) ^C terminates the program.
- However, this only happens if the scrolling has been halted.
-
- Unfortunately, because of the way I implement raw character I/O
- in C, the CP/M ^P key to send the file to the printer isn't
- supported. If you want to redirect output to the printer, you'll
- still have to use TYPE. Sorry.
-
- Jack W. Crenshaw
- P.O. Box 15888
- Tampa, Fla. 33684
- CIS 72325,1327