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