Version 6.3.13 for UNIX
 —  Terminal Commands  —

%Y - Control of PF-Key Lines

%Y

N
S
P
A
H
B
T
[-]nn
F
L
X
I
V

Alternatively, you may specify:

%Y=color-code [color-code] [color-code]

The terminal command %Y is used to control the display of the Natural PF-key lines.

Note:
On graphical user interfaces, this command is ignored.

This document covers the following topics:


Display Format of Function-Key Lines

Command Function
%YN Displays the function-key lines in normal tabular Software AG format.
%YS Displays the function-key lines in sequential format, and only showing those keys to which names have been assigned (PF1=value,PF2=value, etc.).
%YP Displays the function-key lines in PC-like sequential format; corresponds to %YS, except that Fn= instead of PFn= is displayed before the names.

Top of page

Single- and Double-Line Display

Command Function
%YA All-line display. Displays both function-key lines.
%YH Half display. Displays only one function-key line; for normal tabular display mode (%YN), this is the line with the function-key names; for the other two display modes (%YS and %YP), this is the upper line to be displayed.

Top of page

Positioning of Function-Key Lines

Command Function
%YB Displays the function-key lines at the bottom of the screen.
%YT Displays the function-key lines at the top of the screen.
%Ynn Displays the function-key lines on line nn on the screen.
%Y-nn Displays the function-key lines on the nnth line from the bottom of the screen.

If the line number nn or -nn is not within the current screen, the function-key lines will not be displayed.

Top of page

Range of Displayed Function Keys

Command Function
%YF Displays the first range of function keys (that is, usually 1 to 12).
%YL Displays the last range of function keys (that is, usually 13 to 24).
%YX Is used to toggle-switch between the two displays.

Top of page

Intensified or Reverse Video Display of Function-Key Lines

Command Function
%YI Displays the function-key lines intensified.

Enter %YI again to switch back from intensified to non-intensified display.

%YV Displays the function-key lines in reverse video.

Enter %YV again to switch back from reverse video display to normal display.

Top of page

Coloring of Function-Key Lines

Command Function
%Y=color-code(s) Displays the function-key lines in the specified colors. The color-codes you can specify are the same as with the session parameter CD).

You can specify up to three color-codes: the first color-code refers to the first function-key line (the one displaying the function-key numbers), the second color-code refers to the second function-key line (the one displaying the function-key names), and the third color-code refers to the background of both lines.

For example, %Y=GRPIYE would cause the characters in the first line to be displayed in green, the characters in the second line in pink, and the background of both lines in yellow.

Top of page