home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / zsus / z3help / r.lbr / RPEEP.HZP / RPEEP.HLP
Encoding:
Text File  |  1991-11-18  |  3.4 KB  |  74 lines

  1. ;
  2.                                    RPEEP.LIB                                  
  3.  
  4.              Size (recs) CRC   Version    Author/Latest Issue      Disk
  5.                                1.2        Rob Friefeld 11/87       Z3COM5
  6.  
  7.   1- Usage  2- Notes                                                          
  8.  
  9.  
  10.  
  11.    RPEEP is  a text-file  browser and lister incorporated as an RCP segment in
  12. Z33RCP.  The CRT protocol has to be hard-coded into this module.  If  the TCAP
  13. were used, PEEP would not be practical.  
  14. :1
  15. Usage:  
  16.  
  17.    Hands rest on the home row of keys.  Left hand moves ahead through text, 
  18. right hand moves back.
  19.                                                               ---    
  20.                                                 Go To Marker | 0 |
  21.                                                               ---
  22.  
  23.                          Read More                    Init    Set   Print
  24.                      (if memory full)               Printer Marker (from mark)
  25.                            ---                         ---    ---    ---
  26.                           | R |                       | I |  | O |  | P |
  27.                            ---                         ---    ---    ---
  28.  
  29.       ---    ---    ---    ---    ---    ---    ---    ---    ---    ---
  30.      | A |  | S |  | D |  | F |  | G |  | H |  | J |  | K |  | L |  | ; |
  31.       ---    ---    ---    ---    ---    ---    ---    ---    ---    ---
  32.       End   Scan   Next   Next   Find    Rpt   Prev   Prev   R/Scan  Top
  33.     Screen         Line  Screen         Find  Screen  Line          Screen
  34.  
  35.     X - Exit   <sp> - Hop 10 lines  <cr> - Next Screen (F)  </,?> - File Name
  36. :2
  37.  
  38. RPEEP Notes:
  39.  
  40.    a. If the  entire file  does not  fit in memory, a message is printed.  The 
  41.       'R' command will then read in  the next TPA-sized chunk of the file with
  42.       one screen of overlap.  When there is  no more to be read, you can start
  43.       over at the beginning.
  44.  
  45.    b. The 'O' command  sets a  place marker  to the top of the current screen.
  46.       You can return to it  with a 'O'.  The marker  is also used as the start
  47.       of the block to be listed with the 'P' command.  The end of the block is
  48.       bottom of the current screen.  A prompt  will ask  if you really want to
  49.       do a listing to: 1) give you a chance  to recover from an accidental key
  50.       strike, 2) make  sure  the printer  is on, 3) think  one last time about
  51.       where the marker is - it is initialized to the start of the text.  
  52.  
  53.  
  54. RPEEP Notes (continued):
  55.  
  56.    c. CRT requirements are:  80 cols (or more), 24 lines
  57.                                COMMAND       DEFAULT
  58.                                -------       -------
  59.                                cls           1Ah
  60.                                ereol         ESC,'T'
  61.                                gotoxy        ESC,'=',row+32,col+32
  62.                                insert line   ESC,'E'
  63.                                home cursor   1Eh
  64.                                stand out     ESC,')'
  65.                                stand end     ESC,'('
  66.  
  67.    d. To implement, make the following changes in Z33RCP.LIB: 
  68.          package switch - peepon equ yes
  69.          command macro  - command peep, peepon, false, peep
  70.       and add the following to Z33RCP.Z80:
  71.          if peepon
  72.         include rpeep.lib
  73.          endif
  74. l∞ renamσ thσ