Configuration Guide |
A number of behavior variables are only applicable to running Panther in character-mode. These variables include those that are used to control label text display and display of the active screen.
For more information about behavior variables in general, refer to Chapter 5, "Character Mode Settings."
For information about setting display characteristics for a given character-mode terminal type, refer to Chapter 7, "Video File."
Label Text Display |
Two types of variables control the display attributes of label text in character-mode applications:
AC_KEEPATTRS
, AC_SETATTRS
, and AC_SWATTRS
. These variables only affect widgets that have Label properties—for example, dynamic labels and push buttons.
AC_KEEPATTRS
AND
) for keyboard mnemonic characters that are emphasized. The default includes all attributes currently assigned. Refer to Table 2-1 for a list of the keywords.
AC_SETATTRS
AC_SWATTRS
HILIGHT WHITE
for menu items HILIGHT CYAN
. Refer to Table 2-1 for a list of valid keywords.
FE_KEEPATTRS
AND
) for the label text of inactive items. The default includes all attributes currently assigned. Refer to Table 2-1 for a list of the keywords.
FE_SETATTRS
FE_SWATTRS
HILIGHT
. Refer to Table 2-1 for a list of the keywords.
Screen Attributes |
The EMPHASIS
variable determines the style of emphasis used to indicate the current, or active, screen. The options are drop shadows, graying, or border highlights. Drop shadows appear to cast a shadow from the active screen over underlying screens. Graying changes the display attributes of all screens except the active one: highlights turn off and colors change to monochrome by default. You can set graying attributes with video file entries EMPHASIS_KEEPATT
and EMPHASIS_SETATT
. Border highlighting turns on the highlight characteristic for the active screen border. An application that runs in character-mode can use any one style, or drop shadows and graying can be used together.
EMPHASIS
DROPSHADOW
GRAYBKGD
HIBORDER
NONE
Menus |
These variables control the way menus appear and behave in character-mode applications. You can change these variables at runtime with sm_option.
MB_KEEPATTRS
Handed
) for keyboard mnemonic characters that are emphasized. The default includes all attributes currently assigned. Refer to Table 2-1 for a list of the keywords.
MB_SETATTRS
MB_SWATTRS
HILIGHT WHITE
for menu items HILIGHT CYAN
. Refer to Table 2-1 for a list of valid keywords.
MB_BORDSTYLE
NOBORDER
style number
MB_BORDATT
MB_BORDATT = B_WHITE BLACK
. Refer to Table 2-1 for a list of the keywords.
MB_DISPATT
MB_DISPATT = B_WHITE BLACK.
Refer to Table 2-1 for a list of the keywords.
MB_FLDATT
MB_FLDATT = B_WHITE BLACK
. Refer to Table 2-1 for a list of the keywords.
MB_HBUTDIST
MB_LINES_PROT
MB_SYSTEM
OK_SYSTEM
NO_SYSTEM
Miscellaneous |
IN_BLOCK
OK_NOBLOCK (d)
OK_BLOCK
MB_ACCATT
HILIGHT | WHITE
ZW_BORDSTYLE
NOBORDER
style number
ZW_BORDATT
RED HILIGHT B_CONTAINER.
Refer to Table 2-1 for a list of the keywords.
SMLPRINT
%s
for the file name. For example, the print screen command might look like this:
SMLPRINT = lpr %s
This variable can be defined in a setup file, overridden by setting it at the system environment, and changed at runtime with sm_soption.