[an error occurred while processing this directive]
HP OpenVMS Systems Documentation |
HP DECwindows Motif
|
Previous | Contents | Index |
When the 7-Bit Printer button is selected in the Options/Printer dialog box, DECterm modifies printed text to be compatible with printers that do not support 8-bit characters. This includes modifying control sequence introducer (CSI) strings to use the format Escape-Left Bracket rather than the single 8-bit CSI character.
When the 8-Bit Printer button is selected, DECterm allows the use of 8-bit characters when printing. This mode can cause problems for older printers if they can not interpret 8-bit characters.
The default is 8-Bit.
2.5.4.8 Automatic Window Positioning
A resource has been defined to manage repositioning a DECterm window when a resize operation forces part of the window off the screen. If a DECterm window is enlarged by using the Options/Window dialog box or by entering a SET TERMINAL/PAGE=nn or SET TERMINAL/WIDTH=nn command, the controller moves the newly resized DECterm window so that it can be viewed in its entirety. If you prefer DECterm not to move, add the following line to your DECW$TERMINAL_DEFAULT.DAT file:
DECW$TERMINAL.main.terminal.autoAdjustPosition: off |
The following sections describe new features related to specific X
Window System utilities ported to DECwindows Motif.
2.6.1 AccessX Keyboard Utility (accessx)
V1.3
The AccessX Keyboard utility (accessx) is a client application that enables you to set one or more AccessX keyboard enhancements available with the X Keyboard extension (XKB). These enhancements make it easier for users with disabilities to interact with workstation input devices (keyboard and mouse).
Specifically, AccessX enhancements for XKB offer the following capabilities:
The settings for these capabilities are stored as X resource specifications available from an AccessX configuration file. This utility reads the appropriate file (either for the client or server) and adjusts the resource settings depending upon the changes you make. See Section 2.6.1.1 and Section 2.6.1.2 to learn more about the configuration file and its default values.
The accessx utility replaces the sample application formerly available with the AccessX extension. Starting with DECwindows Motif for OpenVMS Alpha Version 1.3, the capability provided by the AccessX extension is offered as part of XKB. For more information on enabling and using XKB and X Keyboard keymaps, see Section 3.5.2. For information regarding the AccessX extension, see the HP DECwindows Motif for OpenVMS Alpha Release Notes. |
To run this utility, define accessx as a foreign command, and copy the UID file to DECW$USER_DEFAULTS:
$ accessx :== "$DECW$EXAMPLES:ACCESSX.EXE" $ COPY DECW$EXAMPLES:ACCESSX.UID DECW$USER_DEFAULTS:ACCESSX.UID |
The command format for accessx is as follows:
$ accessx [-options...] |
You can run accessx by entering the command at the DCL prompt, with or without options. The options, described in Table 2-5, allow you to specify which configuration file to load and choose whether to display the status of the editing session. If no options are specified, the client configuration file is loaded by default.
Options | Description |
---|---|
-client | Instructs accessx to load and use the custom settings in the client configuration file. This is the default option. |
-server | Instructs accessx to load and use the default, system-wide settings maintained in the server configuration file. |
-status | Displays the status window when accessx is started. |
-vmods | Uses the names for virtual modifiers in the status window. For example, with the -vmods option, accessx displays NumLock instead of Mod5. |
Once invoked, the accessx dialog box is displayed, which lets you select the AccessX features that you want to enable. It also provides a test area that allows you to preview your settings before applying them to a DECwindows Motif session.
For detailed information on the controls and menu options in the dialog
box, see the online help available from the Help menu option.
2.6.1.1 The AccessX Configuration File
The AccessX configuration file is an X resource file used to store and load specific AccessX settings for the client. The default client configuration file is located in DECW$USER_DEFAULTS:ACCESSX.DAT and is created the first time you choose Save Settings.
You can choose to edit the file directly or use the accessx utility (with the -client or -server option) to modify the settings. Note that any comments inserted in this file are deleted when you perform a save settings action.
The format for entries in this file follow the standard X resource specification format, which is:
*resource:value |
For example:
*BounceKeysToggle.set:False |
Since an application can consist of a combination of input widgets
(such as, push buttons and a scroll bar), you can use the widget class
and name identifiers to create additional resource specifications to
control these widgets.
2.6.1.2 Default Resource Settings
Table 2-6 lists the AccessX resources and their default values. These are default settings maintained by the server and also represent the initial settings in the client configuration file, prior to modification.
Resource | Value |
---|---|
*BounceKeysToggle.set | False |
*EnableAccessXToggle.set | True |
*KRGDebounceScale.decimalPoints | 1 |
*KRGDebounceScale.maximum | 40 |
*KRGDebounceScale.minimum | 1 |
*KRGDebounceScale.value | 3 |
*KRGRepeatDelayScale.decimalPoints | 2 |
*KRGRepeatDelayScale.maximum | 400 |
*KRGRepeatDelayScale.minimum | 1 |
*KRGRepeatDelayScale.value | 66 |
*KRGRepeatRateScale.decimalPoints | 2 |
*KRGRepeatRateScale.maximum | 400 |
*KRGRepeatRateScale.minimum | 1 |
*KRGRepeatRateScale.value | 4 |
*KRGSlowKeysDelayScale.decimalPoints | 1 |
*KRGSlowKeysDelayScale.maximum | 40 |
*KRGSlowKeysDelayScale.minimum | 1 |
*KRGSlowKeysDelayScale.value | 3 |
*MouseKeysToggle.set | False |
*MouseAccelScale.decimalPoints | 1 |
*MouseAccelScale.maximum | 40 |
*MouseAccelScale.minimum | 1 |
*MouseAccelScale.value | 20 |
*MouseDelayScale.decimalPoints | 1 |
*MouseDelayScale.maximum | 40 |
*MouseDelayScale.minimum | 1 |
*MouseDelayScale.value | 3 |
*MouseMaxSpeedScale.decimalPoints | 0 |
*MouseMaxSpeedScale.maximum | 500 |
*MouseMaxSpeedScale.minimum | 1 |
*MouseMaxSpeedScale.value | 300 |
*RepeatKeysToggle.set | True |
*ShowStatusToggle.set | False |
*SlowKeysOnAcceptToggle.set | True |
*SlowKeysOnPressToggle.set | True |
*SlowKeysToggle.set | False |
*SoundOnOffToggle.set | True |
*StickyKeysToggle.set | False |
*StickyModSoundToggle.set | True |
*StickyTwoKeysToggle.set | True |
*TimeOutScale.decimalPoints | 0 |
*TimeOutScale.maximum | 10 |
*TimeOutScale.minimum | 1 |
*TimeOutScale.value | 2 |
*TimeOutToggle.set | False |
*ToggleKeysToggle.set | False |
V1.3
The X Authority utility (xauth) enables you to manage the contents of one or more X authority files. The X authority file contains information used to authorize client connections to the X server.
This utility is typically used to extract authorization records from one system and combine them with the records on another system, such as when granting access to additional users or enabling remote logins. The actual record entries vary depending on the authentication scheme currently in use.
In contrast to other X Window System utilities that are available with DECwindows Motif, xauth is included as a part of OpenVMS Alpha operating system. The xauth commands are case-insensitive and available directly from the DCL command line, xauth command line, or from a batch file.
The command format for xauth is as follows:
$ xauth [-f authfile] [-options...] [command] |
Table 2-7 defines the available options.
Options | Description |
---|---|
-f authfile | Specifies the name of the authority file. Version numbers are not allowed. If a display device is specified on the command line, xauth will use the X authority file referenced by the display device. Otherwise, xauth will use the default X authority file used by client applications. This file is the X authority file referenced by the DECW$DISPLAY display device, the DECW$XAUTHORITY logical, or SYS$LOGIN:DECW$XAUTHORITY.DECW$XAUTH. |
-q | Specifies that xauth operate in quiet mode. Status messages are not displayed. This is the default setting if the output from xauth is not directed to a terminal. |
-v | Specifies that xauth operate in verbose mode. Status message are printed. This is the default setting if the output from xauth is directed to a terminal. |
-i | Specifies that xauth ignore file locks. Normally, xauth will refuse to read or edit any files that have been locked by another program (such as, by another instance of xauth) and not timed out. |
-b | Specifies that xauth break file locks before proceeding. Use this option only to clean up stale locks. |
Table 2-8 defines the available commands.
Commands | Description |
---|---|
add | Adds or replaces the specified entries. |
extract | Extracts and writes the specified entries to a new X authority file. |
exit | Saves and closes the file and exits the xauth utility. (Available from the xauth command line only.) |
remove | Deletes the specified entries. |
merge | Appends entries from another X authority file. |
nextract | Extracts the specified entries in numerical format. |
nmerge | Merges the specified entries presented in numerical format. |
list | Displays a listing of entries in the X authority file. |
nlist | Displays a listing of entries in numerical format. |
generate | Used to generate a new authorization key. Requires that DECwindows Motif be installed and the SECURITY extension be enabled on the X display server. |
help | Displays information about the parameters and options for this utility. Subtopic help is also available by typing a question mark (?) at the command prompt. |
info | Provides a brief overview of the X authority file. |
quit | Closes the xauth utility without applying any changes. (Available from the xauth command line only.) |
source | Runs xauth commands from a command file. |
The X authority file is a binary data file that contains information used to authorize connections to the X server on a system running DECwindows Motif for OpenVMS Alpha Version 1.3 or higher.
Each time an X Window System client application attempts to connect to an X server system that uses an authorization protocol, it references the current X authority file to determine the appropriate authorization key to apply in order to authenticate the connection. Each authorization key consists of the protocol name and token, which can be one of the following depending on the protocol in use:
By default, an X authority file is created automatically the first time a user logs into a desktop on a system configured for MIT-MAGIC-COOKIE-1 or MIT-KERBEROS-5 authentication. The file is stored in that user's OpenVMS login directory (SYS$LOGIN:DECW$XAUTHORITY.DECW$XAUTH). Each time the user subsequently logs into a desktop on that system, a new authorization key is generated, passed to the X server, and written to the user's X authority file. This key controls access to the X server during the DECwindows Motif session.
A separate X authority file can be manually defined on a server level (using the DECW$SERVER_XAUTHORITY symbol) for those client applications that require access to the X server outside of the normal DECwindows Motif login process.
If the SECURITY extension is enabled, authorization keys can also be manually generated. Manually-generated keys can be used to further restrict server access. The generated key is stored in the X authority file on the client system overwriting any value already present for the specified display server. The key can be distributed to different client systems to allow connections to a specific server and can be revoked to stop subsequent connections.
Generated keys are assigned an authorization ID that
associates the key with the user who generated the key. As a result,
only the user who generated the key can revoke the key.
2.6.2.1.1 Format of an X Authority File Entry
Each entry in an X authority file corresponds to a particular X display server and is composed of three main components:
display-name protocol token |
display-name
Identifies the name of the X display to which you are authorizing access. The display name follows the format used by the X Window System:
[transport/][host][:]:server[.screen] |
This format enables you to use a single X authority file to grant varying levels of access to different X display servers and connection families.
For example, the following entries grant access to the local display server on node HUBBUB and the remote display server on node ZEPHYR via the DECnet transport:
local/HUBBUB:0 MIT-MAGIC-COOKIE-1 cfcc5ef98f9718f90154f355c0ae9f62 decnet/ZEPHYR::0 MIT-MAGIC-COOKIE-1 cfcc5ef98f9718f90154f355c0ae9f62 |
protocol
Indicates the authentication protocol in use. Valid values are MIT-MAGIC-COOKIE-1 and MIT-KERBEROS-5.
token
A random alphanumeric string that functions as a password authorizing a server connection. The format of the token depends on the authorization scheme in use. MIT-MAGIC-COOKIE-1 uses a 128-bit string known as a magic cookie. MIT-KERBEROS-5 uses an encrypted string to authorize server connections. This string is stored separately. The token entry in the X authority file represents the encoded location of the Kerberos keytab file and associated principal name, which is referenced by the server to locate the encrypted string.
Previous | Next | Contents | Index |