HP OpenVMS Systems Documentation
HP DECwindows Motif
Displays all named properties and their values related to the current display device.
Obtains the authorization data for the display device and writes that data to SYS$OUTPUT. The authorization data is obtained from the current X authority file and is in the format expected by the X Authority utility.
Note that when using an LBX proxy server, the extracted authentication information references the address of the proxy server and not the X display server.
Do not use the /EXTRACT qualifier with any other SHOW DISPLAY qualifier.
Displays the current name count and data space quota values for the display device. This display includes the set limit and the amount of space currently available for use.
Defines one or more global DCL symbols for each property displayed by the SHOW DISPLAY command. You can then use these property symbols in DCL command procedures.
Each global symbol name follows the form:
The following are the symbols for predefined properties:
Note that symbols for user-defined properties have a double underscore in the name. For example, the user-defined symbol for the value DISK$USER:[JONES] would be defined as follows:
$ SHOW SYMBOL DECW$DISPLAY* DECW$DISPLAY_NODE == "220.127.116.11" DECW$DISPLAY_SCREEN == "0" DECW$DISPLAY_SERVER == "0" DECW$DISPLAY_TRANSPORT == "TCPIP" DECW$DISPLAY_XAUTH == "DISK$USER:[SMITH]SERVER1.DECW$XAUTH" DECW$DISPLAY__JONES == "DISK$USER:[JONES]"
If a symbol name or value exceeds or violates any DCL limits or naming conventions, the symbol is not set and an error message is displayed.
If the display device uses a proxy server, the symbols DECW$DISPLAY_NODE, DECW$DISPLAY_TRANSPORT, and DECW$DISPLAY_SERVER reflect values associated with the proxy server and not the X display server.
Displays the value for the specified property. If the value consists of
one or more items, they are displayed as a comma-delimited list.
1.1.3 Command Examples
$ SET DISPLAY/CREATE/GENERATE=TRUSTED/XAUTHORITY=XAUTHORITY_TEMP/NODE=ZEPHYR $ PIPE SHOW DISPLAY/EXTRACT | RSH FLOPSY "XAUTH NMERGE SYS$INPUT" $ SET HOST FLOPSY $ SET DISPLAY/NODE=ZEPHYR $ RUN SYS$SYSTEM:DECW$CLOCK
$ SET DISPLAY/CREATE/VALUE=(NAME=DECW$SESSION_MANAGER,SET="tcpip/zephyr:9510") $ SHOW DISPLAY/SYMBOLS/ALL Device: WSA23: [super] Node: 0 Transport: DECNET Server: 0 Screen: 0 User-defined values: "DECW$SESSION_MANAGER" = "tcpip/zephyr:9510" $ SHOW SYMBOL DECW$DISPLAY__DECW$SESSION_MANAGER DECW$DISPLAY__DECW$SESSION_MANAGER == "tcpip/zephyr:9510" $ SET DISPLAY UNTRUSTED/CREATE/XAUTHORITY=TEMP/GENERATE- _$ /VALUE=(NAME=DECW$SESSION_MANAGER,-) _$ SET="'DECW$DISPLAY__DECW$SESSION_MANAGER'")
$ SET DISPLAY/CREATE/PROXY=GATEWY/NODE=hubbub.company.com- _$ /PMTRANSPORT=DECNET/NOLBXAUTHENTICATE/TRANSPORT=TCPIP $ SHOW DISPLAY Device: WSA23: [super] Node: HUBBUB.COMPANY.COM Transport: TCPIP Server: 0 Screen: 0 Connection will use: LBX proxy on node: gatewy.company.com Transport to proxy: TCPIP Server number: 63 $ RUN SYS$SYSTEM:DECW$CLOCK
To take advantage of the capabilities offered by the X Keyboard (XKB)
extension and the enhanced X server security and authorization
available with HP DECwindows Motif for HP OpenVMS Alpha Version 1.3, the following utilities have been
introduced to the DECwindows Motif environment.
1.2.1 AccessX Keyboard Utility (accessx)
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).
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 18.104.22.168 and Section 22.214.171.124 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 HP DECwindows Motif for HP 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 2.5. For information regarding the AccessX extension, see the HP DECwindows Motif for HP 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 1-2, 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.
|-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.
126.96.36.199 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 SYS$LOGIN: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:
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.
188.8.131.52 Default Resource Settings
Table 1-3 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.
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 1-4 defines the available options.
|-f authfile||Specifies the name of the authority file. By default, xauth will use the file specified by the DECW$XAUTHORITY logical or SYS$LOGIN:DECW$XAUTHORITY.DECW$XAUTH if not defined.|
|-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 1-5 defines the available commands.
|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 the SECURITY and XC-APPGROUP extensions be enabled.|
|help, ?||Displays information about the parameters and options for this utility.|
|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.|