You can customize the X Window System resources that Prism (and other X applications) uses.
Edit Geometry - Use this resource to specify the X geometry string for the editor created by the Edit and Email selections from the Utilities menu. The geometry string specifies the number of columns and rows, and optionally the left and right offsets from the corner of the screen. The Prism default is 80x24 (that is, 80 rows and 24 columns). See your X documentation for more information on X geometries.
Editor - Use this resource to specify the editor that Prism is to invoke when you choose the Edit selection from the Utilities menu. Click on the Editor box to display a menu of possible choices. If you leave this field blank, Prism uses the setting of your EDITOR environment variable to determine which editor to use.
Error Bell - Use this resource to specify how Prism is to signal errors. Choosing true tells Prism to ring the bell of your workstation. Choose false (the Prism default) to have Prism flash the screen instead.
Error Window - Use this resource to tell Prism where to display Prism error messages. Choose command (the Prism default) to display them in the command window. Choose dedicated to send the messages to a dedicated window; the window will be updated each time a new message is received. Choose snapshot to send each message to a separate window.
Make - Use this resource to tell Prism which make utility to use when you choose the Make selection from the Utilities menu. The Prism default is the standard Solaris make utility, /usr/ccs/bin/make. Click on the Make box to display a menu of possible choices.
Mark Stale Data - Use this resource to tell Prism how to treat the data in a visualizer that is out-of-date (because the program has continued execution past the point at which the data was displayed). Choose true (the default) to have Prism draw diagonal lines over the data; choose false to leave the visualizer's appearance unchanged.
Procedure Menu - Use this resource to specify whether a menu is to be displayed when you set a breakpoint in a Fortran 90 generic procedure. If you choose true (the default), a menu of possible procedures is displayed, from which you can choose the procedure(s) in which the breakpoint is to be set. Choose false if you want to set the breakpoint automatically in all the generic procedures.
Menu Threshold - Use this resource to specify the maximum number of procedures that are to be displayed in a menu when you perform an action (for example, setting a breakpoint) on a Fortran 90 generic procedure. The default is 22. Enter 0 to indicate that there should be no maximum. If the number of procedures exceeds the specified threshold, you are prompted to either enter the procedure name or display the menu.
Text Font - Use this resource to specify the name of the X font that Prism is to use in displaying the labels of histogram bars and text in visualizers. The default, 8x13, is a 12-point fixed-width font. To list the fonts available on your system, issue the Solaris command xlsfonts. Specifying a font much larger than the default can cause display problems, because Prism doesn't resize windows and buttons to accommodate the larger font.
Use Xterm - Use this resource to tell Prism what to do with the I/O of a program. Specify true (the Prism default) to tell Prism to create an Xterm in which to display the I/O. Specify false to send the I/O to the Xterm from which you started Prism.
Visualizer Color File - Use this resource to tell Prism the name of a file that specifies the colors to be used in colormap visualizers. If you leave this field blank, Prism uses gray for elements whose values are not in the context you specify; for elements whose values are in the context, it uses black for values below the minimum, white for values above the maximum, and a smooth spectral map from blue to red for all other values.
The file must be in ASCII format. Each line of the file must contain three integers between 0 and 255 that specify the red, green, and blue components of a color.
The first line of the visualizer color file contains the color that is to be displayed for values that fall below the minimum you specify in creating the visualizer. The next-to-last line contains the color for values that exceed the maximum. The last line contains the color used to display the values of elements that are not in the context specified by the user in a where statement. Prism uses the colors in between to display the values falling between the minimum and the maximum. See Table 10-1 for an example.
Table 10-1 Sample Visualizer Colors
Red |
Green |
Blue |
---|---|---|
0 |
0 |
0 |
255 |
0 |
0 |
255 |
255 |
0 |
0 |
255 |
0 |
0 |
255 |
255 |
0 |
0 |
255 |
255 |
0 |
255 |
255 |
255 |
255 |
100 |
100 |
100 |
Like the default settings, this file specifies black for values below the minimum, white for values above the maximum, and gray for values outside the context. But the file reverses the default spectral map for other values: from lowest to highest, values are mapped red-yellow-green-cyan-blue-magenta.