On Feb 9, 1:31*pm, Rui Maciel <rui.mac...@gmail.com> wrote:
> Malcolm McLean wrote:
> > X is fundamentally misdesigned, because the idea is that the "client",
> > which means sever, sends a stream of bytes over a network to the "X
> > sever", which means client. However virtually no systems work like
> > that, and in fact it's hard to get interactivity if the client is
> > remote.
>
> If I'm not mistaken, the X window system was developed with remote clients
> in mind and in a time where remote clients were the norm. *So, with that in
> mind, I don't agree that X was fundamentally misdesigned.
>
> Fast-forward 30 years, nowadays we have clients sending and receiving
> streams of bytes over a network to/from a server in order to provide a
> graphical user interface, but instead of the X window system we have the
> world wide web. *So, although it's a slightly different abstraction level,
> it's essentially the same thing.
>
The problem is that the messages were wrong. In X the server sends a
message "A key was pressed" and the client has to send back a mesage
"please draw the letter X in such and such a font in that window". So
of course the poor user would hammer the key again, then get a row of
xes, then press delete several times, delete the lot, then tap the x
key once, deliberately and smartly, and go for a coffee until he could
type in the next character.
With the web interface the server says "put up an edit box". The
client then allows the user to enter text. It then tells the server
"the user has finished putting text into the boxes you told me to put
up, and here's what he wrote".
--
Visit my webiste. Lots of C programming material
http://www.malcolmmclean.site11.com/www