HP 3000 Manuals

Size Window [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation


HP EDIT Reference Manual

Size Window 

Purpose 

Adjusts the current window size.

Default Syntax 

[n] ESC w

where n represents the number of lines desired as the window size.

Description 

This command enables you to adjust the size of either a single window or
the current window of a two-window screen.  Refer to the Open Window
command for information about using multiple windows.

Command Applications 

You would typically execute this command after you had executed the
Open Window command and determined that the new window size was
unsatisfactory.  The command is also useful when you are editing over a
slow communications line and want to reduce the time required to display
an entire screen of text.

Command Usage 

Your usage of the command depends on whether you want to increase or
decrease the window size.  You can decrease the size of either window by
simply executing the command, but you cannot increase the size of a
window unless you first sufficiently reduce the size of the other window.
This process is necessary because a screen consists of a finite number of
lines that must be shared in a split screen environment.

For instance, if you want to increase one of the windows by five lines,
you would first execute this command from the other window, reducing its
size by five lines.  Then you would return to the window you want to
increase and execute the command without specifying a count.

Procedures 

To reduce the size of a window: 

   1.  Move the cursor anywhere within the window to be reduced.

   2.  Type the new number of desired lines as the count.  The count must
       be less than the number of lines currently in the window.

   3.  Press ESC and the w key.  HP EDIT decreases the size of the window
       to the amount specified by the count and may display Scrollsize 
       set to X on the message line, where X represents a value one less
       than the number of lines for the smallest window of the screen.

To enlarge the size of a window: 

   1.  Move the cursor anywhere within the window that you do not want to
       increase.

   2.  Type a number as the count representing this window size minus the
       number of lines you want to increase in the other window.  For
       instance, if the size of this window is 12 and you want to
       increase the size of the other window by 5, type 7 as the count.

   3.  Press ESC and the w key.  HP EDIT decreases this window size to 7.

   4.  Move the cursor anywhere within the window that you want to
       increase.

   5.  Press ESC and the w key.  HP EDIT increases the current window
       size by 5 lines.

Related Commands 

       Close Window
       Open Window



MPE/iX 5.0 Documentation