Setting WorkShop Resources |
A |
![]() |
This appendix organized into the following setcions:
Which Resource File?
WorkShop provides two variations, CDE (Common Desktop Environment) and non-CDE, of each of its two resource files, WORKSHOP and ESERVE. The WorkShop program loads the correct resource file automatically based on whether the CDE window manager is running or not. The only difference between the CDE and non-CDE variations is that the latter does not define generalized color and font resource for the moftif widgets; it allows the CDE Style Manager control to these widgets.
Resources Available for Editing
Both the ESERVE and WORKSHOP files contain comments that indicate what the following group of resources pertain to, for example:
! Resources for highlight colors used by WORKSHOP in the editors WORKSHOP.curPCColor: #8BD98B WORKSHOP.visitPCColor: #EDC9FF WORKSHOP.breakptColor: #FF9696 |
The types of WorkShop resources you can edit include:
XFILESEARCHPATH
or XAPPLRESDIR)
. Next, copy those resource definitions from either the CDE/WORKSHOP or non-CDE/WORKSHOP, depending on whether you run under the CDE desktop or not. Consult with your system administrator for assistance if you have difficulty locating the files.Here are the steps involved in changing a resource definition from the CDE/WORKSHOP file (the process is the same for non-CDE and for ESERVE resource definitions):
Note - If you modify the default colors inWorkShop to use a non-specified color, you can cause WorkShop to fill up the color map.
These resources serve as flags indicating that non-ascii characters written to a hyperlink display are to be interpreted as multi-byte characters. The multi-byte characters are displayed in the font indicated by the resource.
Note - Where WC font resources are set for hyperlink displays of multi-byte characters and you change a WC font resource, the size and spacing of WC fonts should be proportional to the size and spacing of non-WC fonts. To get proportional formatting you might need to modify the resources for non-WC fonts.
WorkShop Resources
The following tables lists the WorkShop color and font resources that you can change.
The following resources apply to the graph types in the Data Grapher window.
Hperlink Resources
The following resources set the font type, weight, and angle used in the windows and dialog boxes of the English version of WorkShop.
Resource Name |
Default Value |
WORKSHOP*HTML*wrapPreformatText: |
True |
This resource enables you to turn vertical scrollbars off or on.
Resource Name |
Default Value |
WORKSHOP*HTML*verticalScrollbarAlways: |
True |
Motif-specific Resources
The following tables list resources that are specific to Motif environments only and are not used by CDE.
This resource is applicable to text in a tabular format, such as tables.
Resource Name |
Default Value |
WORKSHOP.DataMonospacedFont: |
-*-lucidatypewriter-medium-r-normal-*-12-*-*-*-*-*-*-* |
The next table lists all the foreground and background colors used in most WorkShop windows.
Colors for scrollbar background and toggle buttons to indicate toggle on or off.
ESERVE Resources
The following tables lists the ESERVE resources that you can change.
Resource Name |
Default Value |
ESERVE*defaultGnuEmacsPath: |
emacs |
ESERVE*defaultXEmacsPath: |
xemacs |
The values for these resources can either be fully qualified paths or the basenameof the command (for instance, myfavoriteemacs).
Resource Name |
Default Value |
ESERVE*DtTerm.blinkRate: |
0 |
ESERVE Colors
Colors for text editor windows.
Background color for scrolling lists available from a text editor.
Resource Name |
Default Value |
ESERVE*XmList*background: |
#dededededede |
Colors for areas in text editors containg text other than menus and buttons.
Resource Name |
Default Value |
ESERVE*XmTextField*background: |
white |
ESERVE*XmText*background: |
white |
ESERVE*dtTerm*background: |
white |
ESERVE*readwriteBackground: |
white |