wK [ System Debug Reference Manual ] MPE/iX 5.0 Documentation
System Debug Reference Manual
wK
Window kill.
Syntax
RK CM registers
GRK NM general registers
SRK NM special registers
PK Program, current mode
CMPK CM program
NMPK NM program
QK CM frame, Q relative
SK CM stack, S relative
GK Group window
UK [win_number] User window
VK [win_number] Virtual window
ZK Real memory window
LK LDEV window
TXK [win_number] Text window
This command removes a window from the screen. It does this by setting
the length of a window to zero lines, which effectively makes it
disappear. The command permanently deallocates text, user, and virtual
windows. (Attempts to set the lines to a value greater than zero for
these window results in an error since the window no longer exists.) If
the window is a text window, this command closes the file.
Parameters
win_number The window number for a specific user window (U), text
window (TX), or virtual window (V). If win_number is
omitted, then the current window is used. The current
user window is marked by an asterisk, and the current
virtual and text windows are marked in inverse video.
Examples
%cmdebug > PK
Kill the (current mode) program window.
%cmdebug > PL 6
Bring back the program window. Remember, killing a window sets its
length to zero.
%cmdebug > VK 3
Deallocate virtual window number 3. This window cannot be brought back
by changing the window length as in the above example. Once a virtual
window is killed, it is gone until a new VW command is used to create a
new one.
Limitations, Restrictions
none
MPE/iX 5.0 Documentation