[comp.lang.idl-pvwave] Bugs in UIS driver

rivers@bnlls1.nsls.bnl.gov (Mark Rivers) (03/20/91)

Judging from recent postings I think that developers from both RSI and
Precision Visuals are reading this newsgroup. Thus I am posting some serious
bug reports which I hope will lead to fixes ASAP.

There are several serious problems with the UIS driver under PV-WAVE versions
3.00 and 3.01. (UIS is the pre-DECWindows windowing system used under VMS. Many
of us still use it since it gives satisfactory performance on the older, slower
VAXStations, while DECWindows does not). 

1) The mouse cursor disappears when it is moved into a PV-WAVE window. The
   fix to this bug is to type the command:

  WAVE> DEVICE, CURSOR_ORIGINAL
     
However, this only makes the cursor visible in the the first PV-WAVE
window. It will still be invisible in any subsequent windows created.
To make it visible one must type the command DEVICE, CURSOR_ORIGINAL again.

2) The documentation is wrong concerning modifying the writing modes. The
DEVICE keywords SET_IMAGE_MODE and SET_GRAPHICS_MODE are not implemented.
However, the SET_GRAPHICS_FUNCTION keyword described under the X Windows
driver IS supported. Table C.14 in the PV-WAVE User's Guide does NOT give
the correct function codes for this device. The correct function codes are
as follows (taken from SYS$LIBRARY:UISUSRDEF.FOR)
	PARAMETER UIS$C_MODE_TRAN  = '00000001'X
	PARAMETER UIS$C_MODE_COPY  = '00000002'X
	PARAMETER UIS$C_MODE_COMP  = '00000003'X
	PARAMETER UIS$C_MODE_COPYN = '00000004'X
	PARAMETER UIS$C_MODE_OVER  = '00000005'X
	PARAMETER UIS$C_MODE_OVERN = '00000006'X
	PARAMETER UIS$C_MODE_REPL  = '00000007'X
	PARAMETER UIS$C_MODE_REPLN = '00000008'X
	PARAMETER UIS$C_MODE_ERAS  = '00000009'X
	PARAMETER UIS$C_MODE_ERASN = '0000000A'X
	PARAMETER UIS$C_MODE_BIS   = '0000000B'X
	PARAMETER UIS$C_MODE_BIC   = '0000000C'X
	PARAMETER UIS$C_MODE_BISN  = '0000000D'X
	PARAMETER UIS$C_MODE_BICN  = '0000000E'X

On our system I have set it up so that 

WAVE> DEVICE, SET_GRAPHICS_FUNCTION=2 

is executed during startup. This sets the graphics function to COPY mode, which
is what is generally desired (all bits are copied from the source to the
destination).

3) The WPOSMENU routine does not work.


4) The TVMENU routine does not work.

5) None of the demonstation routines work. The logic in the demonstration
   package is set up so that it does not even attempt to run the workstation
   demos under the UIS driver.

Mark Rivers                              (516) 282-7708 or 5626
Building 815                             rivers@bnlx26.nsls.bnl.gov (Internet) 
Brookhaven National Laboratory           rivers@bnl (Bitnet)                   
Upton, NY 11973                          BNLX26::RIVERS  (Physnet)