[an error occurred while processing this directive]
HP OpenVMS Systems Documentation |
HP DECwindows Motif for OpenVMS
|
Previous | Contents | Index |
The CDA Pack application creates a single output file that contains the contents of a .DDIF or .DTIF input file. The single output file also includes the files that are referenced by the .DDIF or .DTIF input file.
The format of the PACK command is as follows:
$ PACK input-file-spec output-file-spec |
The following sections explain the format of the PACK command.
input-file-spec
Specifies the name of the primary .DDIF or .DTIF input file.output-file-spec
Specifies the name of the output file that is created by the PACK application. If you do not specify a device or directory, the output file is created in the current default directory.Qualifiers:
/[NO]SKIP_MISSING
Controls whether the Pack application continues processing if it cannot find one or more of the files that are listed as external references in the input file. The names of any missing files are sent to SYS$ERROR when the Pack application is completed. If you specify /NOSKIP_MISSING, the Pack application does not create an output file if any of the externally referenced files are missing. The default is /SKIP_MISSING./[NO]CONTROLLED_COPY
Controls whether the output file includes only those external references that specify COPY_REFERENCE as the value of the ERF_CONTROL item in the input file. If you specify /NOCONTROLLED_COPY, the Pack application includes all referenced files, regardless of the value of the ERF_CONTROL item. The default is /NOCONTROLLED_COPY./ALWAYS_ENCODE
Controls whether an output file is created when there are no external references in the input file, or if none of the externally referenced files are found. The default is not to create an output file in these cases. If an output file is not created for these reasons, the Pack application returns the CDA_W_NOOUTFIL status code.
For example:
$ PACK MYFILE.DDIF TEST.PACK |
The CDA Unpack application unpacks an input file created by the Pack application. The output files are the .DDIF or .DTIF file that is packed by the Pack application, as well as a file for each external reference in the .DDIF or .DTIF file. The Unpack application sends a list of created files to SYS$ERROR.
The format of the UNPACK command is as follows:
$ UNPACK input-file-spec |
The following sections explain the format of the UNPACK command.
input-file-spec
Specifies the name of the input file that is created by the Pack application.Qualifier:
/OUTPUT=output-file-spec
Specifies the file name and location of the files created by the Unpack application.If you specify an output file name without a directory name, the Unpack application creates the main .DDIF or .DTIF file with the file name you specify in the current default directory. It also creates all externally referenced files in the current default directory.
If you specify a directory name without a file name, the Unpack application creates the main .DDIF or .DTIF file and all externally referenced files in the specified directory. The main .DDIF or .DTIF file has the same name as the file packed by the Pack application.
If you specify a directory name and a file name, the Unpack application creates the main .DDIF or .DTIF file and all the externally referenced files, in the specified directory. The main .DDIF or .DTIF file has the file name you specify.
For example:
$ UNPACK TEST.PACK Output file DISK$:[SMITH]MYFILE.DDIF created. Output file DISK$:[SMITH]FIGURE_1.DDIF created. $ UNPACK TEST.PACK/OUTPUT=[SMITH.UNPACK] Output file DISK$:[SMITH.UNPACK]MYFILE.DDIF created. Output file DISK$:[SMITH.UNPACK]FIGURE_1.DDIF created. $ UNPACK TEST.PACK/OUTPUT=[SMITH.UNPACK]NEW_FILE.DDIF Output file DISK$:[SMITH.UNPACK]MYFILE.DDIF renamed NEW_FILE.DDIF Output file DISK$:[SMITH.UNPACK]FIGURE_1.DDIF created. |
This section describes messages associated with the CDA Pack and Unpack applications.
FILESPEC, Missing filespec: file-name
NOOUTFIL, No output file was created.
OUTFILE, Output file created: file-name
The CDA Viewer issues the following message if it is unable to create the application context:
DRMCTXFAIL, DVR could not create application context, aborting
This section describes features that pertain to the DECterm application.
2.4.2.1 New Default Font Sizes
In previous releases, the default DECterm font size for the "big" and "little" fonts were chosen by point size. This depended on whether 75 or 100 dpi fonts were installed first in the font path. Starting with DECwindows Motif for OpenVMS Version 1.2--4, DECterm chooses its default fonts by pixel size.
The following table shows the two behaviors.
Prior Releases | Since Version 1.2--4 | ||||
---|---|---|---|---|---|
Default Font Size (in pixels) | 100 | 751 | 100 | 75 | |
Big font | 25 | 18 | 18 | 18 | |
Little font | 18 | 14 | 14 | 14 |
In addition, on 100-dpi displays DECterm now uses the big font by default. This results in DECterm using the same font size (18 pixels) on 100-dpi displays as it did in prior releases. On displays that are less than 325 mm wide, DECterm also now uses a bigger default font.
Follow these steps to use the same font as in previous releases (14 pixels):
You can now scroll through text using the keyboard by pressing the Ctrl
key and arrow keys or by pressing the Prev or Next key on the editing
keypad.
2.4.2.3 ReGIS Input Cursors and Escape Sequences
V1.2--3
The DECterm application supports all ReGIS input cursors:
For a shape other than the diamond cursor when n is equal to 1, define the logical name DECW$TERM_REGIS_CURSOR as one of the numbers defined in the SYS$LIBRARY:DECW$CURSOR file.
V1.2
The following escape sequences are supported by DECterm:
See Section 4.2.2.1, ReGIS Input Cursors for additional information about escape sequences in
DECwindows Motif software.
2.4.2.4 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 |
This section describes features that pertain to the Motif Window
Manager application.
2.4.3.1 Overlay Support
The latest version of the Motif Window Manager (MWM) supports overlays and utilizes additional planes of memory, which are available on some 3D graphics accelerators. The Window Manager places borders and banners for all the windows into these extra planes of memory and thereby reduces the number of expose events for your applications that use overlays.
You may need to modify your existing applications that use overlays to avoid potential problems with the colormap. HP recommends that you set up your system to share the overlay colormap with the Window Manager, as the hardware supports only one colormap for the overlay planes.
See the associated documentation for your 3D graphic accelerator to determine if overlays are supported.
Setting Up the Overlay Colormap
To modify your applications to share the overlay colormap with the Window Manager, query the server property name SERVER_OVERLAY_COLORMAPS. When you make the query, the server returns the 32-bit value for the overlay Colormap ID.
To set up your system to share the overlay colormap with the Window Manager, edit the files SYS$COMMON:[VUE$LIBRARY.SYSTEM]VUE$MWM.COM and SYS$COMMON:[SYSMGR]DECW$MWM.COM. Change the following line in each file:
$ mwm -multiscreen |
Edit this line by adding the -Overlay command-line option as follows:
$ mwm -multiscreen "-Overlay" |
Note that if you create and install your own colormap, the following problems can result:
The following restrictions apply when you enable the Window Manager to use overlays:
The following sections describe new features related to specific X
Window System utilities ported to DECwindows Motif.
2.5.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.5.1.1 and Section 2.5.1.2 to learn more about the configuration file and its default values. For information about enabling and using XKB and X Keyboard keymaps, see the HP DECwindows Motif for OpenVMS Management Guide.
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-4, 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.5.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.
2.5.1.2 Default Resource Settings
Table 2-5 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 |
Previous | Next | Contents | Index |