home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / ZCPR33 / A-R / GETVAR12.LBR / GETVAR12.DOC < prev    next >
Text File  |  2000-06-30  |  2KB  |  56 lines

  1. GETVAR12.DOC
  2. September 6, 1987
  3.  
  4. Description of GETVAR12.Z80/.COM
  5.  
  6. This is a modification of the ZCPR3 utility GETVAR; only the changes are 
  7. described here.  Full documentation of this utility can be found in the 
  8. library file SHUTILS2.LBR, previously released.
  9.  
  10. The transformation from version 1.1 to 1.2 has involved the following 
  11. changes:
  12.  
  13. 1.  You may now abort the operation by typing a Control-C in the first 
  14.     position on the line.  The contents of the shell variable will then be 
  15.     unchanged.  If the shell variable had not been defined previously, it 
  16.     will not be defined after an abort.  If it had been previously defined, 
  17.     its contents will be unchanged.  If a Control-C is struck in any other 
  18.     position, it will be inserted in the line.  If you want your response 
  19.     to have a Control-C character in the first position, you may accomplish 
  20.     this by putting the Control-C in any position but the first and then 
  21.     deleting all characters in front of it.
  22.  
  23. 2.  The input editor now scrolls the entered text within the remainder of 
  24.     the physical line following the prompt, allowing you to move and edit 
  25.     freely within the line.  You may enter up to 127 characters.  Prompts 
  26.     may be longer than the screen width.  The line editor control keys are:
  27.  
  28.     ^S or left-arrow key if defined in TCAP   : move left 1 char
  29.     ^D or right-arrow key if defined in TCAP  : move right 1 char
  30.     ^E  : erase to [E]nd of line
  31.     ^U  : delete char [U]nder cursor
  32.     ^W  : delete [W]ord forward
  33.     ^X  : kill entire line
  34.     DEL : delete char before cursor
  35.     TAB : move to end of line, or if at end, to beginning
  36.     ^A  : move to beginning of previous word
  37.     ^F  : move to beginning of next word
  38.     ^H  : delete char before cursor
  39.     ^Q  : [Q]uote next char--insert char literal
  40.     ^C  : abort if at beginning of line.
  41.  
  42.     Cursor keys are evaluated first, and may mask later functions.  For 
  43.     instance, the left-arrow key on '83 Kaypros generates a ^H and 
  44.     therefore the backspace key will move left rather than deleting left.  
  45.     These editor commands are identical to those used in SH v. 2.0, except 
  46.     of course, that command history recall is not possible from within 
  47.     GETVAR, and ^X will not allow you to exit from GETVAR.
  48.  
  49. This revision was produced for Rick Charnes.
  50.  
  51.  
  52. Dreas Nielsen
  53. 16713 SE 12th St.
  54. Bellevue, WA   98008
  55. (206) 746-2782
  56.