[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

3436.0. "Setting the cursor on a 3520" by TOOK::F_MESSINGER () Fri Oct 05 1990 14:12

My application brings up a window and sets the cursor for that window.  When 
the user moves the cursor out of that window the server does the 
following when running on a 3520: 

 

3-OCT-1990 10:46:27.6 Hello, this is the X server
Dixmain address=127b0
Now attach all known txport images
%DECW-I-ATTACHED, transport DECNET attached to its network
%DECW-W-ATT_FAIL, failed to attach transport LAT
-SYSTEM-F-PRIVINSTALL, shareable images must be installed to run privileged image
in SetFontPath
out SetFontPath
gbos_ScreenInit address=138b60
Warning: GVAX Code segment too big for I-cache!!!
GVAX starting...
Connection Prefix: len == 74
 3-OCT-1990 10:48:03.4 Now I call scheduler/dispatcher
 3-OCT-1990 10:48:06.5 Connection 98d00 is closed by Txport
 3-OCT-1990 10:48:18.2 Connection 98d38 is closed by Txport
 3-OCT-1990 11:04:54.5 Cannot change cursor hot spot
 3-OCT-1990 11:04:54.6 %SYSTEM-F-BADPARAM, bad parameter value

Unrecoverable server internal error(error code = 20) found, terminating all connections.
Exception Call stack dump follows: 
	8eec5
	138b2c
	12e50f
	12dac
	12e39
	13b97
	14527
	2c9d5
	10d29
	12a7f
********** marking the end of call stack dump **********
********************************************************



The application works fine on MicroVax 2000s, VaxStation 3100s and every 
other machine I've tried it on.

This is what I'm doing to set the cursor for the window:

   Display		*dpy;
   Font	                cursorfont;
   Cursor		drawcursor;
   XColor      		white = {0, 65535, 65535, 65535,
                       		DoRed | DoGreen | DoBlue};    /* white */
   XColor     		black = {0, 0, 0, 0,
	                        DoRed | DoGreen | DoBlue};    /* black */
   int			name1;


   dpy = pml_console_globals.display;
   name1 = name + 1;

   cursorfont = XLoadFont ( dpy, "decw$CURSOR");
   if (cursorfont != NULL)
   {
       map_info->window_cursor = XCreateGlyphCursor(dpy,
			    cursorfont, cursorfont,
			    name, name1,
			    &black, &white);
       XUnloadFont(dpy, cursorfont);
       XDefineCursor(dpy, 
                     XtWindow(GobeGetWorkWidget(map_info->map_widget)), 
                     map_info->window_cursor);
    }



Any Ideas?

Thanks,
Fred

T.RTitleUserPersonal
Name
DateLines
3436.1more info please...GSRC::WESTSCARY : A programmer with a screwdriver.Mon Oct 08 1990 16:0111
  What version of VMS are ya runnin' ?  I've been able to change the cursor
without any problems (from both C and Ada).

  Also...how many planes is your 3520 ?

  The configuration that I use is an 8-plane 3520 running VMS V5.3-1 with
48M.

					-=> Jim <=-

3436.2TOOK::F_MESSINGERMon Oct 15 1990 15:1610
Jim,
Sorry it took so long to reply,  I had to wait for someone to return from a 
week of classes.

The 3520 is an 8 plane machine running VMS 5.3-2

Not good news, huh?

Thanks,
Fred
3436.3Do ya have code we can look at ?WIDGIT::WESTSCARY : A programmer with a screwdriver.Tue Oct 16 1990 11:237
  Do ya have a small example program ?

  I will forward you an example in Ada and in C that change the cursor.

					-=> Jim <=-