HP Visualize c240se hp workstations - hp-ux 10.20 graphics administration guid
HP Visualize c240se - Workstation Manual
View all HP Visualize c240se manuals
Add to My Manuals
Save this manual to your list of manuals |
HP Visualize c240se manual content summary:
- HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 1
Graphics Administration Guide for HP-UX 10.20. After using this document for a while, please fill out the Reader Reply form. Or, just e-mail us your comments at [email protected] Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 2
34 Performance Tuning of SMT...35 Enabling and Disabling of SMT...37 HP Color Recovery ...38 Dynamic Loading...39 Include Inferiors Fix ...39 Shared Memory Usage With 3D Graphics...40 Count Transparent In Overlay Visual...41 Enable Overlay Transparency ...41 3-Bit Center Color ...41 Image Text Via - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 3
Supported Visuals ...56 Supported Screen Options...56 CRX-48Z Transparent Overlay Visuals ...56 HCRX AND HP VISUALIZE DEVICE-DEPENDENT INFORMATION 57 Supported Visuals ...58 Supported Screen Options...59 HP VISUALIZE COMPATIBILITY CONSIDERATIONS ...103 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 4
HP CDE AND HP VUE...124 SHARED MEMORY USAGE ...124 REFERENCE DOCUMENTATION ...125 SYNOPSIS...126 DESCRIPTION ...126 STARTING UP...127 DISPLAY NAMES...128 ACCESS CONTROL ...129 GEOMETRY SPECIFICATIONS ...154 COPYRIGHT ...154 ORIGIN ...154 SEE ALSO ...155 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 5
PROXY MANAGER DETAILS...165 NOTES ...165 ORIGIN ...166 SEE ALSO ...166 APPENDIX F: LOCATE PROXY SERVICES ...167 NAME ...167 SYNOPSIS...167 DESCRIPTION ...167 ORIGIN ...168 SEE ALSO ...168 APPENDIX ...170 NOTES ...171 ORIGIN ...171 SEE ALSO ...171 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 6
this Guide Graphics Administration Guide: Information for Programmers, System Administrators, and End-Users Copyright © June 1997, June 1998, June 2000 Hewlett-Packard Company HP 9000 Workstations Notices The information contained in this document is subject to change without notice. Hewlett-Packard - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 7
manual by the user. manual part number changes when extensive technical changes are incorporated. June 2000. . . Edition 3. This document is valid for HP9000 workstations running HP-UX 10.20 along with the December 1999 Workstation ACE and Quality Pack. Page 7 Graphics Administration Guide for HP - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 8
Hewlett-Packard began to offer multiple Application Programmer Interfaces (APIs). The situation was this: As HP to all of our APIs. Therefore, those users who had HP-PHIGS would be encountering some of the more elegant solution. While the API-specific documents still contain most of their previous - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 9
in italic type, enclosed in angle brackets. These items are not verbatim values, but are descriptors of the type of item it is, and the user should replace the conceptual item with whatever value is appropriate for the context. Page 9 Graphics Administration - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 10
a specified substring in their names. The find command has many other options for refining a search; see the reference page for details. Page 10 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 11
Subsequent sections of this chapter contain the actual pathnames referred to in other HP graphics API documents, such as Starbase, PEX, etc. A particular paragraph might refer to, say, the /X11 /etc/X11 /usr/lib/X11R6 /usr/include/X11R6 /etc/X11 Page 11 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 12
HP-PHIGS Location in the file system /usr/lib/X11/app-defaults /opt/graphics/common /dev /opt/graphics/common/lib/ X11R6 /usr/include/X11R6 /etc/X11 Page 12 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 13
-utils> HP PEX Location in the file system /usr/lib/X11/app-defaults /opt/graphics/PEX5/examples/cge /opt/graphics/PEX5/utilities/cge /X11R6 /usr/include/X11R6 Page 13 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 14
Pascal: pc example.p -I -Wl,-L -Wl,-L \ -lXwindow -lhpgfx -lXhp11 -lX11 -lm ldld -o example Compiling with Archive Libraries You can link the appropriate library, for your specific device side-effects), "-Wl,a,archive". Page 14 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 15
example For Pascal, use: pc example.p -I -Wl users can simply replace cc with fort77 in the above command. Also, if you are a FORTRAN user HP-PHIGS 2.2/2.3 and 3.0" in the chapter "Functional Overview" in the HP-PHIGS Graphics Techniques manual. Page 15 Graphics Administration Guide for HP - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 16
shared-library form. Fortran users can simply replace cc with fort77 in the above command. Also, if you are a Fortran user and prefer using the f77 HP-PHIGS 2.2/2.3 and 3.0" in the chapter "Functional Overview" in the HP-PHIGS Graphics Techniques manual. Page 16 Graphics Administration Guide for HP - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 17
.a or libddcrx48z.sl HCRX and HP VISUALIZE Families Output Device Link Line Options HP VISUALIZE-EG HP HCRX-8[Z] HP HCRX-24[Z] HP VISUALIZE-8 HP VISUALIZE-24 HP VISUALIZE-48[XP] libddhcrx.a or libddhcrx.sl libddhcrx48.a or libddhcrx48.sl Page 17 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 18
HP VISUALIZE-EG HP VISUALIZE-FX2 HP VISUALIZE-FX4 HP VISUALIZE-FX6 HP VISUALIZE-FXE Link Line Options Legacy APIs libddhcrx.a or libddhcrx.sl libddvisx.a or libddvisx.sl libddfxe.a or libddfxe.sl OpenGL libddhcrx.sl libddvisxgl.sl libddvmd.sl libddfxegl.sl Page 18 Graphics Administration Guide - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 19
HP 7595A/B HP 7596A/B HP 7599A HP C1600A HP C1601A HP C1602A1 HP C1620A HP C1625A HP C1627A HP C1629A HP C1631A HP-GL Plotters Link Line Options libddhpgl.a libdvio.a or libddhpgl.sl libdvio.sl libddCADplt.a or libddCADplt.sl 1 With HP-GL/2 plug-in cartridge Page 19 Graphics Administration Guide - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 20
libddSMDpix.sl Starbase Memory Driver libddSMDpln.a (plane-major packing order) or libddSMDpln.sl The Personal Visualizer libddhpsbv.a File Format or libddhpsbv.sl 1The ".a" version of the VMX driver is bundled with the hpgfx library. Page 20 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 21
chapters in the HP PEX Implementation and Programming Supplement. Compiling OpenGL Applications HP's implementation of OpenGL is supported on workstations with HP VISUALIZE-FX graphics. To .c c89 $(INCDIR) $(LIBDIR) -o meow meow.c $(LIBS) Page 21 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 22
10.20 This chapter documents information specific to the HP X server. It describes features unique to HP's X server, provides information on how to configure the X server and includes a list of supported X configurations. For each supported graphics device, device-dependent configuration information - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 23
options being active. X*screens File For manual changes, please refer to the sample What device file to use (required), o The default visual, o Monitor size, and o Device-dependent screen options specified on a perscreen basis. The X server supports up to four screens at a time. Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 24
size of the SMT regions (see the Shared Memory Transport section). Default value: 0,0,0 ImmediateLoadDles The visual specifications will work on all devices. If there is an error in a specification, look in an information file for more details (for example, /usr/lib/X11/Xserver/info/screens/hp - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 25
visual. Transparent Specify that a visual with an application-accessible transparent entry in the default colormap be used. Specifications used, the default is level 0. On devices that do not support DPMS, this option will be ignored. ScreenOptions Screen options are device Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 26
-24 is the opaque overlay visual. All 256 colormap entries are opaque and allocable. If an application requires transparency in the default visual, the "Transparent" keyword can be used to select the transparent overlay visual as shown below. Page 26 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 27
on a system with a HCRX-8 graphics device. By default on the HCRX-8, the overlay visual does not have a transparent entry available to applications for rendering transparency. If an application valid Single Logical Screen configurations. Page 27 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 28
/dev/crt2 /dev/crt3 Figure 5: Four Physical Displays, Single Logical Screen (4X1) SingleLogicalScreen 2 2 /dev/crt0 /dev/crt1 /dev/crt2 /dev/crt3 Page 28 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 29
example of this: • Screen /dev/crt0 SingleLogicalScreen 1 2 /dev/crt1 /dev/crt2 Figure 7: Three Physical Displays, Screen plus Single Logical Screen (1X2) Page 29 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 30
not allow users to determine if double-buffering in a visual is through visuals on a display. A visual with a higher performance level is likely to have better double-buffer graphics performance than a visual with a lower performance level. Nothing Page 30 Graphics Administration Guide for HP - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 31
-FX4 • HP VISUALIZE-FX6 • HP VISUALIZE-FX5 and FX10 • HP VISUALIZE-FXE Display Power Management Signaling (DPMS) Monitors constitute a large percentage of the power used by a workstation even when not actively in use (i.e., during screen blanking). In order to reduce the power consumption, the Video - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 32
includes the color graphics device and the overlay planes on the CRX-24[Z], CRX-48Z, HCRX, and HP VISUALIZE family. For these devices, MBX double-buffering is still supported, but the second bank is allocated in virtual memory. Rendering and buffer-swapping in these instances is slower than devices - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 33
shared memory pixmaps behave the same as ordinary pixmaps and can be modified by the usual Xlib routines. In addition, it is possible to change the contents of these pixmaps directly without the use of Xlib routines merely by modifying the pixmap data. Page 33 Graphics Administration Guide for HP - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 34
-FX4 • HP VISUALIZE-FX6 • HP VISUALIZE-FX5 and FX10 • HP VISUALIZE-FXE Shared Memory Transport (SMT) Shared Memory Transport (SMT) is a means to more rapidly transport large amounts of data from the client to the server. It is distinct from the MIT Shared Memory Extension, which is specifically for - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 35
but hang or coredump when using SMT. Users encountering this problem can use: DISPLAY=unix:0 to run the application the default for all SMT connections is set. Such a specification in the X*screens file might appear as: ServerOptions SMTSizes 100000 Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 36
,5000 32000 0 Although the default is "SMTSizes 0,0,0," a specification of "SMTSizes 100000,90000,90000" is optimal in most situations SMT is to be suppressed. controls the amount of shared memory allocated for the transport (in bytes). This has the largest effect Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 37
is more sensitive to this than UDS. The problem is quite similar to stdio, where fflush() must immediately do an exec() are not a problem.) The SMT library code attempts to detect improper use of display and core dumps. (There was an earlier HP Shared Memory Transport, which this one replaces. It used - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 38
cards • HP VISUALIZE-EG • HCRX-8[Z], HCRX-24[Z] • HP VISUALIZE-8, HP VISUALIZE-24, and HP VISUALIZE-48[XP] • HP VISUALIZE-FX2, HP VISUALIZE-FX4, and HP VISUALIZE-FX6 Color Recovery is available when using either depth-8 PseudoColor or depth-8 TrueColor visuals on supported as Starbase, HP-PHIGS or - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 39
HP's X server now dynamically loads the appropriate device drivers and extensions based on the target graphics display device and the extensions the device driver supports. This feature should be transparent to X server users the X*screens file. Page 39 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 40
, graphics shared memory size can be increased. For example, to set it to eight megabytes: ServerOptions GraphicsSharedMemorySize=0x800000 Note: The value must be in hexadecimal. The new value won't take effect until you restart the X Server Page 40 Graphics Administration Guide for HP-UX 10 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 41
XP] HP VISUALIZE-FX2, HP VISUALIZE-FX4, and HP VISUALIZE-FX6 HP VISUALIZE-FX5 and FX10 HP VISUALIZE-FXE X*screens File Screen Option To Use: CountTransparentInOverlayVisual Enable Overlay Transparency This option is used to enable the usage of an overlay transparent color on devices that can support - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 42
The ImageTextViaBitMap screen option is supported on all graphics devices supported on the HP 9000/700 machines, except the single card (Dual Color Graphics and Dual CRX, for example) need to have special device files manually created for them. Page 42 Graphics Administration Guide for HP-UX - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 43
cards that are in your machine. Once you select any of them (by single-clicking), the "Actions" menu will contain the options "Show Device Files" and "Create Device Files." Choose whichever option you desire. Supported X Configurations Multi-Display Support Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 44
X server, each with its own mouse, keyboard, and display(s). Multi-seat is not currently supported in any HP-UX 10.* release. Figure 9: Multi-Seat Single Logical Screen A configuration in which a single this document on Single Logical Screen. Page 44 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 45
considering a Single Logical Screen or any other multidisplay configuration, we recommend consulting your HP Sales Representative and inquiring whether the configuration you have in mind is indeed supported. There are general guidelines, however. For example: • Multi-display configurations may be - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 46
HP VISUALIZE-EG graphics card, and still consider them identical devices, thus permitting a 1X2 SLS or a 2X1 SLS SLS is enabled by using SAM (the System Administration Manager tool, /usr/sbin/sam). To enable an SLS configuration, start SAM, and follow the instructions Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 47
that while graphics is supported to a window spanning CRX-24Z). 3D applications (from any supported HP 3D API) will continue to run with without SLS. HP VUE/CDE and Single Logical Screen Be sure that HP VUE/CDE When presenting information on your display, HP VUE may split a window across physical - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 48
in the Style Manager to register the new Front Panel position Note: There is no mechanism in HP VUE for repositioning the login screen, window move/resize boxes, or the screen lock dialog Distributed Single all of the slave X servers. Page 48 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 49
have CDE run to a non-default screen location Then, to configure the logical screen as follows: Figure 11: Logical Screen Configuration Page 49 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 50
with the following restrictions: • All SLS/d slave systems must be running HP-UX 10.20 with the January 1999 periodic patch or a subsequent HP-UX 10.20 patch; • All SLS/d slave displays must be using :50/17.1.1.202 hpslsd4:50/17.1.1.203 Page 50 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 51
Graphics cards. Supported Visuals For color displays: • Class PseudoColor Depth 8 supports DBE and MBX software double-buffering • Class TrueColor Depth 8 supports DBE and , application A would look correct. Either application B or C would have Page 51 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 52
any Color Recovery window in your window's visual Note: The algorithm used for the Color Graphics device is slightly different from that used for the HCRX family of devices. If you do not wish for your application to have to do device-specific checks, HP recommends that you use the HCRX encoding - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 53
red value */ if (red > 0xff) red = 0xff; if (red < 0x00) red = 0x00; /* Generate the green dither value */ green += dither_green[y_dither_table][x_dither_table]; Page 53 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 54
) The "layer" and "transparent" default visual options are not supported. Supported Screen Options The following Screen Options are supported: • SwapBuffersOnVBlank • 3BitCenterColor (Internal Color Graphics only) • EnableIncludeInferiorsFix Page 54 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 55
Supported Visuals The following visuals are supported: • Class PseudoColor Depth 8 Layer Image supports DBE and MBX hardware double-buffering • Class PseudoColor Depth 8 Layer Overlay supports the CountTransparentInOverlayVisual screen option. Page 55 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 56
-coded to transparent (that is, show the image planes). This may have the following two consequences for X11 applications running in the overlay planes (the default visual): • Clients attempting to allocate 256 entries do not have their request granted. Page 56 Graphics Administration Guide for HP - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 57
provides a superset of functionality in the CRX-24[Z]. The HP VISUALIZE-EG is either an unaccelerated built-in graphics device or a single board unaccelerated graphics device (not counting the optional memory daughter card in either case). This device provides compatible functionality with the - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 58
The HP VISUALIZE-48[XP] is a two-board accelerated device that fills two slots. If you add either the optional texture-mapping memory card or the optional video-out card, it becomes a three-board set that fills three slots. Add both optional cards, and it becomes a four-board set, but it still fills - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 59
] VISUALIZE-EG and HP VISUALIZE-8 only) • SwapBuffersOnVBlank • ImageTextViaBitMap • CRX24_FULL_DEFAULT_VISUAL (HCRX-24[Z] only) • EnableIncludeInferiorsFix HP VISUALIZE-EG Modes The following modes are supported: • 8 Plane mode • Double-Buffer mode Page 59 Graphics Administration Guide for HP-UX - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 60
, but not in the overlays. The overlay planes support the slower virtual-memory-based doublebuffering. Implications and Suggestions for HCRX-8[Z], HP [Dual] VISUALIZE-EG and HP VISUALIZE-8 The default colormap cannot be used with a window in a non-default visual, even one of the same depth as the - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 61
supported in the typical X server operation on the HCRX-8[Z], HP [Dual] VISUALIZE-EG or HP VISUALIZE-8. For applications that require transparent overlay windows on the HCRX-8[Z], HP VISUALIZE-EG(D) or HP VISUALIZE states that there are 256 Page 61 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 62
[XP] The HCRX-24[Z], HP VISUALIZE-24, and HP VISUALIZE-48[XP] have two visuals in the overlay planes, both depth-8 PseudoColor. The default overlay visual has 256 entries per colormap and no transparency. The second overlay visual has 255 entries per colormap and supports transparency in the same - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 63
purpose is to give the idea of how to find an overlay visual having transparency. HCRX Colormaps The following information discusses the number of supported colormaps for the HCRX configurations. HP VISUALIZE-EG(8): 8 Image planes The image planes contain the default colormap permanently installed - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 64
colormaps, the application that has the colormap focus looks correct and the other is technicolored. HP VISUALIZE-48[XP]: Eight Overlay Planes and 48 Image Planes The overlay planes contain the default calls to XGetRGBColormaps. The property Page 64 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 65
visual IDs that support Color Recovery. When the XGetRGBColormaps routine searches this list for a colormap with a visual ID that matches your window's visual ID and it finds one, your application knows that your visual supports MOD 16 */ Page 65 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 66
blue value */ if (blue > 0xff) blue = 0xff; if (blue < 0x00) blue = 0x00; pixel = ((red & 0xE0) | ((green & 0xE0) >> 3) | ((blue & 0xC0) >> 6)); return(pixel); } Page 66 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 67
. Optional texture mapping acceleration is also available. Supported Visuals HP VISUALIZE-FX2/4/6 graphics devices support all of the following visuals: • Class PseudoColor Depth 8 Layer Image • Layer Image • Class TrueColor Depth 24 Layer Image Page 67 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 68
support DBE hardware or software double-buffering The default set of visuals on the HP VISUALIZE-FX4 and HP VISUALIZE-FX6 depend on the stereo mode setting. In non-stereo mode, the following visuals are enabled by default on the HP VISUALIZE-FX4 and HP VISUALIZE Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 69
In stereo mode, the following visuals are enabled by default on the HP VISUALIZE-FX4 and HP VISUALIZE-FX6: • Class PseudoColor Depth 8 Layer Image supports DBE hardware double-buffering • Class PseudoColor Depth 8 Layer Overlay supports DBE software double-buffering • Class PseudoColor Depth 8 Layer - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 70
options are supported on the HP VISUALIZE-FX2, HP VISUALIZEFX4 (stereo mode) and HP VISUALIZE-FX6 (stereo mode): • Disable12BitDirectColorVisual • Disable12BitTrueColorVisual The following additional screen options are supported on the HP VISUALIZE-FX4 (non-stereo mode) and HP VISUALIZE-FX6 (non - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 71
/* Get the visuals for this screen Get the overlay visual information for this TransparentPixel ) {/* Found a transparent overlay visual, set ident. aside. */}; pOVis++; There might be some additional checking of the found transparent overlay visuals wanted; e.g., for depth. */ } XFree(pVisuals); } - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 72
the GLX Visuals The HP VISUALIZE-FX2/4/6 products are the first set of HP graphics devices that supports the OpenGL extension to X (GLX). If HP OpenGL is installed on an HP VISUALIZE-FX2/4/6 system, then the GLX extension offers new entry points for obtaining more information about X visuals. As - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 73
devices, as well as 3D acceleration for lighting, shading and texture mapping. Supported Visuals HP VISUALIZE-FXE/5/10 graphics devices support all of the following visuals: • Class PseudoColor Depth 8 Layer Image • Class PseudoColor Depth 8 Layer Overlay • Class PseudoColor Depth8 Layer Overlay - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 74
the extra visuals cause problems with applications, a screen option can be used to disable them. To disable the GLX visuals, add the DisableGlxVisualsScreen Option to the X*screens file.For example: Screen /dev/crt/ ScreenOption DisableGlxVisuals Page 74 Graphics Administration Guide for HP-UX 10 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 75
on Hewlett-Packard workstations. Note: The Freedom Series is no longer supported as of HP-UX 10.20 Workstation ACE (July, 1997); the information below is presented for those who are running previous versions of the operating system Supported Visuals The following visuals are supported: • Class - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 76
video format must be selected to support the specific display device connected to the Freedom accelerator. Multisync monitors can support several different video formats. Alternative supported formats: Alternative Supported Freedom Video 76 Hz Page 76 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 77
below is presented for those who are running previous versions of the operating system Supported Visuals The following visuals are supported: • Depth 3 (overlay and combined mode) • Depth 4 (overlay and For example: /dev/crt # Image mode Page 77 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 78
and a secondary device must be specified. The VRXSecondaryDevice is used for this purpose. For example: /dev/ocrt /dev/crt or /dev/crt /dev/ocrt # default visual lives in overlay planes # default visual lives in image planes Page 78 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 79
a special X*screens file, you need to set your DISPLAY variable appropriately. For the previous example, it would be set to hostname:3.0. Page 79 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 80
the number is for the user to define. There are use whatever device file the user specifies. The same applies Hewlett-Packard computers through several different hardware interfaces. Among the interfaces supported are the Hewlett-Packard Human Interface Link (hp computers that support both hp-HIL and - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 81
If no explicit specification is made through the X*devices file, the last mouse (the one farthest from the computer on the hp-HIL line) is file for three reasons: • Clients can request and receive the services of an input device regardless of whether the device is specified in Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 82
Explicitly Specifying Input Device Use The X server can be explicitly configured to use a specific input device as the X pointer or X keyboard, or merge the data from an the input device, such as "keyboard", "pointer", "other", or "extension". Page 82 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 83
specifications for RS-232 input devices are in the /usr/newconfig/etc/X11/X0devices file. Specifying hp on the hp-HIL relative to the other devices on the hp-HIL, position of an input device on the hp-HIL is relative to other devices of the add a new input device to the hp-HIL, you don't have to edit - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 84
interprets "first" to mean "first accessible", so you may not always get the first on the hp-HIL, just the first one not already in use. Selecting Values for X*devices Files X*devices files file: first null keyboard first null pointer Page 84 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 85
More examples can be found in the X0devices file in /usr/newconfig/etc/X11 Specifying hp-HIL Input Device Use by Device File Name The device can be specified using the the input devices. It refers to a specific position on the hp-HIL. Page 85 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 86
redefine the path searched for hp-HIL devices. By default, where: Specifies the path to be searched for the hp-HIL input devices. # Describes the path. Comments are optional with it the window system. (If you have a PC-style keyboard, press instead.) The sequence of keys that - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 87
client initializes the X colormap. Specific X colormap entries (pixel 4. If no colormap file is found, this default colormap specification is assumed - black (colormap entry 0), white, red yellow for your graphics card/display combination. Executing xinitcolormap may solve the problem. For more - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 88
Left button Right button Middle button Both buttons simultaneously Right button Left and middle buttons simultaneously Right and middle buttons simultaneously Page 88 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 89
the X*devices file and to have a special configuration file named X*pointerkeys. The default X*pointerkeys file is X0pointerkeys in /usr/lib/X11. Page 89 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 90
assigned to button operations. If you don't need to change the pointer keys from their default specifications, you don't need to do anything else to use your keyboard as both keyboard and pointer. However on customizing the X*pointerkeys file. Page 90 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 91
an X*pointerkeys file. The following table lists the pointer movement options, the X*pointerkeys functions that control them, and their default values: Page 91 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 92
options in a X*pointerkeys file. The following table lists the button operations, the X*pointerkeys functions that control them, and their default values: Page 92 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 93
puck or stylus into the left or right area will cause the X server to switch to the previous or next screen. Page 93 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 94
a larger "B" size tablet, the following lines could be added to the X*pointerkeys file: tablet_subset_xorigin 68 tablet_subset_yorigin 40 tablet_subset_width 296 tablet_subset_height 216 Page 94 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 95
They enable you to change the key sequence that exits you from X11. For example, you can overcome the problem in the last example by assigning the key as a modifier to the pointer direction keys. Now, to would press the key on the keypad. Page 95 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 96
to control the cursor in an hpterm window. Furthermore, another application uses the shift-arrow key sequence to control its cursor. Page 96 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 97
key mappings, use the xmodmap client. Note: There are now two keyboards available for Hewlett-Packard workstations, the 46021 keyboard, and the C1429 keyboard. See "Using the Keyboards" for -verbose Prints log information as xmodmap executes. Page 97 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 98
keyboard map file, you must use valid expressions in your specification, one expression for each remapping. A valid expression is any Control, Lock, Mod1, Mod2, Mod3, Mod4, and Mod5. On Hewlett-Packard keyboards, the lock modifier is set to the key. However, Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 99
For example, on a PC-style keyboard, you can press to print a lower case "d", capital "D", to print something else, and to print still keyboard to a Dvorak keyboard by creating a file with the appropriate keyboard mappings. xmodmap .keymap Page 99 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 100
, and key symbol name. Using the Keyboards There are now two keyboards available for Hewlett-Packard workstations. In addition to the 46021 keyboard, a personal computer-style keyboard, C1429 is also key through the corresponding keycode. Page 100 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 101
Symbol F9 F10 F11 F12 Menu Cancel Break/Reset Prior System/User Select Next Return Meta_L Meta_R XPCmodmap Symbol F9 F10 F11 One way to accomplish this is by running the xmodmap client program. Hewlett-Packard provides two files in the directory /usr/lib/X11 to use with Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 102
, and it can also be used to assign the key symbol to the desired keycode. These keys use hp specific key symbol names whose correct spelling can be found in the file /usr/lib/X11/XKeysymDB. The right keyboards, and have the same key symbols. Page 102 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 103
prior to Release 10.x will continue to support direct input as before. Hewlett-Packard documentation will continue to describe input calls for Starbase because these manuals are also used with versions of these APIs that support direct input. Page 103 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 104
instructions in the hp-UX manual Managing hp- hp-UX Starbase Device Drivers Manual for more information on the VRX family. HP PEXlib is not supported on the VRX family of graphics devices Note: If you are not certain what graphics devices are installed on your workstation, you can obtain specific - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 105
) (PEX) • Starbase DECAL and the texture does not have ALPHA in it. (Starbase) You can also resort to software texturing when you run into texture-memory space limitations or run out of texture IDs. Page 105 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 106
hp PEX Graphics Performance Optimized ways of heavily interleaving changes: o Frequent attribute changes (e.g., hp PEX unless compliance mode is frequent changes of line color) more active Renderers o Frequent mixing of Xlib and hp PEXlib calls • Redundant or unnecessary setup (e.g. setting - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 107
obscured by many other image plane windows • Backing store enabled (on supported devices) FillArea Primitives Performance Optimized For: Factors Affecting Performance: • sets) • Single short polylines: o PEXPolyline, PEXOCCPolyline Page 107 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 108
Primitives Factors Affecting Performance: • Longer strings • Best: simple text: o PEXText, PEXText2D, PEXEncodedText, PEXEncodedText2D • Fair: annotation text: o PEXAnnotationText, PEXAnnotationText2D • Polygonal text fonts Page 108 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 109
mode or ID Colour mapping method Light sources enabled Depth cueing state o Frequent switching between two or more active workstations o Frequent mixing of Xlib and hp- PHIGS calls • Redundant or unnecessary setup (e.g. setting attributes that are not relevant to the primitives being drawn - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 110
by other image plane overlay windows windows • Backing store enabled (on supported devices) Fill Area Set Primitives Performance Optimized For: Factors Affecting Performance: pu014 (FORTRAN) o Plus those noted above with multiple sets Page 110 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 111
• Polygonal text fonts • Best: simple strings: • ptext3 (C), ptx3 (FORTRAN) • ptext (C), ptx (FORTRAN) • Fair: annotation text: • panno_text_rel3 (C), patr3 (FORTRAN) panno_text_rel (C), patr (FORTRAN) Page 111 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 112
not relevant to the primitives being drawn) • Deformation on • Model clipping on • HLHSR in software via PowerShade (on unaccelerated graphics devices) Page 112 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 113
many other image overlay windows plane windows • Backing store enabled (on supported devices) Polygon Primitives Performance Optimized For: Factors Affecting Performance: • Best: move3d and draw3d • shade_mode set to CMAP_MONOTONIC Page 113 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 114
o Indirect color o Intensity • shade_mode set to CMAP_MONOTONIC Performance Optimized For: • Longer strings Text Primitives Factors Affecting Performance: • Polygonal text • Spline fonts Page 114 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 115
Thread-Safing General Information For hp-UX release 10.30 and later, Hewlett-Packard's 3D graphics APIs are supported in multi-threaded applications A graphics application that uses an hp VISUALIZE-48/48XP device with hardware texture mapping, or an hp-PHIGS application that does graphics input - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 116
exec(2). Note: Calls to 3D graphics functions between a fork and an exec have never been supported 5. There is one situation in which graphics behavior may be different for multi-threaded versus single -wide timer provided by setitimer(2). Page 116 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 117
memory. This can occur in the following instances: • During calls to the following Starbase functions: gopen(3g), gclose(3g), enable_events(3g), disable_events(3g), set_signals(3g), and track(3g). • When hp-PHIGS and hp saved SIGCHLD action. Page 117 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 118
texture mapping on an hp VISUALIZE-48/-48XP display using the Texture Interrupt Manager Daemon (timd). • For hp-PHIGS input using the If your application changes the SIGPIPE action to SIG_DFL or to a specific handler, an abnormal death of either timd or phg_daemon will result Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 119
(see below), you can run the gamma correction tool (also described below) to see its effect on the test patterns above. Page 119 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 120
should be adjusted to the threshold where it is not so far down as to "swallow" codes greater than the black code, but not so high that the picture sits on a "pedestal" of dark grey. When " button. 4. Double click the "Create Action" button. Page 120 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 121
directory under your home directory. 4. Select the "Gamma Icon" so your form appears as shown below: Figure 14: Create Action Form Page 121 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 122
Install Icon If you would prefer to have the "Gamma Icon" in the Main Panel, double-click the right mouse button. Page 122 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 123
button applies gamma correction to the colormaps for all windows and will cause images, graphics, and user interfaces to all use the same specified gamma value. Selecting Individual Windows When you press " associated with the selected window. Page 123 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 124
X screens file. hp CDE and hp VUE Hewlett-Packard is in the process of a transition to a standard user environment. Two user environments were shipped with hp-UX 10.20: hp VUE and hp CDE (Common Desktop Environment). As of hp-UX 10.20, hp CDE is the default user environment, and although hp VUE is - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 125
Programming Manual • PEXlib Reference Manual • hp PEX Implementation and Programming Supplement • For hp-PHIGS programming • hp-PHIGS C and Fortran Binding Reference • hp-PHIGS Graphics Techniques • hp-PHIGS Workstation Characteristics and Implementation • hp-PHIGS Technical Addendum for hp-UX - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 126
server distributes user input to as well. X supports overlapping hierarchical subwindows and X Interface, • The X Window System Protocol specification, • X Toolkit Intrinsics - C Language Interface managing utilities (xmh and xbiff), a manual page browser (xman), a bitmap editor Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 127
Desktop Environment (CDE). hp CDE is the user interface, enabling the user to control a workstation by directly manipulating graphic objects instead of typing commands on a command-line prompt. See the CDE User's Guide for complete information on hp CDE. Hewlett-Packard does not provide or support - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 128
From the user's perspective, tablet, etc.). Most workstations tend to only have one keyboard, and therefore, only one display. Larger, multi-user systems, however, will a variety of different communications channels (network byte streams, shared memory, etc.). Since there can be more than one way of - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 129
a transport layer) to be used. X servers generally support the following types of connections: local The hostname part of merge in authorization records if it already exists when a user logs in. If you use several machines, and share problem Page 129 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 130
Geometry Specifications One of the advantages of using window systems instead of hardwired terminals is that applications don't have to be restricted to a particular size or location on the screen. Although the layout of windows on a display is controlled by the window manager that the user is - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 131
Windows can be placed in the four corners of the screen using the following specifications: • +0+0 (the upper left-hand corner) • -0+0 (the upper right- user interfaces can be built. The Hewlett-Packard distribution comes with window managers named mwm and dtwm, which support Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 132
needed to uniquely identify individual fonts. However, the X server supports wildcarding of font names, so the full specification "-adobe-courier-medium-r-normal--10-100-75-75-m-60-iso8859-1" : 0-0-0-0-*-0 0-0-75-75-*-0 0-0-100-100-*-0-*-* Page 132 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 133
size; replace it with a specific size in decipoints (there are specification. The numerical specification can identify a color in either device-dependent (RGB) or device-independent terms. Color strings are case-insensitive. X supports A numerical color specification consists of a color - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 134
older syntax for RGB device is supported, but its continued use is not encouraged. The syntax is an initial "pound-sign" character, followed by a numeric specification, in one of the following followed by a possibly signed integer string. Page 134 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 135
on device independent color, see the Xlib reference manual. Keyboards The X keyboard model is broken into two layers: server-specific codes (called keycodes) which represent the physical keys, second element is the uppercase letter. Page 135 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 136
be visible as if the windows had be immediately iconified by the user. Window managers may choose not to honor the application's request. - reverse video. This is used to override any defaults since reverse video doesn't always work properly. Page 136 Graphics Administration Guide for HP-UX 10 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 137
or more repetitions of the enclosed elements. Brackets indicate that the enclosed element is optional. Quotes ("...") are used around literal characters. Page 137 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 138
from the value. To allow a Value to contain arbitrary character codes, the four-character sequence "nnn", where each n is a resource database for the entry that most closely matches (is most specific for) the full name and class being queried. When more Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 139
from the following sources (other programs usually support some subset of these sources): RESOURCE_MANAGER root X Toolkit Intrinsics - C Language Interface manual for details. XENVIRONMENT Any user, and machine specific resources may be specified by setting the Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 140
startup scripts merge user-specific defaults into any site-wide defaults. All sites are encouraged to set up convenient ways of automatically loading resources. See the Xlib manual section "Resource Manager Functions" for more information. Page 140 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 141
on a particular command, please refer to that command's manual page. $ xrdb $HOME/.Xdefaults $ xmodmap -e "keysym very few, etc.), although it can pose problems for trying to determine why an application might be in the .Xdefaults file in the user's home directory. This file is Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 142
supporting documentation, and that the name of MIT not be used in advertising or publicity pertaining to distribution of the software without specific Susan Hardy (MIT X Consortium), Jay Hersh (MIT X Consortium), Keith Packard (MIT X Consortium), David Sternlicht (MIT X Consortium), Bob Scheifler ( - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 143
argument is passed in by init and isn't used. The Hewlett-Packard server has support for the following protocols: TCP/IP The server listens on port /info/screens/hp for more information about SMT. When the server starts up, it takes over the display. If you are running on a workstation whose console - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 144
acceleration (i.e., the ratio of how much is reported to how much the user actually moved the pointer). -audit Sets the audit trail R2 and R3 xterms and toolkits). Deprecated. -bs Disables backing-store support on all screens. -c Turns off key-click. c Sets Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 145
save-under support on all video-off screen-saver preference. The screen will be blanked to save the screen. -wm Forces the default backing-store of all windows to be WhenMapped; a less expensive way of getting backing-store to apply to all windows. Page 145 Graphics Administration Guide for HP - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 146
class> Xdmcp has an additional display qualifier used in resource lookup for display-specific options. This option sets that value; by default it is "MIT- line and all. . .). -displayID Yet another XDMCP specific value, this one allows the display manager to identify each display so that - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 147
is "version-1". Once past the , lines that do not match the above syntax are ignored. are ignored. Page 147 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 148
to the property name. Error is the default action for all properties, including those not listed in the security policy file. Page 148 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 149
with WM_NAME. # This might be more restrictive than necessary, but demonstrates # the facility, and is also an attempt to Page 149 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 150
untrusted clients use the overlay visuals that many vendors # support, include this line. property SERVER_OVERLAY_VISUALS root ar # property names and explicit specification of error conditions property " . property Woo-Hoo OhBoy = "*son" ad Page 150 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 151
the host-based scheme as it allows access control per-user instead of per-host. In addition, the server provides support for a DES-based authorization scheme, XDMAUTHORIZATION-1, which is information will be allowed access. See the Xau manual Page 151 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 152
should be no leading or trailing spaces on any lines. For example: joesworkstation corporate.company.com Users can add or remove hosts from this list and enable or disable access control using the xhost command to the server is possible. Page 152 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 153
will not be able to find any of the new fonts in the directory. In addition, the X server supports font servers. A font server is a networked program that supplies fonts to X servers and other capable programs. in the file /var/dt/Xerrors. Page 153 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 154
RGB values. Copyright Copyright 1996, 1998 The Open Group Copyright 1984-1992 Massachusetts Institute of Technology Copyright 1992 Hewlett Packard Company See X(1) for a full statement of rights and permissions. Origin MIT Distribution Page 154 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 155
(1), rgb(1), stmkdirs(1), x11start(1), xauth(1) clock(1), xfd(1), xhost(1), xinit(1), xinitcolormap(1), xload(1), xmodmap(1), xrefresh(1), xseethru(1), xset(1), xsetroot(1), xterm(1), xwcreate(1), xwd(1), xwdestroy(1), xwininfo(1), xwud(1) Page 155 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 156
simply passes along to the server the credentials presented by the client. Since X clients will connect to lbxproxy, it is important that the user's .Xauthority file contain entries with valid keys associated with the network ID of the proxy. lbxproxy does not get involved with how these entries - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 157
message about the command line options. -display Specifies the address of the X server supporting the LBX extension. If this option is not specified, the display is obtained by the DISPLAY substitutions. -notags Disables usage of tags. Page 157 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 158
-cheatevents option allows lbxproxy to violate X protocol rules with respect to events as well as errors. Use at your own risk. Page 158 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 159
as lbxproxy, the client will not be authorized to connect to the server. Origin The Open Group See Also proxymngr(1), xfindproxy(1) Page 159 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 160
, from which it gets the list of services the application wants to use. Based on this information, the RX Plugin sets the various requested services, including creating authorization keys. It then passes comment character for mailcap is #.) Page 160 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 161
is to run remote applications as untrusted clients. The resource value is a list of address mask/value pairs, as previously described. Page 161 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 162
to use LBX across the Internet. If the RX document requests XPRINT service, RX Plugin looks for the variable XPRINTER to get the printer name set. When it is not RX Plugin then tries to use the video server as the print server. If the printer name is not specified Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 163
, and keeping track of all of the available proxy services. The proxy manager strives to reuse existing proxies whenever proxy, on the other hand, is started either at system boot time, or manually by a system administrator. The proxy manager is made aware of its existence, Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 164
the address is specific to the . For example, for the LBX service, the < service-name> managed is the name of the managed proxy service, and must not contain any spaces, for example LBX. service specifics of the remote execution method used - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 165
service-name> in question. For a managed proxy service, the proxy manager will find out if any of the already running proxies for this service service, the proxy manager will look in the config file to find all unmanaged proxies for this service cannot start unmanaged proxy services). Notes The proxy - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 166
Origin The Open Group See Also xfindproxy(1), lbxproxy(1) Page 166 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 167
a new proxy service, it will pass specific to each proxy server and are not defined here. In the event that xfindproxy locates an already existing proxy, the options will be passed, but the semantics of how the proxy uses these options are undefined. Page 167 Graphics Administration Guide for HP - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 168
it will print it to stdout. The format of the proxy address is specific to the proxy service being used. For example, for a proxy service of "LBX", the proxy address would be the X display address of Group See Also proxymngr(1), lbxproxy(1) Page 168 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 169
, xrx sets the various requested services, including creating authorization keys if your X server supports the SECURITY extension. It then passes need to refer to your web browser's documentation for exact instructions on configuring helper applications. Once correctly configured, your browser - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 170
you wish remote applications to be able to use LBX across the Internet. If the RX document requests XPRINT service, looks for the variable XPRINTER to get the printer name and X Print server address to use. it is set. When it is not xrx Page 170 Graphics Administration Guide for HP-UX 10.20 - HP Visualize c240se | hp workstations - hp-ux 10.20 graphics administration guid - Page 171
key when the application goes away (that is when its video key expires). However, if the helper program dies unexpectedly the print authorization key will never get revoked. Origin The Open Group See Also libxrx(1), lbxproxy(1), proxymngr(1) Page 171 Graphics Administration Guide for HP-UX 10.20
Graphics Administration Guide for HP-UX 10.20.
After using this document for a while, please fill out
the Reader Reply form. Or, just e-mail us your comments at
Graphics Administration Guide for HP-UX 10.20