[patch] VNC Output Module (v2)

Time for version two of the patch.

Changes from v1:

  * Mouse cursors now work correctly.
  * You can now disable the ?always shared? function of the VNC
    server and allow a client to take exclusive control with
    SDL_VNC_ALWAYS_SHARED="0".
  * You can change the display number manually with SDL_VNC_DISPLAY.
  * 8 bpp displays are now supported.
  * pygame applications work at 16, 24 and 32 bpp display depths. 8
    doesn?t work properly.
  * This module now lies by default about the supported display
    depths reported by SDL_ListModes. It defaults to 16 bpp only, in
    order to make pygame work properly. You can change what it says
    this with SDL_VNC_DEPTH, or setting it to 0 to say all depths
    are supported. This doesn?t limit calls to SDL_SetVideoMode.
  * You can tell the VNC server to ignore all client events by
    setting SDL_VNC_VIEW_ONLY="1".

There?s also a README.VNC included, which documents the functionality of
the library and use of it?s environment variables.

The patch is available here:

http://micolous.id.au/static/projects/sdlvnc/SDL-video-vnc-v2.diff.bz2

You’ll need a clean source tree of SDL 1.2.14 in order to apply this, so
remove the old version of the patch before applying this one.

Very cool!

Are you interested in making an SDL 1.3 version of this?On Tue, Feb 16, 2010 at 8:37 AM, Michael Farrell <micolous+sdl at gmail.com> wrote:

Time for version two of the patch.

Changes from v1:

? ? ?* Mouse cursors now work correctly.
? ? ?* You can now disable the ?always shared? function of the VNC
? ? ? ?server and allow a client to take exclusive control with
? ? ? ?SDL_VNC_ALWAYS_SHARED=“0”.
? ? ?* You can change the display number manually with SDL_VNC_DISPLAY.
? ? ?* 8 bpp displays are now supported.
? ? ?* pygame applications work at 16, 24 and 32 bpp display depths. 8
? ? ? ?doesn?t work properly.
? ? ?* This module now lies by default about the supported display
? ? ? ?depths reported by SDL_ListModes. It defaults to 16 bpp only, in
? ? ? ?order to make pygame work properly. You can change what it says
? ? ? ?this with SDL_VNC_DEPTH, or setting it to 0 to say all depths
? ? ? ?are supported. This doesn?t limit calls to SDL_SetVideoMode.
? ? ?* You can tell the VNC server to ignore all client events by
? ? ? ?setting SDL_VNC_VIEW_ONLY=“1”.

There?s also a README.VNC included, which documents the functionality of
the library and use of it?s environment variables.

The patch is available here:

http://micolous.id.au/static/projects/sdlvnc/SDL-video-vnc-v2.diff.bz2

You’ll need a clean source tree of SDL 1.2.14 in order to apply this, so
remove the old version of the patch before applying this one.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Yes, however I haven’t looked at SDL 1.3 stuff at all yet, as all the
applications I’m using still use SDL 1.2.On Tue, 2010-02-16 at 20:29 -0800, Sam Lantinga wrote:

Very cool!

Are you interested in making an SDL 1.3 version of this?