Close Window [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation
HP EDIT Reference Manual
Close Window
Purpose
Closes the text window where the cursor is positioned.
Default Syntax
ESC W
Description
This command closes one window of a two-window screen to return the
screen to a single window state. When you execute the command, HP EDIT
removes the window where the cursor is located.
[REV BEG]
If you are editing two different files in two windows, HP EDIT will hide
the file and window the cursor is in when you execute the Close Window
command. However, the file in the closed window will remain active in
the background.
If you execute the Close Window command a second time, the two active
files change places. The file that is in the background will appear on
the screen, and the file on the screen will move into the background.[REV
END]
Refer to the Open Window command for information about using multiple
text windows.
Procedure
To close a window:
1. Move the cursor anywhere within the window you want to close.
2. Press ESC, then press the W key. HP EDIT removes the window [REV
BEG]if you were editing the same file in both windows.
If you were editing two different files in the windows, HP EDIT
only hides the window and the file. HP EDIT[REV END] displays
Scrollsize set to X on the message line, where X represents the
previous scroll size before you opened the window. The value of X
equals 20 if the default scroll size was in effect before you
changed the scroll size.
Example
To close the second window of the following screen:
1. Move the cursor anywhere within the second window as shown.
2. Press ESC, then press the W key. HP EDIT responds as follows,
assuming the scroll size was set to 10 before you opened the
window:
Related Commands
Open Window
Size Window
MPE/iX 5.0 Documentation