nanogui: 'Persistent' nano-X server


Previous by date: 29 Mar 2000 08:05:11 -0000 Unicode, Martin_Doering.mn.man.de
Next by date: 29 Mar 2000 08:05:11 -0000 Re: Unicode, vidar.hokstad.com
Previous in thread: 29 Mar 2000 08:05:11 -0000 'Persistent' nano-X server, Timo Ketola
Next in thread:

Subject: Re: 'Persistent' nano-X server
From: "Greg Haerr" ####@####.####
Date: 29 Mar 2000 08:05:11 -0000
Message-Id: <0cb101bf9953$d432d660$15320cd0@gregh>

: Think found a bug:
: 
: GsAcceptClientFd should clear the client->prev member when that is the
: first client
: 
:     if(connectcount++ == 0) {
:         root_client = client;
: ==>     client->prev = NULL; }
: 
: This problem appeared when I modified nano-X so that it doesn't
: terminate when last client is dropped. I also ignored SIGPIPE (was
: already ignored in ELKS).

Yep.  Buggy.  fixed all this.  Thanks



 That one revealed a 'double close' problem. I
: think GrClose should not be called in GsWrite because GsRead eventually
: calls it.

Solved this.


: 
: Now the nano-X server works quite well when I start and stop
: applications. Only problem seems to be that not everything is cleaned
: up. For example stopping 'demo' leaves colored rectangles on the screen.

Fixed this all in 0.88pre5c, TBRS (to be released shortly)

There's still some issues when starting and stopping various clients
in different orders, but I've got the bugs you fixed as well as the
redraw stuff working pretty well now.  Let me know what you think
with 0.88pre5c.  I also added a -p flag for to the server for persistant
mode for now.

The server core dumps when running bin/demo &, and then bin/nclock, 
for some reason.  I'm still working on this.

Regards,

Greg




Previous by date: 29 Mar 2000 08:05:11 -0000 Unicode, Martin_Doering.mn.man.de
Next by date: 29 Mar 2000 08:05:11 -0000 Re: Unicode, vidar.hokstad.com
Previous in thread: 29 Mar 2000 08:05:11 -0000 'Persistent' nano-X server, Timo Ketola
Next in thread:


Powered by ezmlm-browse 0.20.