Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Christopher Curtis <ccurtis@ee.fit.edu>
To: axp-list@redhat.com
Subject: Re: OFFTOPIC: Re: The new X (was Re: Making programs 64 bit clean)
Date: Tue, 23 Jun 1998 21:31:09 -0400 (EDT)	[thread overview]
Message-ID: <Pine.GSO.3.96.980623143451.29776D-100000@yacht.ee.fit.edu> (raw)
In-Reply-To: <Pine.SV4.3.90.980623102313.9597B-100000@gatecoms>

On Tue, 23 Jun 1998, Jeff Sturm wrote:

> > Absolutely under no circumstances whatsoever.  ANSI-C *only*!  This is one
> > of my biggest gripes with the Berlin people.  The next is the registry.
> 
> Good grief.  You don't expect to be able to provide a state-of-the-art API
> in ANSI-C only, do you?  That's how the X Consortium got into that 
> Motif/Xt mess in the first place.

I think that it should be ANSI-C, yes, just like GTK+ is ANSI C and Win32
is ANSI C.  If you want C++, that's fine, use the wrappers: GTK-, MFC, ...

> Many applications don't use the color models properly.  X supports 
> pseudocolor, directcolor, truecolor, whatever... it tries hard to use the 

Perhaps another model is needed so it acts like Windows/dithering.  I
think this is the most acclimated model.

> hardware resources as best as it can.  "Colormap flashing" is a reasonable
> compromise on displays that are starved for colors.

I agree - but is it Netscape's fault that it completely starves the dpy?

> Solaris's X server may be badly broken, I don't know.  I have one Sun box 
> here; I can't run Netscape on the console (it dies with a bus error) but 
> it runs fine from my PC with the free Microimages X server.
> 
> Anyway, with video cards as cheap as they are nowadays, why should anyone 
> be stuck with 8bpp color?

Because they buy Suns.  The new ones may help having a PCI bus, but that
has yet to bee seen. 

> There *is* an event mask.  Most applications don't utilize it, and accept
> all events (ignoring those it doesn't need).  Mouse motion is a big one.
> Run an xterm over a dialup, move your mouse and see if your modem lights
> blink.  They wont't.  BTW xterm is really quite useable over a dialup,
> because the author actually made an attempt to conserve bandwidth.

I stand corrected.  I never had a problem with an xterm over a dialup.
Frame is virtually unusable.

> This is yet another example of programmer laziness.

> Font servers weren't intended to be local.  They are network resources.  
> They address the problem of having to distrubute fonts to each display 
> server.  Unfortunately they are not widely implemented.

Most machines, especially anyone with a Redhat installation is not set up
for any kind of networking.  My entire lab here is networked (~15 Sparcs)
but each machine uses a local copy of X and of the Xfs.  However, things
like TCP wrappers share a common configuration file.  I would not want to
administer this lab if all the machines had redhat on them.  (15 /etc
files to edit to ban another host?)

> <sigh> You admit you are not an X expert in one sentence, then claim the
> deficiencies in X cannot easily be repaired.  You are criticizing X from 
> a user's point of view, not from its architecture.  The configuration 

I may be completely off, I've stated that repeatedly - but I don't see
things being adopted wihtout many old programs being rewritten, and if
that is the case, why not look at some other stuff that could be
rewritten, even if it means breaking compatibility?

For instance, and I'll keep this short, see if the X protocol needs an
overhaul, see if event masking and colormap manipulation could be clearer,
get all that optimized, scrap Xt with a toolkit with built-in dialogs, and
ship new (ported) apps that use the new toolkits.  I mean, if you download
and compile X from TOG, including the example programs, you get a bunch of
black and white boxes with depthless buttons and the twm window manager.
That is horrible.  I realize that's what KDE and GNOME, etc, etc, are for,
but is that the end?  Can't some of this be brought to a lower level?  For
instance, instead of passing around X events, pass toolkit events.  Now,
opening a drop-down menu is instantaneous over a modem.  A file open
dialog is a couple of control sequences.  In this sense, WinFrame is very
efficient.  I think the same can be done with X if we make things work on
a toolkit level.  Will this break existing apps?  You can bet your bottom
dollar.  So is it worthy a rewrite?  I think so.  Others?  I dunno...

> WinFrame is very expensive on the application server.  Try to connect 5 
> users to your WinFrame server, then 10, then 20.  Watch what happens to
> memory/CPU utilization.
> 
> This claim is absurd.  What makes WinFrame over win32 a better hack than LBX?

Well, that's because WinFrame is doing what windows was not designed to
do.  Again, I could be completely off, but what I read of WinFrame (back
when it was designed to display Win32 stuff on OS/2) was that it was an
extremely efficient protocol, and very much usable on a 14.4k modem.

> Instead of bashing X, why not think of real ways it can be fixed?  
> Starting over with a new window system from scratch is *not* the 
> answer.  We need something that will be done before 2010...

That is not what I proposed.  I, in general, like X very much.  And I have
thought of things to improve it.  The only problem is that it seems to me
that it would come at the cost of breaking backward compatibility
(something unix in general does quite frequently anyway), but if it's
going to be done, I think that the immediate future is a better time than
any, and the Windows stranglehold gets only stronger.  My feeling is just
that backwards compatibility with existing X can make the advancement of X
where it is needed most (the UI/Toolkit layer, imho) difficult to
impossible, and almost certainly impossible without horrible hacks.  Then,
while designing this new system, why not take the opportunity to see if
there are other areas in which X can be "cleaned". 

I don't think I want (don't consider this a proposal) anything that is
extremely off the wall here.

--
Christopher Curtis               - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology  - System Administrator, Programmer
Melbourne, Florida  USA          - http://www.lp.org/



  reply	other threads:[~1998-06-24  1:32 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
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 [this message]
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