Mac VNC Server, debugged slightly

Jonathan Morton chromi "at" cyberspace.org
Tue, 28 Dec 1999 23:31:05 +0000


I've fixed a couple of issues I encountered in the VNC Server for Macintosh
(v3.3.2b2), and would like to contribute these to the project (can someone
tell me where to send/upload them?).

The specific issues fixed are:
	On machines without hardware mouse acceleration (ie. my PowerBook
5300) the default mouse pointer was overlaid on the real one, and with some
cursors including the text caret, the real pointer would leave trails
(ugh).  I have introduced a preferences option which allows the old
behaviour to show through, for those machines which DO have mouse
acceleration, eg. the PowerMac 7200.
	Also, the problem with VNCpatches not recognising the G4 and later
PPC processors has been fixed, hopefully for good.  The old code was
looking specifically for processor types, which is not recommended :).  The
code now compares the Gestalt number returned:  >= 128 means PPC, otherwise
68K.  NOTE: the VNCpatches code hasn't been tested fully, but it should
work fine.

The binaries I have are recompiled with CodeWarrior Pro 5.2 and it's
updated version of PowerPlant (this involved weak linking in a few more
libraries, but pre-Appearance stuff should still work; once again, has not
been tested due to lack of disk space to load System 7.5.5 on).  I have
successfully connected to the new Server using both another Mac and an X
terminal, over Ethernet, plus a Wintel PC across a modem.  The new binaries
and resource files have been given version IDs of v3.3.2b3, and BNDL
resources so the icons show up properly.

I hope to work on a crashing bug that was already there in b2 -
occasionally the server machine just freezes, and won't let me into the
debugger, but only when a viewer is connected to it.  I have only observed
this on one machine, but then I only have one PowerPC-based machine to work
with.  I also hope to work on the 68K port, using my Quadra 840av (the CPU
load imposed by the server is so low that I think even a 68020 should cope).

FYI, I'm a 19yo Computer Science student at Lancaster University.

--------------------------------------------------------------
from:     Jonathan "Chromatix" Morton
mail:     chromi "at" cyberspace.org   (not for attachments)
uni-mail: j.d.morton "at" lancaster.ac.uk

The key to knowledge is not to rely on people to teach you it.



---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------