Previous | Contents | Index |
V1.2
The WRITE$FONTS logical name references an initialization file used to provide font definitions to the CDA Viewer.
The default location for the WRITE$FONTS.INI file is SYS$LIBRARY, but, if the logical name WRITE$FONTS is defined, the CDA Viewer uses the logical name definition to search for the WRITE$FONTS.INI file.
Full path support is included, so any of the following definitions are valid:
WRITE$FONTS Logical Name | Resulting File |
---|---|
Undefined | SYS$LIBRARY:WRITE$FONTS.INI |
DISK:[DIRECTORY] | DISK:[DIRECTORY]WRITE$FONTS.INI |
SYS$LOGIN: | SYS$LOGIN:WRITE$FONTS.INI |
.TMP | SYS$LIBRARY:WRITE$FONTS.TMP |
DISK:[DIRECTORY]FILE | DISK:[DIRECTORY]FILE.INI |
This section describes features that pertain to the Clock application.
4.4.3.1 DECsound Alarm Capability
The Clock application includes an alarm feature that can be used if your system supports DECsound. On systems without sound capabilities, you can select only the keyboard bell. When you choose Alarm from the Options menu, a pop-up window appears. This pop-up window allows you to set the alarm time, choose the sound to be played, and indicate an alarm message. To see if your system supports this feature, invoke one of the sounds located in the DECW$EXAMPLES directory (for example, BELLS.AUD).
4.4.4 DECterm
This section describes features that pertain to the DECterm application.
4.4.4.1 Overlay Support
The latest version of the 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. Compaq 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:
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.
4.4.4.4 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 6.5.3.1, ReGIS Input Cursors for additional information about escape sequences in
DECwindows Motif software. See hp DECwindows Motif for hp OpenVMS Alpha Release Notes for details and
restrictions on the use of these sequences.
4.4.4.5 Support for Local Echo Mode
DECterm supports a local echo mode. In the Options/General dialog box,
select Local Echo, which causes all character sequences generated
locally to be echoed on the display and passed to the remote host. This
feature is useful when connected to a host that does not echo typed
characters.
4.4.4.6 Answerback Message Support
A user interface is available to enter answerback messages. This answerback message field is for compatibility with Compaq terminals.
The answerback field is a buffer that contains up to thirty characters. The answerback field in earlier Compaq terminals contained a message used to identify itself to the host system. For DECterm windows, the answerback field can be used to store a sequence of characters that you can use for any repetitive purpose.
A field is provided in the Options/General dialog box to enter answerback text. Click on the answerback field and enter your text. To enter control characters, encode the control character as a two-digit hex ASCII code, preceded by a number sign (#).
For example, when you enter #0D in the answerback field, DECterm responds with a carriage return.
If two consecutive number sign characters are entered (##), a single number sign is transmitted.
If anything other than a valid two-digit hex code or another number sign is detected after an initial number sign, the number sign is treated as a normal text character. Refer to any ASCII table for a complete list of characters.
The answerback text can also be concealed. When the Conceal Answerback
button is enabled, the answerback message is concealed. To deselect the
Conceal Answerback button, click on the answerback text field, which
erases the previous answerback message.
4.4.4.7 Seven-Bit Printer Support
When the 7-Bit Printer button is selected in the Options/Printer dialog box, DECterm modifies printed text to be compatible with printers that do not support 8-bit characters. This includes modifying control sequence introducer (CSI) strings to use the format Escape-Left Bracket rather than the single 8-bit CSI character.
When the 8-Bit Printer button is selected, DECterm allows the use of 8-bit characters when printing. This mode can cause problems for older printers if they can not interpret 8-bit characters.
The default is 8-Bit.
4.4.4.8 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 |
The following sections describe new features related to specific X
Window System utilities ported to DECwindows Motif.
4.5.1 Window Dump to Print File (xpr) Utility
The Window Dump to Print File utility prints an X Window dump using the xpr program.
The xpr program receives as input a window dump file produced by the Window Dump utility (xwd) and formats it for output on the following printers:
To use the xpr program, define xpr as a user-defined command:
$ xpr == "$DECW$UTILS:XPR" |
You must specify an input file. The xpr program prints the largest possible representation of the window on the output page. Options allow the user to add headers and trailers, specify margins, adjust the scale and orientation, and append multiple window dumps to a single output file.
Use the following command format:
$ xpr input_file [options...] |
Options include:
-append filename -noff -output filename -compact -device {ln03 | la100 | ps | lw | pp | ljet | pjet | pjetxl} -dump -gamma correction -gray {2 | 3 | 4} -height inches -width inches -header string -trailer string -landscape -portrait -left inches -top inches -noposition -nosixopt -plane n -psfig -render type -report -rv -scale scale -slide -split n-pages |
Table 4-4 defines the available options.
Option | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
-device devtype |
Specifies the device on which the file is printed.
Currently supported devices:
The default is PostScript. |
||||||||||||||||
-scale scale | Affects the size of the window on the page. The PostScript, LN03, and HP printers can translate each bit in a window pixel map into a grid of a specified size. For example, each bit might translate into a 3x3 grid. This would be specified by -scale 3. By default, a window is printed with the largest scale that will fit onto the page for the specified orientation. | ||||||||||||||||
-height inches | Specifies the maximum height of the page. | ||||||||||||||||
-width inches | Specifies the maximum width of the page. | ||||||||||||||||
-left inches | Specifies the left margin in inches. Fractions are allowed. By default the window is centered in the page. | ||||||||||||||||
-top inches | Specifies the top margin for the picture in inches. Fractions are allowed. | ||||||||||||||||
-header string | Specifies a header string to be printed above the window. | ||||||||||||||||
-trailer string | Specifies a trailer string to be printed below the window. | ||||||||||||||||
-landscape | Forces the window to be printed in landscape mode. By default, a window is printed so that its longest side follows the long side of the paper. | ||||||||||||||||
-portrait | Forces the window to be printed in portrait mode. By default a window is printed so that its longest side follows the long side of the paper. | ||||||||||||||||
-plane number | Specifies which bit plane to use in an image. The default is to use the entire image and map values into black and white based on color intensities. | ||||||||||||||||
-gray | Uses a 2x2, 3x3, or 4x4 gray scale conversion on a color image, rather than mapping to strictly black and white. This doubles, triples, or quadruples the effective width and height of the image. | ||||||||||||||||
-rv | Forces the window to print in reverse video. | ||||||||||||||||
-compact | Uses run-length encoding for compact representation of windows with white pixels. | ||||||||||||||||
-output filename | Specifies an output file name. | ||||||||||||||||
-append filename | Specifies a file name previously produced by xpr to which the window is to be appended. | ||||||||||||||||
-noff | When specified in conjunction with -append, the window appears on the same page as the previous window. | ||||||||||||||||
-split n-pages | Allows the user to split a window onto several pages. This might be necessary for very large windows that would otherwise cause the printer to overload and print the page in an obscure manner. | ||||||||||||||||
-psfig | Suppresses translation of the PostScript picture to the center of the page. | ||||||||||||||||
-density dpi | Indicates dot-per-inch density to be used by the HP printer. | ||||||||||||||||
-cutoff level | Changes the intensity level where colors are mapped to either black or white for monochrome output on a LaserJet printer. The level is expressed as percentage of full brightness. Fractions are allowed. | ||||||||||||||||
-noposition | Causes header, trailer, and image positioning command generation to be bypassed for LaserJet, PaintJet and PaintJet XL printers. | ||||||||||||||||
-gamma correction | Changes the intensity of the colors printed by the PaintJet XL printer. The correction is a floating-point value in the range 0.00 to 3.00. Consult the operator's manual to determine the correct value for the specific printer. | ||||||||||||||||
-render algorithm | Allows the PaintJet XL printer to render the image with the best quality versus performance tradeoff. Consult the operator's manual to determine the available algorithms. | ||||||||||||||||
-slide filename | Allows overhead transparencies to be printed using the PaintJet and PaintJet XL printers. |
The program contains the following limitations:
Program limitations with an LN03 printer:
Program limitations with a LA100 printer:
Program limitations with an HP printer:
xpr -density 96 -width 6.667 filename |
xpr -density 180 filename |
Previous | Next | Contents | Index |