DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦bdcc3d85e⟧ TextFile

    Length: 5251 (0x1483)
    Types: TextFile
    Notes: R1k Text-file segment

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦b43e5c7db⟧ 
            └─⟦this⟧ 

TextFile


 @node !Commands.Editor.Screen

 @node !Commands.Editor.Screen.Set_Columns

 procedure Set_Columns (Columns : Natural);

 DESCRIPTION

 Sets the width of the current Environment display to the specified number
 of columns.  This command is especially useful for resizing RXI windows.
 (An RXI window is a workstation window through which the Environment is
 displayed; RXI windows are part of the Rational X Interface product.) This
 command can also be used to adjust the width of the full-screen
 Environment display on Rational, Facit, and VT100 terminals.  The size of
 the Environment display can be set on a per-session basis.

 The Set_Columns and Set_Lines procedures form a pair of commands which are
 typically executed together.  Although you can execute the Set_Columns
 command by itself, the new width does not take effect until the Set_Lines
 command is executed.  When the Set_Lines command is executed, the entire
 screen is redrawn and the current RXI window is resized.

 You can the System_Utilities.Terminal_Columns and
 System_Utilities.Terminal_Lines functions to find out the current
 dimensions of an Environment display.

 PARAMETERS

 Columns : Natural;

 Specifies the new width, in number of columns, of the Environment display.
 The minimum width allowed is 6 columns; the maximum width allowed is 160
 columns.  Note that the standard size for an RXI window is 80 columns.

 ERRORS

 It is possible to set the width of the Environment display to be wider
 than the physical screen size.  If this happens, the display will not
 scroll as expected when characters are entered near the righthand edge of
 the screen, causing successive characters to appear to overwrite each
 other.  If this happens, you can move the cursor to the left edge of the
 screen, and then enter the Set_Columns procedure with a smaller value for
 the Columns parameter.

 EXAMPLES

 Assume that you are logged in to the Environment through an RXI window on
 a workstation and that you want to widen the RXI window in order to view a
 wide log file without scrolling.  The following pair of commands widens
 the Environment display to 160 columns without changing the number of
 lines in the display:

   Editor.Screen.Set_Columns(Columns => 160);
   Editor.Screen.Set_Lines(Lines => System_Utilities.Terminal.Lines);

 REFERENCES

 procedure Editor.Screen.Set_Lines
 SMU, function System_Utilities.Terminal_Columns
 SMU, function System_Utilities.Terminal_Lines

 @node !Commands.Editor.Screen.Set_Lines

 procedure Set_Lines (Lines : Natural);

 DESCRIPTION

 Sets the length of the current Environment display to the specified number
 of lines.  This command is especially useful for resizing RXI windows.
 (An RXI window is a workstation window through which the Environment is
 displayed; RXI windows are part of the Rational X Interface product.) This
 command can also be used to adjust the length of the full-screen
 Environment display on Rational, Facit, and VT100 terminals.  The size of
 the Environment display can be set on a per-session basis.

 Although the Set_Columns and Set_Lines procedures are typically executed
 together, you can execute the Set_Lines command by itself.  When the
 Set_Lines command is executed, the entire screen is redrawn and the new
 length takes effect immediately.  Note that a new display width set by the
 Set_Columns command does not take effect until the Set_Lines command is
 executed.

 You can the System_Utilities.Terminal_Columns and
 System_Utilities.Terminal_Lines functions to find out the current
 dimensions of an Environment display.

 PARAMETERS

 Lines : Natural;

 Specifies the new length, in number of lines, of the Environment display.
 The minimum length allowed is 10 lines; the maximum length allowed is 160
 lines.  Note that the standard size for an RXI window or for a terminal
 screen depends on the height of the font used in the Environment display.
 For a Rational terminal, the standard length is 66 lines; for a Facit
 terminal, the standard length is 72 lines; for a VT100 terminal, the
 standard length is 24 lines.  The standard length for an RXI window varies
 from workstation to workstation and depends on the particular font you are
 using.

 ERRORS

 It is possible to set the length of the Environment display to be longer
 than the physical screen size.  If this happens, the display will scroll
 up, causing the cursor to appear to be in a different part of the display
 than it really is.  If this happens, keystrokes will still be interpreted
 correctly; you can press the [#Create Command#] key and enter the
 Set_Lines procedure with a smaller value for the Lines parameter to
 shorten the display.

 EXAMPLES

 Assume that you are logged into the Environment on a Facit terminal that
 is communicating to the R1000 over a modem with a low baud rate.  Because
 of the modem, the screen takes a long time to redraw.  You can reduce the
 amount of time spent redrawing the screen by entering the following
 command to shorten the length of the Environment display:

   Editor.Screen.Set_Lines (Lines => 33);

 REFERENCES

 procedure Editor.Screen.Set_Columns
 SMU, function System_Utilities.Terminal_Columns
 SMU, function System_Utilities.Terminal_Line