Home | History | Annotate | Line # | Download | only in internals
      1 	@(#)openmode	8.1 (Berkeley) 10/29/94
      2 
      3 Open mode has the following special behaviors:
      4 
      5 z, ^F, ^B:
      6 	If count is not specified, it shall default to the window
      7 	edit option - 2.
      8 
      9 	Write lines from the edit buffer starting at:
     10 
     11 		(the current line) - ((count - 2) / 2)
     12 
     13 	until:
     14 
     15 		(((count + 1) / 2) * 2) - 1
     16 	
     17 	lines, or the last line in the edit buffer has been written.  A
     18 	line consisting of the smaller of the number of columns in the
     19 	display divided by two or 40 ``-'' characters shall be written
     20 	immediately before and after the specified is written.  These two
     21 	lines shall count against the total number of lines to be written.
     22 	A blank line shall be written after the last line is written.
     23 
     24 	z, ^F and ^B all behave identically.
     25 
     26 ^D:	Display the next scroll value lines, change the current line.
     27 
     28 ^U:	Change the current line, do nothing else.
     29 
     30 ^E, ^Y:	Do nothing.
     31 
     32 ^L:	Clear the screen and redisplay the current line.
     33 
     34 H, L, M:
     35 	Move to the first nonblank of the current line and do nothing
     36 	else.
     37