[an error occurred while processing this directive]
HP OpenVMS Systems Documentation |
HP DECwindows Motif for OpenVMS
|
Previous | Contents | Index |
When the SECURITY extension is enabled on an X display server, you can generate additional authorization keys. Generated keys enable you to further manage server access and control the type of operations performed over the connection. For example, you can revoke a generated key at will, set it to expire after a certain time period, or use it to further grant or restrict the operations (at the X atom level) that can be performed over the connection.
Use the XAUTH GENERATE command to produce a new authorization key. Note that the generated key overwrites any existing key for the current session. To preserve the existing key, specify an alternate X authority file on the XAUTH command line.
For example, the following commands specify the alternate X authority file UNTRUSTED.DECW$XAUTH, generate and display a new key for the local display, and write the generated key to the alternate file:
$ XAUTH -f UNTRUSTED.DECW$XAUTH Using authority file untrusted.decw$xauth xauth> LIST :0 local/ZEPHYR:0 MIT-MAGIC-COOKIE-1 cfcc5ef98f9718f90154f355c0ae9f62 xauth> GENERATE :0 xauth> LIST :0 local/ZEPHYR:0 MIT-MAGIC-COOKIE-1 cfcc4ff77f3709c46222c355f0ea1c93 xauth> EXIT Writing X authority file untrusted.decw$xauth |
V1.3
The Keyboard Compiler utility (xkbcomp) compiles X Keyboard source files into loadable X Keyboard layout (.XKM) files. Using xkbcomp, you can customize the standard layouts provided with the X Window System by creating or modifying the component source files.
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 xkbcomp as a foreign command:
$ xkbcomp == "$SYS$SYSTEM:DECW$XKBCOMP" |
The command format for xkbcomp is as follows:
$ xkbcomp [-options...] input-file [output-file] |
Option | Description |
---|---|
-a | Specifies that all user actions be displayed. |
-C | Creates a C header file during compilation. |
-em1 message | Prints the specified message before printing any informational or error messages. |
-emp message | Prints the specified message at the start of each line of messages. |
-eml message | Prints the specified message after any informational or error messages. |
-dflts | Specifies that the compiler generate default values for any missing parameters. |
-I [ directory] | Specifies the top level directory for include statements. A comma-separated list of multiple directories is allowed. |
-l [ flags] |
Specifies that a list of matching keymap files be displayed, where
flags can be one or more of the following options:
The default of -l with no flags turns all options off. |
-map keymap file | Specifies the keymap file to compile. |
-merge | Merges the keymap file with the keymap currently residing on the server. |
-o file | Specifies the fully-qualified name of the compiled keymap (.XKM) file. |
-optional parts |
Specifies optional components of a keymap file, where
parts can be any combination of:
Note that errors in specifying optional components are not fatal. |
-R [ DIRECTORY] | Specifies the directory in which the component source files are located. |
-synch | Forces keymap synchronization. |
-w [ level] | Sets the warning level for compiler errors, ranging from 0 (none) to all (10). |
-xkb | Generates an X keyboard (.XKB) source file. |
-xkm | Generates a compiled keymap (.XKM) file. |
For information about the keyboard components database, see the
HP DECwindows Motif for OpenVMS Management Guide.
2.5.4 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 2-10 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 |