SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-130
WINDOW
width-exp
specifies an integer expression that indicates the width in characters of the
window. The width specification includes the left and right character positions
that make up the window frame. A window with a width of three can display
one character per line. Three is the minimum allowable value.
height-exp
specifies an integer expression that indicates the height in characters of the
window. The height includes the head and foot portions of the window. A
window with a height of three can display one line of text at a time. Three is the
minimum allowable value.
*
indicates window width and height as large as possible based on the location
of this window and any preexisting windows on the current page. This option
takes into account the location of other windows on the current page and sizes
this window so that it does not overlap these other windows.
If the value of the width or height expression exceeds the maximum logical size
possible, the window is automatically sized to the maximum possible size for the
window location.
If you specify WINDOW .. SIZE 1000,1000 for a window at a buffer address of
LINE 22,71; the actual size of the window is automatically sized to SIZE 10,3;
which is the maximum size possible for a window whose upper left corner is
located at line 22, column 71 of the screen.
UNTIL target
specifies the height of the window based on the actual contents of the window. The
height of the window is the number of lines from the CACHE target to the UNTIL
target. The UNTIL option sets the width of the window to #MENUWIDTH, which
is the width of the last menu referenced with the Return key. You can use the SIZE
option to specify another width.
target
specifies either text between delimiters, such as /*/ or \stop here\, or a string
expression, such as #s.
If you specify MENU before the UNTIL option, the search is restricted to the text to
the left of the production symbol. If you do not specify MENU or specify it after the
CACHE option, the search includes all characters in the cache.
One use of this option is for sizing popup menus. For example:
DEVICETYPES<==WINDOW [] MENU CACHE /DISC/ UNTIL /*/
DISC <==BESIDE; WINDOW pup,"LISTDEV DISC";
TAPE <==BESIDE; WINDOW pup,"LISTDEV TAPE";
*