8.0;wp (window_pop) *DM*, revision 8.0, 86/09/25
WP (WINDOW_POP) -- Push or pop a window on the stack.
usage: wp [entry_name] [-t|-b]
FORMAT
WP [entry_name] [-T|-B]
The WP command pops a window to the top of the stack or pushes a window to the
bottom of the stack. If the cursor rests in a partially obscured window, the
WP command pops the window to the top of the pile. If the cursor rests in a
completely visible window, WP pushes the window to the bottom of the pile. WP
can also manipulate specific named windows or window groups. See the
ARGUMENTS section below.
By default, the WP command is invoked by the <POP> key on low-profile
keyboards, while the same function is provided by CTRL/P on 880 keyboards.
ARGUMENTS
entry_name
(optional) Specify the name of the window or group you want to push or
pop. If the name of the window or group appears as a text
string somewhere on the display, you may use the following
time-saving feature: place the cursor on the name, then
press <MARK>. Now issue the WP command. WP uses the
MARKed name for the 'entry_name' argument.
Default if omitted: push or pop the window under the
cursor.
OPTIONS
The following options are intended primarily for use in DM scripts, where you
may not be able to predict the presence of other windows on the screen.
-T Force a window to the top of the window stack.
-B Force a window to the bottom of the window stack.
EXAMPLES
Command: wp -t Pop the window containing the cursor
to the top of the window stack.
Command: wp slide -b Push the window named 'slide' to the
bottom of the stack.
RELATED TOPICS
More information is available. Type:
- HELP WINDOWS
for general information about windows.
- HELP DM COMMANDS
for a list of other window management commands.