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

  1. ;
  2.  (Z34 resident program)            CLED                                       
  3.  
  4.              Size (recs) CRC   Version    Author/Latest Issue      Disk
  5.               n/a (n/a)  n/a   1.5        Rob Friefeld 7/91        Z3COM3
  6. CLEDINST.COM   6k (41)   E66A  1.5        Rob Friefeld 7/91        Z3COM3
  7. CLEDSAVE.COM   1k (8)    5310  1.5        Rob Friefeld 7/91        Z3COM3
  8.  
  9.   1- Syntax  2- Installation  3- History Save/Load Tool  4- Notes             
  10.  
  11.  
  12.    CLED is  a memory resident command line editor  which  extends  the minimal
  13. features of the CCP  to include  cursor movement,  insert/delete,  and record/
  14. recall of command lines.   Though part of the RCP, CLED is also a ZCPR "shell"
  15. which automatically reinvokes itself following any ZCPR command.  It thus uses
  16. up one shell stack entry (normally,  there are four,  which is plenty).   If a 
  17. ZS/ZDDOS,  DateStamper,  or Z3PLUS  clock is  implemented,  the command prompt 
  18. shows the system time.   To  disable time display under Z3PLUS (if you have no
  19. clock) set the system date to 01/01/78.
  20. :1
  21.  
  22.    Syntax   CLED
  23.             CLED [/]
  24.              If "/", run once only (e.g. from a shell such as ZFILER)
  25.  
  26.    The default control key set includes these important commands:
  27.  
  28.       CR - execute command line
  29.    ESC Q - pop the shell
  30.    ESC S - toggle recording on/off  (prompt shows >/>> to indicate state)
  31.       ^W - recall command lines from history stack
  32.       ^E - recall history in reverse direction
  33. :2
  34.  Installation 
  35.  
  36.    The installation program, CLEDINST, allows you to set up the editor to your
  37. preference.  The RCP can be installed directly in memory for testing, and then
  38. saved to a file with SNAP or NZBLITZ.  A SNAP or  NZBLITZ system configuration
  39. file can also be installed directly,  as can a RCPxxx.ZRL file IF it is assem-
  40. bled in SLR format.  (MREL format files are bit-shifted and cannot be install-
  41. ed.)   CLEDINST also serves  as  a  "Help"  utility by  displaying the current
  42. command bindings.  Type "CLEDINST //" for help with CLEDINST.COM.
  43. :3
  44.  History Save/Load Tool 
  45.  
  46.    CLEDSAVE writes the contents of the  history stack to  a text file on disk.  
  47. The file can  be  reloaded  later (CLEDSAVE <file> L),  or composed in advance 
  48. with  a text editor,  then loaded.   If the file is  too large for the history
  49. stack, as many commands as fit are loaded.
  50.  
  51.    CLEDSAVE is useful as in  a startup alias  to load  frequently used command
  52. lines from an easily altered file.  For example, alias START:
  53.  
  54. A15:
  55. CLEDSYS              <-- load SNAP image of ENV,TCAP,RCP,FCP,NDR,QUIET, & PATH
  56. CLEDSAVE CLED.VAR L  <-- load precomposed command lines into CLED
  57. CLED                 <-- turn the shell on
  58. ...                  <-- rest of startup line runs before CLED gets control
  59.  
  60.    For help with CLEDSAVE.COM, type "CLEDSAVE //".
  61.  
  62.    You may also use  SNAP or  NZBLITZ to  save the  system  segment image with
  63. command lines already loaded (turn SAVE OFF first).
  64. :4
  65.  CLED Notes 
  66.  
  67.    a. Vs 1.5 updates (7/5/91, Rob Friefeld):
  68.       - Simplified many routines for shorter code size.
  69.       - Echos CR immediately.
  70.       - Explicitly checks for comment line.
  71.       - Shell bit reset on entry for AT compatibility.
  72.       - New command:  Kill to next command.
  73.       - Backspace destructive/non-destructive installable.
  74.       - Alternate registers need not be preserved by BIOS on CIN call.
  75.