home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / SHWINI.ZIP / BOXEDIT.TXT < prev    next >
Text File  |  1992-06-01  |  2KB  |  49 lines

  1. BOXEDIT.CMD
  2. ===========
  3.  
  4. Allows editing text in an ASCII-OS2-window. 
  5.  
  6. usage:   BOXEDIT(first_row first_col last_row last_col style [, initial_text][,A|H])
  7. returns: edited text
  8.  
  9. argument 1: rectangular dimensions plus optional style
  10.             ... first_row = 0-based, first_col = 0-based
  11.             style ... "", 1, 2, 3
  12.  
  13. argument 2: initial text (optional) to be edited
  14.  
  15. arbument 3: optional type of text
  16.             A ... ASCII-Text (default)
  17.             H ... hexadecimal Text, i.e. string of hexadecimal digits e.g. "01AB1A"
  18.  
  19. argument 4: prompt to be displayed (optional)
  20.  
  21.  
  22. Following key-combinations can be used while editing:
  23.  
  24.         ESC             ... abort editing, return unchanged text
  25.         F10             ... save edited text, return it
  26.  
  27.         ENTER           ... get to beginning of next line
  28.  
  29.         TAB             ... advance cursor 8 characters
  30.         BACK-TAB        ... move cursor 8 characters backward
  31.  
  32.         CTRL-RIGHT      ... move cursor to beginning of next word
  33.         CTRL-LEFT       ... move cursor to beginning of present/previous word
  34.  
  35.         END             ... move cursor to last column of current line
  36.         HOME            ... move cursor to first column of current line
  37.  
  38.         CTRL-END        ... move cursor to last line, last column of box
  39.         CTRL-HOME       ... move cursor to first line, first column of box
  40.  
  41.         CTRL-ENTER      ... insert blank line, move current line down
  42.         CTRL-BACKSPACE  ... delete current line
  43.  
  44. Rony G. Flatscher,
  45. Vienna/Austria/Europe,
  46. Wirtschaftsuniversitaet Wien
  47. 1992-06-01
  48.  
  49.