home *** CD-ROM | disk | FTP | other *** search
- ;
- RPEEP.LIB
-
- Size (recs) CRC Version Author/Latest Issue Disk
- 1.2 Rob Friefeld 11/87 Z3COM5
-
- 1- Usage 2- Notes
-
-
-
- RPEEP is a text-file browser and lister incorporated as an RCP segment in
- Z33RCP. The CRT protocol has to be hard-coded into this module. If the TCAP
- were used, PEEP would not be practical.
- :1
- Usage:
-
- Hands rest on the home row of keys. Left hand moves ahead through text,
- right hand moves back.
- ---
- Go To Marker | 0 |
- ---
-
- Read More Init Set Print
- (if memory full) Printer Marker (from mark)
- --- --- --- ---
- | R | | I | | O | | P |
- --- --- --- ---
-
- --- --- --- --- --- --- --- --- --- ---
- | A | | S | | D | | F | | G | | H | | J | | K | | L | | ; |
- --- --- --- --- --- --- --- --- --- ---
- End Scan Next Next Find Rpt Prev Prev R/Scan Top
- Screen Line Screen Find Screen Line Screen
-
- X - Exit <sp> - Hop 10 lines <cr> - Next Screen (F) </,?> - File Name
- :2
-
- RPEEP Notes:
-
- a. If the entire file does not fit in memory, a message is printed. The
- 'R' command will then read in the next TPA-sized chunk of the file with
- one screen of overlap. When there is no more to be read, you can start
- over at the beginning.
-
- b. The 'O' command sets a place marker to the top of the current screen.
- You can return to it with a 'O'. The marker is also used as the start
- of the block to be listed with the 'P' command. The end of the block is
- bottom of the current screen. A prompt will ask if you really want to
- do a listing to: 1) give you a chance to recover from an accidental key
- strike, 2) make sure the printer is on, 3) think one last time about
- where the marker is - it is initialized to the start of the text.
-
-
- RPEEP Notes (continued):
-
- c. CRT requirements are: 80 cols (or more), 24 lines
- COMMAND DEFAULT
- ------- -------
- cls 1Ah
- ereol ESC,'T'
- gotoxy ESC,'=',row+32,col+32
- insert line ESC,'E'
- home cursor 1Eh
- stand out ESC,')'
- stand end ESC,'('
-
- d. To implement, make the following changes in Z33RCP.LIB:
- package switch - peepon equ yes
- command macro - command peep, peepon, false, peep
- and add the following to Z33RCP.Z80:
- if peepon
- include rpeep.lib
- endif
- l∞ renamσ thσ