Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Paul Tomblin <ptomblin@xcski.com>
To: axp-list@redhat.com
Subject: Re: The new X (was Re: Making programs 64 bit clean)
Date: Mon, 22 Jun 1998 22:54:23 -0400	[thread overview]
Message-ID: <19980622225423.I19844@xcski.com> (raw)
In-Reply-To: <Pine.GSO.3.96.980622203317.18382I-100000@yacht.ee.fit.edu>; 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


  parent reply	other threads:[~1998-06-23  2:54 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-22 17:35 Making programs 64 bit clean Greg Lindahl
1998-06-22 19:32 ` Michal Jaegermann
1998-06-22 20:47   ` Christopher Curtis
1998-06-22 21:49     ` Michal Jaegermann
1998-06-22 21:50     ` Paul Tomblin
1998-06-22 22:24       ` Jeff Sturm
1998-06-22 22:58       ` The new X (was Re: Making programs 64 bit clean) Christopher Curtis
1998-06-22 23:52         ` Paul Tomblin
1998-06-23  0:54           ` Christopher Curtis
1998-06-23  1:31             ` Bryan W. Headley
1998-06-23  2:33             ` cbbrowne
1998-06-23  2:54             ` Paul Tomblin [this message]
1998-06-23  3:42               ` mgraffam
1998-06-23 15:26                 ` The new X [long!] Christopher Curtis
1998-06-23 17:46                   ` mgraffam
1998-06-24  1:59                     ` cbbrowne
1998-06-23 18:33                   ` Paul Tomblin
1998-06-23 20:30                     ` mgraffam
1998-06-23 23:57                       ` Paul Tomblin
1998-06-24  2:14                         ` mgraffam
1998-06-24  2:06                     ` Christopher Curtis
1998-06-23 15:47             ` The new X (was Re: Making programs 64 bit clean) Jeff Sturm
1998-06-23 16:10               ` Christopher Curtis
1998-06-23 17:01                 ` Jeff Sturm
1998-06-23 19:47                   ` pjlahaie
1998-06-23 18:25                 ` William Bradford
1998-06-24  2:28                   ` several messages Christopher Curtis
1998-06-23 18:42                 ` The new X (was Re: Making programs 64 bit clean) Paul Tomblin
1998-06-23 21:03                 ` The new X Wes Bauske
1998-06-24  0:07                   ` Paul Tomblin
1998-06-24  3:44                     ` [OFFTOPIC] " Stephen Williams
1998-06-24 16:02                     ` Wes Bauske
1998-06-24 18:01                       ` Christopher Curtis
1998-06-24 13:59                   ` Jeff Sturm
1998-06-23  0:18         ` The new X (was Re: Making programs 64 bit clean) Pablo A. Godel
1998-06-23  2:28           ` Paul Tomblin
1998-06-23  8:39           ` Joakim Roubert
1998-06-23 15:30         ` OFFTOPIC: " Jeff Sturm
1998-06-24  1:31           ` Christopher Curtis
1998-06-24 14:52             ` Jeff Sturm
1998-06-22 19:53 ` Making programs 64 bit clean Richard Hadsell
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox