From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27272 invoked from network); 23 Jun 1998 02:54:18 -0000 Received: from canoe.roc.servtech.com (HELO canoe.xcski.com) (ptomblin@204.181.4.141) by mail2.redhat.com with SMTP; 23 Jun 1998 02:54:18 -0000 Received: (from ptomblin@localhost) by canoe.xcski.com (8.8.7/8.8.7) id WAA28038; Mon, 22 Jun 1998 22:54:23 -0400 Message-ID: <19980622225423.I19844@xcski.com> Date: Mon, 22 Jun 1998 22:54:23 -0400 From: Paul Tomblin To: axp-list@redhat.com Subject: Re: The new X (was Re: Making programs 64 bit clean) References: <19980622195206.C19844@xcski.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: ; from Christopher Curtis on Mon, Jun 22, 1998 at 08:54:44PM -0400 Quoting Christopher Curtis (ccurtis@ee.fit.edu): > > I'm confused. You mean a client that runs on an X server that implements a > > "Y" server? Because you'd need some way to make sure the thousands of X > > Nope - it will need a program that runs under "Y", that *is* an X server. > This would allow X clients to talk to the X server, which is itself a "Y" > client. Just like eXceed is an X server for "Y"indows. Ok, same idea, different direction. > I do not discount the benefit of OO - as long as you do not discount the > bloat (at least of C++). I like the whole OO *idea*, but the > implementation thus far is relatively poor. That's why I don't mind so > much the idea of Java. It is a decent language. I've been doing C++ full time for the last 4 years (until I switched to Java a few months ago). I happened to like the language, as long as you were selective about which parts of the language you used. Same with Java - it's a very nice language, but feature creep is getting to it and allowing people to do some *very* horrible stuff (like over using anonymous inner classes and the like). > for a proceedural language, and I see no reason to throw this out. Most > *nix code is C, and there's no need to do C++-isms when you can strongly > type the structs to be so closely OO-like. Well, I started with C++ back in the days when cfront took your C++ code and produced C with a boatload of funnily named structs with function pointers in them. If you're going to do OO in C, you end up with something similar - Not horrible, but it looks a little nicer in C++. > > colormaps, and so they consume the whole colormap pretty fast. I have > > strategies for that (mostly avoiding running Netscape until *after* running > > anything color intensive). > > But that's not really a solution. Windows runs decent in 4-bit color. I never said it was. And I think Windows is just as bad under 8 bits as X. > Does X-Free even support the printing extensions? I know they don't > support multiheadedness (yet?)... It's hard to do printing in an operating system independant way. As for multi-headedness, I used to have a two headed VaxStation GPX running two heads on X10! I'd be real suprised if X11 doesn't do it. > I should explain. :) > > The three files would be: > ../app-defaults/fixed - settings that can never be overriden > ../app-defaults - default settings that may be overriden > ~/. - user overrides Programmatically, you can force a value to not be overridable, or to set defaults that can be overridden by the database. If you arrange the XAPPLRESDIR path and permissions on the directories correctly, you can have all sorts of control over what's overridable and what's not. For instance, make the ../app-defaults/fixed NFS mounted read-only so that only the system administrator can change it on a site-wide basis, make the ../app-defaults directory only writable by the local machine owner, and ~/.Xdefaults writable by the user. If you make the "fixed" directory come last in the XAPPLRESDIR path, it will override anything the users override. > > The MAIN thing I hate about Windows is the lack of an equivalent to the X > > Resource Database. > > Does xrdb notify the clients of the changes? No, but then again you don't have to reboot the whole damn machine every time you make a change to the database like you do with so many windows programs. > There's just a few integration issues that are missing ... XFree allows > you to change resolutions without restarting, but what about color depth? XFree, probably not. X does - on SGI I used to have my display set to 8 bit pseudo colour, but the application I was working on was 24 bit TrueColor. We used to force the customers to start their X server as 24 bit TrueColor, but they wanted to run another application that forced them to start their server as 32 bit, so it was either lose an important customer or fix our application to set the visual type for the individual windows. Guess which one I did? > I think, for instance, that some commonality would be benficial, like > common dialog boxes. However, I would say that these need to be put in > the window manager, but you need the back-end support from the client. Possibly. Especially if they can be cached on the server like pixmaps are. But not if it would mean that your server forced you into a single look-and-feel. Being able to run different window managers and different upper level apis (Motif, athena, raw Xt) is both a blessing and a curse of X. Mostly a blessing, I think. -- Paul Tomblin, ptomblin@xcski.com. "It's just a cardboard model. Fake security" "Jeez, that's a first for Microsoft" - User Friendly