![]() |
![]() HP OpenVMS Systems Documentation |
![]() |
Using DECwindows Motif for OpenVMS
Appendix D
|
Use extreme caution when modifying resources for the following reasons:
|
To use resources to change application settings, create a file (DECW$XDEFAULTS.DAT) in the directory specified by the logical name DECW$USER_DEFAULTS. In this file, specify the resources for the application settings you want to change.
Note that each resource specification in the DECW$XDEFAULTS.DAT file follows explicit syntax rules. For more information about the resource syntax, see VMS DECwindows Guide to Xlib (Release 4) Programming: MIT C Binding or X Window System.
This appendix contains resource information for the following DECwindows applications:
For more information about using resources to change DECwindows settings, see the OSF/Motif Programmer's Guide.
BookreaderLibrary Specifies resources for the library window (that is, the window that displays libraries, bookshelves, and book titles).BookreaderNavigation Specifies resources for the Navigation window (that is, the window that displays the table of contents and the index).
BookreaderTopic Specifies resources for the Topic window (that is, the window that displays topic information).
For this version of DECwindows, Bookreader does not use options dialog boxes to save resources. You can specify them in your resource files.
!***************************************************************** ! Note! in all cases, .mm_width and .mm_height are specified in ! millimeters. ! also, .x_offset and .y_offset specifies the relative placement of ! subsequent instances of the same type of window. !***************************************************************** ! !------------------------------------------------------------ ! Library window resources !------------------------------------------------------------ ! BookreaderLibrary.x: 3 BookreaderLibrary.y: 25 BookreaderLibrary.mm_width: 98 BookreaderLibrary.mm_height: 100 ! ! start iconified. ! BookreaderLibrary.initialState: 3 ! ! specifies which if any shelves should be opened at application startup ! valid values are: none, first, all ! BookreaderLibrary.shelf_to_open_on_startup: first ! !------------------------------------------------------------ ! Navigation window resources !------------------------------------------------------------ ! BookreaderNavigation.x: 3 BookreaderNavigation.y: 80 BookreaderNavigation.mm_width: 101 BookreaderNavigation.mm_height: 145 BookreaderNavigation.x_offset: 0 BookreaderNavigation.y_offset: 35 ! !------------------------------------------------------------ ! Topic window resources !------------------------------------------------------------ ! BookreaderTopic.x: 408 BookreaderTopic.y: 75 BookreaderTopic.mm_width: 159 BookreaderTopic.mm_height: 178 BookreaderTopic.x_offset: 35 BookreaderTopic.y_offset: 35 ! ! max_default_topic dimensions specify the largest size that Bookreader ! will use for a topic window, by default ! BookreaderTopic.max_default_topic_width: 765 BookreaderTopic.max_default_topic_height: 645 ! ! .show_hot_spots specifies whether Bookreader has hot-spot highlighting ! turned on by default. this resources corresponds to the 'show hot spots' ! option in the view menu of the topic window. ! ! similarly, .show_extensions specifies extension highlighting ! ! valid values are: true, false ! BookreaderTopic.show_hot_spots: false BookreaderTopic.show_extensions: true
Calc
Calculator automatically saves x, y, width, height, and initial window state. Do not specify these resources in your resource file.
See the examples in DECW$SYSTEM_DEFAULTS:DECW$CALC.DAT.
DECW$CALENDAR
Calendar stores height, width, x and y, and initial window state in the Calendar data file. These are saved when you save other customizations. Calendar will ignore these resources if they are specified in resource files.A number of calendar-specific color resources are mentioned in DECW$SYSTEM_DEFAULTS:DECW$CALENDAR.DAT.
See the examples in DECW$SYSTEM_DEFAULTS:DECW$CALENDAR.DAT.
Cardfiler The index window of the cardfiler.CardfilerCard The card window of cardfiler.
Cardfiler automatically saves x, y, width, height, and initial window state. Do not specify these resources in your resource file.
See the examples in DECW$SYSTEM_DEFAULTS:DECW$CARDFILER.DAT.
Viewer
For this version of DECwindows, CDA Viewer does not use options dialog boxes to save resources. You can specify them in your resource files.
Clock
Clock automatically saves x, y, width, height, and initial window state. Do not specify these resources in your resource file.
See the examples in DECW$SYSTEM_DEFAULTS:DECW$CLOCK.DAT.
Decw$terminal.Main.Terminal
bigFontSetName
Specifies the font used for the "big" font set. The default is -*-Terminal-*-*-*--18-*-*-*-*-*-*-*.columns
Specifies the width of the logical display in columns. The default is 80.condensedFont
Specifies that the condensed font should be used. The default is to display the normal font (Off).fontSetSelection
Specifies which font is used. Specify 1 for little and 0 for big. The default is 1.littleFontSetName
Specifies the font used for the "little" font set. The default is -*-Terminal-*-*-*--14-*-*-*-*-*-*-*.rows
Specifies the height of the logical display in rows. The default is 24.syncFrequency
Specifies the number of lines scrolled before DECterm synchronizes with the server. This number limits the rate of scrolling. The higher the number, the faster DECterm scrolls. The default is 10.
See the examples in DECW$SYSTEM_DEFAULTS:DECW$TERMINAL.DAT.
VUE$MASTER
FileView and Session Manager save options settings and window positions in a private profile file. You can use options dialog boxes to change menu names and menu contents.
FileView and Session Manager do not ship an application Xdefaults file.
DECW$LWK_MANAGER
LinkWorks Manager has a primary main window (the Environment window) and secondary windows (LinkBase windows). LinkWorks Manager automatically saves x, y, width, height, and initial window state for the Environment window. Do not specify these resources in your resource file.
Mail Anything to do with the main windowMailSend Anything to do with the send window
MailRead Anything to do with the read window
Mail saves x, y, width, height, foreground, background, and initial window state automatically or through options dialog boxes. Do not specify these resources in your resource file.
! These are the font specifictions for the SVN interface in Mail ! Level 0 will be the drawer name fonts; level 1 the folders; and ! level 2 the messages. ! Mail*svnArea*DXmfontListDefault: -*-Menu-Medium-R-Normal--*-120-*-*-P-*-IS O8859-1 Mail*svnArea*DXmfontListLevel0: -*-Menu-Medium-R-Normal--*-120-*-*-P-*-IS O8859-1 Mail*svnArea*DXmfontListLevel1: -*-Menu-Medium-R-Normal--*-120-*-*-P-*-IS O8859-1 Mail*svnArea*DXmfontListLevel2: -Adobe-Courier-Medium-R-Normal--*-120-*-* -M-*-ISO8859-1 ! Pane main window fonts ! This is the messages font ! Mail*messageArea*DXmfontListLevel0: -Adobe-Courier-Medium-R-Normal--*-120-*- *-M-*-ISO8859-1 ! ! This is the folder/drawer name font ! Mail*Item.fontList: -*-Menu-Medium-R-Normal--*-120-*-*-P-*-I SO8859-1 ! ! Read window fonts ! MailRead*readWindow*envelopeText.fontList: -Adobe-Courier-Medium-R- Normal--*-120-*-*-M-*-ISO8859-1 MailRead*readWindow*messageText.fontList: -Adobe-Courier-Medium-R- Normal--*-120-*-*-M-*-ISO8859-1 ! ! Send window fonts ! ! This is the font for any text area you can enter (subject, to etc) ! MailSend*sendWindow*workArea*XmText.fontList: -Adobe-Courier-Medium-R-Normal-- *-120-*-*-M-*-ISO8859-1 ! ! This is the font for any remaining areas in the send window like labels. ! MailSend*sendWindow*workArea.fontList: -Adobe-Courier-Medium-R-Normal-- *-120-*-*-M-*-ISO8859-1 P
The kit includes the default Motif Window Manager resource files for customizing the appearance and behavior of the Window Manager. The resource files are the following:
Mwm first searches the DECW$USER_DEFAULTS directory for the DECW$MWM.DAT file and then searches the DECW$SYSTEM_DEFAULTS directory for the DECW$MWM.DAT file for the Mwm resource file.
For monochrome and gray-scale monitors, Mwm overrides the color resources defined in DECW$MWM.DAT with those defined in DECW$MWM_BW.DAT and DECW$MWM_GRAY.DAT for any color-related sources.
A resource that is defined in the Xdefaults file overrides any resource defined in the DECW$MWM.DAT file.
For new resources as defined in the Mwm file to take effect, you must select Restart from the Workspace menu to restart the Window Manager. For new resources that are defined in the Xdefaults file, you must restart the session by exiting the Session Manager and logging in again. You should place all the Mwm resources in the Mwm resource file rather than in the Xdefaults file.
The Motif virtual bindings are virtual button and key bindings that link buttons or keys to X Window events. The Motif bindings file is DECW$USER_DEFAULTS:DECW$MOTIFBIND.DAT.
The default bitmap directory DECW$USER_DEFAULTS is used when searching for icon images. You can define DECW$USER_DEFAULTS by specifying the Mwm*bitmapDirectory resource.
See the examples in DECW$SYSTEM_DEFAULTS:DECW$MWM.DAT.
Index | Contents |