From: Donofrio, L. <don...@um...> - 2004-01-22 06:48:07
|
Nothing is really dead, it all depends on interest. ______________________________________________________________________=20 Lewis Don...@um... College of Literature, Science, & Arts=20 1007 East Huron, Room 201, BetaID:243340 Cell: (734) 323-8776 Ann Arbor,MI 48104-1690 www.umich.edu/~donofrio Fax: (734) 647-8333=20 =20 > -----Original Message----- > From: rde...@li...=20 > [mailto:rde...@li...] On Behalf=20 > Of Fran=E7ois Revol > Sent: Wednesday, January 21, 2004 6:47 AM > To: RDesktop-devel > Subject: [rdesktop-devel] Re: [PATCH] fix for X11 build on BeOS >=20 > Hi again, > Anyone cares to comment on this one or everyone thinks BeOS is dead ? >=20 > Fran=E7ois. >=20 > > Hi, just subscribed this list... > > This patch includes all that is needed to get rdesktop=20 > built correctly=20 > > under BeOS using X11. > > In particular it supersedes the one posted at=20 > > http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D767995& > > group_id=3D24366&atid=3D381349 > > named [ 767995 ] Patch for BeOS net_server. > >=20 > > It's also available at: > > http://clapcrest.free.fr/revol/beos/patches/rdesktop-cvs-12-17-2003- > > beos-net_server-bone-x11.patch.3.txt > >=20 > > Note BeOS doesn't use X11 for its GUI, so using rdesktop in an X11=20 > > window is quite ugly and painful, still that patch is needed anyway. > > I'm currently working on a native backend for BeOS, and I currently=20 > > have the drawing stuff mostly working, mouse cursors and=20 > movement too,=20 > > as you can see at=20 > > http://qube.ru/images/gallery/native_beos_rdesktop_big.png > >=20 > > I'm now at implementing keyboard handling, and I'm=20 > wondering how to do=20 > > it. > > I think I'll follow the way the VNC stuff does, that is convert the=20 > > BeOS keycodes to KeySyms (they map quite well anyway), then=20 > pipe that=20 > > to xkeymap.c directly. Now that will require x11stub.c too, which=20 > > obviously won't be VNC-specific anymore, so I suggest it is=20 > moved out=20 > > of the vnc folder, along with its header (which I'll have=20 > to tweak a=20 > > bit to exclude some stuff with a ifdef). > > Any comments on that ? > >=20 > > Now here are some notes on the included patch: > > - the headers of the X11 distribution for BeOS don't have=20 > protos, and=20 > > some lack the int return type, so we avoid warnings. Also,=20 > BeOS uses=20 > > lots of > > 4 > > char constants in its headers, so we avoid warning those too. > > - there are 2 networking stacks for BeOS, net_server, which is the=20 > > default one, and has some weirdness, and BONE, which=20 > implements real=20 > > BSD sockets as file descriptors, but needs linking to libsocket and=20 > > libbind. > > - rdesktop.c uses gethostname without the header. > > - BeOS doesn't implement 5 and 6 bit serial transfers, so=20 > it defines=20 > > CS5, CS6 and CS7 to be the same value, so we get a duplicate case=20 > > label error if we don't ifdef that out. > > - net_server doesn't have netinet/tcp.h nor arpa/inet.h=20 > (BONE_VERSION=20 > > is used to tell it's not net_server). > > - net_server doesn't have TCP_NODELAY, so we define it if it's not=20 > > there (more generic). > > - SupportDefs.h is required by other BeOS header files, and=20 > this one=20 > > typedefs intxx types, so we ifdef them out and include that file. > > - xwin.c plays with sockets without the header! > > - fd_set isn't typedefed > >=20 > > Fran=E7ois. >=20 >=20 >=20 > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 Premiere=20 > Conference on Open Tools Development and Integration See the=20 > breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > rdesktop-devel mailing list > rde...@li... > https://lists.sourceforge.net/lists/listinfo/rdesktop-devel >=20 |