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: The new X (was Re: Making programs 64 bit clean)
Date: Mon, 22 Jun 1998 18:58:31 -0400 (EDT)	[thread overview]
Message-ID: <Pine.GSO.3.96.980622183636.18382F-100000@yacht.ee.fit.edu> (raw)
In-Reply-To: <19980622175002.D13320@xcski.com>

On Mon, 22 Jun 1998, Michal Jaegermann wrote:

> Christopher Curtis writes:
> > 
> > ... yet another reason to replace X with a more modern system.
> > 
> Any examples, preferably with at least a working prototype, of
> this "more modern system"?

Sorry, no.  =)

On Mon, 22 Jun 1998, Paul Tomblin wrote:

> If there were such a thing...

The "www.berlin-consortium.org" have a very ambitious project if it is
still active, but it is far from what I would consider ideal.

> Note that in order to produce such a thing it would have to be:
> - network transparent

Absolutely.  Additionally, it would have to better support low bandwidth
environments like 28.8k modems.  When X was designed, it was ethernet or
token ring or 1200 baud modems, and they figured it was futile to try to
make it run over 1200 baud (quite correctly, in fact).  However, in making
this decision they decided to forego and bandwith considerations at all.
The hack-on LBX extensions serve as a primary example.

> - portable as all hell

Absolutely.  Much more judicous use of unions is needed.

> - upwards compatible with X servers/clients.

Not necessarily.  It will need a X server client of it's own (that is,
it's own version of eXceed).

> - truely object oriented instead of the half-assed "objects in C" like Xt and
>   Motif currently do.

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 support for accelerated hardware without cutting out "normal" hardware.

This is the prototypical driver issue.

> I think you could achieve something like this with a new API that still spoke
> X protocol underneath, providing it wasn't any slower than raw X.  Implement
> it in C++ and Java to start, then turn it over to the community to do "my
> favourite language" bindings.

I suppose Java is a possibility, but I'm a horrid C bigot.  I think it's
better to simply address the major failings of X and try to reimplement a
better option.  There's a lot of "Why X sucks" links out there as is for
me to go into the details here, but the biggest failing is in colormap
handling.  Run X in an 8-bit display sometime for a while.  Under Solaris
anyway, colors disappear in time.  Netscape (with the -install option)
eventually fades to a very monochromatic grey scheme.  Loading it without
-install means other programs won't run (like the GIMP).  And with
-install, there's colormap flashing, which really sucks when playing
xboing.  Frame Maker doesn't even have the -install option and appears
with no highlights or shadows - everything is just one big block.  KDE is
the most amazing window manager in this respect, but the problem persists.

The next problem of X is the bandwidth.  X is virtually unusable across an
ISDN, and only marginally better across a T1.  A lot can be done here with
built-in proxies for, eg, window manager bitmaps, and at a minimum RLE
compression.  Now, I'm no X expert so I may be way off base here, but
another thing that would be nice is an event mask.  A lot of applications
don't care when the mouse moves over them - these don't need to be
transfered.  Neither do enter/exit messages.  Sad to say, but common
dialogs would also be nice - or at least a method of caching and
transferring fixed dialogs so the entire window doesn't have to be
transferred.

Then there's the font server.  Having a remote display uses the local font
server.  This is very confusing and can be quite a limitation.  I would
think that at a minimum the font servers should be able to query one
another.  Additionally, X should not hang when the font server does it's
thing.  I do think that whatever replaces X should be fully multithreaded,
even if that means less portability.  :(

These are my major gripes with X, but they are not ones that are easily
repairable - they are faults intrisic to the system.  However, a new
defaults mechanism is also needed.  There should, IMHO, be three
configuration files for each program - one in .../app-defaults, one in
.../app-defaults/fixed, and one in the user's home directory - just like
the setup for Pine.  There should be *NO* registry.

To be honest, there are some things for X to learn from Windoze.  The
WinFrame stuff is pretty efficient (of course, done so at the expense of
configurability, but nonetheless...)

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


  parent reply	other threads:[~1998-06-22 22:59 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       ` Christopher Curtis [this message]
1998-06-22 23:52         ` The new X (was Re: Making programs 64 bit clean) 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
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