>> Rob van der Heij <[EMAIL PROTECTED]> writes:
>> >I am trying to get VNC working on Linux for S/390, and after
>> >browsing the mailing list archives I still need some help.
>>
>>                            The echoed characters are
>> gibberish, but commands typed into xterm do what they should
>> (e.g. "write" sends intelligble messages to other users,
>> "exit" closes the window, etc.).
>
>I know replying to one's own mail is gauche (and probably disgusting in
>some Wired JargonWatch list), but I've found what seems to be the major
>cause of trouble.  IBM System/390 boxes are big-endian, and of course
>Intel x86'es are little-endian.  There are at least three cases in the VNC
>server source where the attempt to be variously-endian fails.
>
>In vnc_unixsrc/Xvnc/programs/Xserver/hw/vnc, rfb.h defines macros for
>mixed-endian byteswapping (Swap16IfLE() and Swap32IfLE()) but hard-codes
>the flag that determines the server's endianness to "1" (meaning
>little-endian).  I think there should be some conditional definition, or
>at least it should be called out in the README etc.

While we're on the subject, the vncviewer also fails to work properly in
some variously-endian situations.  Specifically, I've seen it produce
mangled colours when running vncviewer on a little-endian box and a
big-endian X server (an x86 Linux and MI/X on a Mac, respectively).  I
think I also saw it fail in a similar manner when running on a Sparc and
using MI/X for Mac as an X server, too, but that was a long time ago and I
haven't tried it recently.

--------------------------------------------------------------
from:     Jonathan "Chromatix" Morton
mail:     [EMAIL PROTECTED]  (not for attachments)
big-mail: [EMAIL PROTECTED]
uni-mail: [EMAIL PROTECTED]

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

Get VNC Server for Macintosh from http://www.chromatix.uklinux.net/vnc/

-----BEGIN GEEK CODE BLOCK-----
Version 3.12
GCS$/E/S dpu(!) s:- a19 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS
PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r- y+
-----END GEEK CODE BLOCK-----
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to