Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!shelby!agate!ucbvax!bloom-beacon!dont-send-mail-to-path-lines From: mouse@lightning.mcrcim.mcgill.EDU Newsgroups: comp.windows.x Subject: Re: X11 and SunView Message-ID: <9102160521.AA25808@lightning.McRCIM.McGill.EDU> Date: 16 Feb 91 05:21:06 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 33 > How much does it cost to run X11 under SunView? > It seems that, to a naive user accustomed to using SunView, it is not > unreasonable to try to run X11 while within the SunView environment. > In order to support this sort of usage, I defined the > UseSunWindowsInServer macro in the sun.cf file. As the world shifts > away from SunView, I wonder how much of a penalty the raw X11 users > are paying for the naive users to use X11-within-SunView. Well, a "raw X11 user" wouldn't be running X under SunView anyway, so the only cost would be a little unused code in the server. Running X under SunView pays a little more penalty, but not much. There is of course the penalty of having all the SunView stuff lying around in memory all the time; if memory or swap space is short, this can be significant. All output is drawn directly on the frame buffer; SunView does not affect this. Input under SunView does come through SunView; this will of course affect things, though I suspect it won't be by very much, since so much of SunView is kernel-based. > If I decided to support both usages, would it require anything more > than 2 Xsun programs (Xsun.sunview and Xsun.nosunview) and some logic > in startx to pick the correct server? Not even that. Xsun built with UseSunWindowsInServer set to YES works just fine even when you're not running SunView. (It checks whether WINDOW_PARENT is set in the environment to determine whether it should do its SunView shenanigans.) der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu