This chapter discusses how to create additional windows, remove windows, alternate two files in a window, and refresh the screen.
The top and bottom lines of the editor screen display the status of the window that contains the cursor. The bottom line displays the file name and the line number of the cursor window.
You can create additional windows, which can contain either the file you are editing or a different file. This means that you can edit one file while you view another file, view several files on the same screen, or move text from one file window to another.
When you specify a new file, the current file becomes the alternate file. You can switch between these two files by pressing the Ctrl-A, U key sequence (the Use function). The editor keeps the cursor position of both files. If you specify the current file as the alternate file, you can switch between two places in the same file without losing your cursor position. You can continue to specify more current files, but you can only alternate between the last two files you specify.
You can use additional windows to do the following:
For information on the procedures, refer to the following:
Use the following procedures:
Move the cursor to the new window position.
To create a vertical window, place the cursor on the top line of the current window, but not in the first column, and press the Ctrl-A, W key sequence (the Window function).
To create a horizontal window, place the cursor elsewhere within the window, and press the Ctrl-A, W key sequence (the Window function).
To create a vertical window, place the cursor on the top line of the current window, and press the Ctrl-A, Enter key sequence (the Enter function).
To create a horizontal window, place the cursor elsewhere within the window, and press the Ctrl-A, Enter key sequence (the Enter function).
The information above and below the window changes to reflect the status of the window containing the cursor. For example, the full path name contains the name of the file that you selected.
Move the cursor to the window you want to keep, press the Ctrl-A, Enter key sequence (the Enter function), and then press the Ctrl-A, W key sequence (the Window function).
To move to the window that was created immediately after the current window, press the Ctrl-A, N key sequence (the Next Window function).
To move to the window that was created immediately before the current window, press the Ctrl-A, Enter key sequence (the Enter function), and then press the Ctrl-A, N key sequence (the Next Window function).
You can move to another window in either of the following ways:
Use the following procedures:
Press the Ctrl-A, U key sequence (the Use function).
The editor window changes to the other file.
Press the Ctrl-A, Z key sequence (the Refresh function).
If a system message is displayed on the screen or if the display has become garbled, the Ctrl-A, Z key sequence clears the screen and redraws the display as it was before the message or problem occurred. It does not erase or delete any text in the window.
INed Editor Overview introduces general concepts about the INed editor, lists the INed editing functions and describes the system guidelines for using the INed editor.
INed Editor Functions for the Standard Keyboard is a table that shows the INed editor command keys on a standard keyboard.
INed Editor Files in AIX Version 4.3 Files Reference contains reference information about the files used by the INed editor.