Preparing to Use Windows

A group of function keys control the window functions and enable you to split, zoom, and scroll the windows. You can use the keys that are assigned by CL/SuperSession for each function or you can assign your own.

To define the keys:

  1. At the home position of the action bar, type OW, and press Enter.

    O stands for Options and W stands for Window options.

  2. The Update Window Options pop-up window is displayed.
    Figure 1. Update Window Options Pop-up Window
    
    ow    Actions  Options  Commands  Features  Help
    ----------- +-------------------------------------------+ --------------------
                |           Update Window Options           |        More:
                |                                           |
    Select sess |  Define window control options and then   |
                |  press ENTER.                             |
       Session  |                                           | Status
       -------- |    Window control key..... PA1  +         | -------- 
       TSOA     |    Display window......... Y +   (Y or N) | ndefined
                |                                           |
                |    Vertical split key..... F4   +         |
                |    Horizontal split key... F2   +         |
                |    Zoom/Unzoom key........ F3   +         |
                |    Next WINDOW key........ F9   +         |
                |    Scroll up key.......... F7   +         |
                |    Scroll down key........ F8   +         |
                |    Scroll left key........ F10  +         |
                |    Scroll right key....... F11  +         |
                |    Delete key............. F5   +         |
                |                                           |
                |                                           |
                |  Command ===>                             |
                |  Enter  F1=Help  F4=Prompt  F12=Cancel    |
                +-------------------------------------------+
    
    Command ===>                                                     SYSA/KLST001
    Enter  F1=Help  F3=Exit  F5=Refresh  F9=Retrieve  F10=Action
    
  3. To assign a new key, move the cursor to an option and type a key.
  4. Press Enter when you have completed your changes.

The key options are explained below. The values assigned by CL/SuperSession are shown in parentheses.

Window control key (PA1)
Activates the window function. To open a window, press the window control key, in this case PA1.
Note: Avoid setting the ATTN key as the window control key. On SNA terminals, the ATTN key is reserved for returning to the Main Menu.
Display window (Y)
When set to Y, each time you press the window control key, the Window Control pop-up window, shown as an overlay in Figure 2 , is displayed. To suppress the display of the Window Control pop-up window, set this option to N.

If you set Display window to N, do the following to use windows:

  1. Press the Window control key.
  2. Press a window control option key, such as the vertical split key or horizontal split key, immediately afterward.

    If the key you press after you press the Window control key is not a window control option key, the Window Control pop-up window is displayed to give you the opportunity to select an option.

    Note: If you press the Window Control Key twice, CL/SuperSession passes the function to the application. For example, if PA1 is your Window Control Key, the second time you press PA1, an attention function is passed to the application.
Vertical split key (F4)
Splits the screen vertically from the cursor position.
Horizontal split key (F2)
Splits the screen horizontally from the cursor position.
Zoom/unzoom key (F3)
Enlarges a window to full-screen display. While viewing a window in zoom mode, use the Next Window key to jump to the next window which will also be zoomed. Press the Zoom/Unzoom key to restore the multiple window display.

The trigger \z performs the same function.

Next window key (F9)
Jumps to the next active window. The trigger \j enables you to specify the window to jump to when you have more than one active window. See Moving between Windows for more information.
Scroll up key (F7)
Scrolls upward if more lines exist than can be displayed in the window.
Scroll down key (F8)
Scrolls down if more lines exist than can be displayed in the window.
Scroll left key (F10)
Scrolls left if more lines exist than can be displayed in the window.
Scroll right key (F11)
Scrolls right if more lines exist than can be displayed in the window.
Important: The scroll keys used with the CL/SuperSession window control function are separate from any scroll function used by your application.
Delete key (F5)
Closes a window. Place the cursor in the window you want to delete and then press this key. When a window is deleted, active or current sessions in that window become background sessions that can be made current in another window. In addition, if you are in a zoomed window and delete that window, you jump to the next window and the screen resumes the unzoomed (multiple window) display.