Modification State


 

Modification mode is entered by depressing function key 1 through 5 when in PAGE edit mode. To exit from each mode, depress any of the function keys 1 through 5 or 10. Those then take the editor to the next defined mode or exit PAGE edit mode altogether. Each operates as defined below:

F1

Data modification mode. As characters are typed, the existing data is overlaid with the new. The data is compared against the current tab character and moves the cursor to the first position of the next field if equal. A carriage return (enter key) causes a new data line to be entered and positions the cursor to the first column of the new line ready for more data.

F2

Character insert mode. Insert characters starting at the current cursor position. All data to the right of the current position is shifted right one column as each character is entered. Data in the 80th position of the current line is lost.

F3

Character delete mode. The first depression of the F3 key enters this mode. Each successive depression of the F3 key causes the character at the current position to be deleted. All data to the right of the current position is then shifted left one position, filling the window left vacant by the deleted character.

F4

Line insert mode. Insert a new data line below the current line. The cursor is positioned at the beginning of the new line and data modification mode is entered. After this point, it is treated as if the F1 key had been depressed. Functionally equivalent to the :I command.

F5

Line delete mode. The first depression of the F5 key enters the line delete mode. Each successive depression of the F5 key causes the current line to be deleted. A new line is retrieved from the input file and displayed on the last data line. Functionally equivalent to the :D command.

F6

Home. Position to first page of file. Functionally equivalent to a :GA1 command.

F7

Help. Display the screen listing all available PAGE edit commands available. Functionally equivalent to the :H command for PAGE edit mode.

F8

Abort this edit and exit to operating system. Functionally equivalent to the :O command.

F9

End this edit and return to operating system. Functionally equivalent to the :E command.

F10

Exit PAGE edit and return to LINE edit mode.

ESC

Exit PAGE edit and return to LINE edit mode.

INS

Toggle between modify and insert mode.

 

 

See Also: Page Edit Mode, SUNEDIT

 



System Utilities Modification Commands Page Edit Mode