                          TEXT EDITOR HELP

		  (By Dean Roth - changed by fjp)

^     means "control," as in the control <ctrl> key
^K    means "hold down the <control> key and then press "k"
^K^D  means control-K control-D
^Kd   means control-K d
^KD  means control-K D

"clipboard" is a temporary buffer to which data can be copied.
Used for "cut and paste" operations.

	<ESC>	Pops up menu       ^L  Redraws the screen

CURSOR MOVEMENT
  <-    Cursor left               <Up Arrow>    Cursor up    
  ->    Cursor right              <Down Arrow>  Cursor down 
  ^E    Go to End of line         ^T            Back one word
  ^A    Go to Beginning of line   ^W            Forward one word

PAGE MOVEMENT
  ^B    Backward one page         ^K^B  Go to begining of file
  ^F    Forward one page          ^K^F  Go to end of file
	
DELETE
  <BAKSP> Character to left of cursor
  <DEL>   Character under cursor
  ^Y      Erase the current line
  ^K^A    Delete to the begining of the line
  ^D      Delete the char in the cursor position
  ^K^D    Delete marked area (^X marks top of area) (and copy to clipboard)
  ^K^E    Delete to the end of the line
  ^K^T    Delete back-word
  ^K^W    Delete to the end of the next word
  ^K^Yc   Delete to char 'c'
  ^U      Undo recent changes to the current line

CUT/PASTE
  ^X      Mark start of area       ^P    Paste contents of clipboard
  ^K^X    Go to the last mark and  ^K^C  Copy marked area to clipboard
          set the mark.            ^K^D  Deleted marked area to clipboard
  ^K^X^X  Go to mark.		   ^K^P  Paste using a pipe to a shell command.

SEARCH/FIND
  ^N      Search Pattern       Pressing <RETURN> without entering any 
  ^Kn     Find Next            text will use the last pattern entered.
  ^KN     Find Previous        The chars '<' and '>' when specified as
  ^K^N    Find and Substitute  the first char in a pattern, will switch
                               the search direction. When entered alone,
                               changing the search pattern.
MISC
  ^C	  Copy a char from the line above.
  ^G      Match parenthesis (works with '(', '{' or '[' )
  ^J      Change Case and advance one char
  ^/ or
  ^_ 	  Again - repeats the last delete/insertion command.
  ^K<RET> Increase indent level.
  ^K<DEL> Decrease indent level.
  <TAB>	  Expand alias substitution, or completes the word under the cursor.
  ^K<TAB> Completes the word under the cursor.
  ^K^G    Put the current line in the middle of the screen
  ^K^U	  Switch to the next buffer.
  ^K^R	  Switch to the previous buffer.
  ^K^C    Switch Case sensitivity on/off
  ^L      Redraw Screen
  ^O      Switch Overwrite / Insert mode
  ^K^O    Switch Indent mode on/off
  ^KO	  Switch mouse events on/off.
  ^Ko	  Switch completion mode on/off (use of TAB to complete words).
  ^R      Repeat command
  ^V      Take next key literally to enter control codes
  ^K^V    Define a macro (redefine a key).
  ^I      The same as <TAB>

		
COMMAND MODE  ^K<ESC>
    q .... Quit.
    x .... Save & Quit.
    g .... Goto line number.
    r .... read text to the current position:
	rbN ---> Reads buffer N ( N = [0..20] ).
	r <fname> Reads a file.
    w .... writes :
	w -----> Saves to the current file-name's file.
	wbn ---> Writes to the buffer N.
	wbn [n1,n2] Writes to buffer N, from line n1 to n2.
	w <fname> Writes to a file.
	w [n1,n2] Writes to a file, from line n1 to n2.

    ! .... Executes a shell command.
	( Can also be used to adjust the screen limits
	  when the screen dimensions had changed by any reason. )
		
    i .... Display INFO relative to the current file.
		
    a .... Define alias:
	    a <key-string> <macro>
		
    s .... Show/Save the current definitions.
    s ............ Show definitions.
    s <fname> .... Save to a file.
			
    l .... Loads definitions from a file.
		
    b .... Select a different buffer/file.
	   bN where N is the buffer number ( from 0 to 20 ).
		
    d .... Delete the current buffer.
    h .... Help.
    p .... Redefine PREFIX key.

    m .... Show / Define wrap margin.
    m ............ Show current value.
    m N .......... Set wrap margin to column <N>.
		   Use -1 to disable word wrap.

    o .... Show / Define indent level shift width.
    o ............ Show current value.
    o N .......... Set shift width to <N> columns.
		   The default value is 4.

    


		
    Entered values:
	    .	The number of the current line.
	    $	The number of lines in the file.
	    x	Cursor's position X coordinate.
		    ( the number of chars to the begining of the line. ) .
	    y	Cursor's position Y coordinate.
	    e	Number of chars in the current line.
	    c	Cursor column value in the screen.
	    m	The line number corresponding to the mark ( see ^X ).
	    M	The X corresponding to the mark.
	    b	The number of the currently selected buffer.
	    
		OPERATORS:
		    +  SUM    -  SUB
		    *  MUL    /  DIV
		eg.:
		    g $-20
		    w [.+5,$-3] saved.c    
		    etc.
		    
	Key binding used when repeating, or when defining keys:
	
	    ^L ....  The number of the current line.
	    ^V ....  Cursor's X coordinate.
	    ^K ....  The number of the iteration (when repeating).
	    ^R ....  Cursor's Column in the screen.
		
