winheight [win_name] [+ -] num_lines

If you omit win_name, the pane with logical focus is resized. When you increase the height of a pane, the height of the Command pane is decreased by the same amount, and vice versa. The height of any other panes remains unchanged.

For example, the command

wh src +3

increases the size of the source pane, and decreases the size of the command pane, by 3 lines.

To nd out the current sizes of all panes, use the info win command. For example, if you have a split-screen layout, the command output might be as follows:

(gdb) i win SRC (8 lines) REGS (8 lines) CMD (8 lines)

If you use the mouse or window menus to resize the terminal window during a debugging session, the window remains the same size it was when you started. To change the window size, you must exit the debugger and restart it.

15.9 Refreshing and updating the window

If the screen display is disrupted for some reason, use the refresh command (ref) to restore the windows to their previous state:

ref

If you use stack-navigation commands such as up, down, and frame to change your source location, and you want to return the display to the current point of execution, use the update command (upd):

upd

252 The HP-UX Terminal User Interface