home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / prompt / escseq / cursor.hlp < prev    next >
Encoding:
Text File  |  1989-01-01  |  896 b   |  25 lines

  1.                    Cursor Control
  2.  
  3. The escape sequence 
  4.  
  5.     $e[<command>
  6.  
  7. is used to control the cursor location when a prompt is printed. Line numbers
  8. on the screen go from 1 at the top to 25 at the bottom (or maybe 43). Column
  9. numbers go from 1 at the left edge to 80 or more at the right edge. The various
  10. <command>s and their definitions are as follows:
  11.  
  12.        <command>    Definition:
  13.  
  14.     #1;#2H      position cursor to line number #1 and column number #2
  15.     #A        position cursor up # lines
  16.     #B        position cursor down # lines
  17.     #C        position cursor forward # columns
  18.     #D        position cursor backward # columns
  19.     #1;#2f      same as #1;#2H
  20.     2J        clear the screen and move cursor to home
  21.     K        clear the current line from the cursor position to the 
  22.              end of the line
  23.     s        save the current cursor position for use by u
  24.     u        restore the cursor to the position saved by s
  25.