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