Users may control the placement and size of all windows. To alter a
window, one places the cursor in it and invokes a menu by either
clicking M on the mouse or
simulating the mouse actions with the keypad in the following fashion.
First, one enters mouse mode by pressing the MOUSE
MOUSE
}key
(see figure ).
Next, using the arrow keys and, optionally, the LONG
LONG
} key, the user
positions the mouse in the desired window and presses MOUSE
again, thereby
causing a menu of operations to appear. The option desired is
selected by positioning the cursor next to the option in the displayed
menu and pressing the MOUSE
key; when a menu item is selected an asterisk
appears on the left of the item. To leave mouse mode one uses the
DIAG
DIAG
}key.
In subsequent
discussion, the commands
described are mouse commands rather than keypad commands. The translation
to keypad commands is exactly as described in the discussion above.
The basic window manipulating commands available in the menu are
size and move . The
position
of a window is determined by its upper left corner and the
size by its lower
right corner. To change position, for example, one selects the move
option in the menu (by placing the cursor on it and clicking M) and then
positions the cursor at the new location for the upper left corner and
exits mouse mode by clicking
M. Similarly, the size of the window can also be altered. Windows
are closed by holding down the control key and
pressing D. (The notation
is used to represent this key combination.) When a window is
closed the cursor returns to the window it had been in when the new
window was opened. Several other window management commands are available in
mouse mode; these commands are typically needed when the user has several
edit windows in use concurrently and needs to hide some of them temporarily.
A complete discussion of these commands appears in chapter 7.