groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] still exploring the last version: what is gremlin ?


From: Daniel Senderowicz
Subject: Re: [Groff] still exploring the last version: what is gremlin ?
Date: Sat, 7 Oct 2000 01:29:29 -0700 (PDT)

>From address@hidden Sat Oct  7 01:21:32 2000
>Date: Sat, 07 Oct 2000 09:19:21 +0200 (CEST)
>To: address@hidden
>Cc: address@hidden, address@hidden, address@hidden
>Subject: Re: [Groff] still exploring the last version: what is gremlin ?
>From: Werner LEMBERG <address@hidden>
>In-Reply-To: <address@hidden>
>References: <address@hidden>
>       <address@hidden>
>X-Mailer: Mew version 1.95b54 on Emacs 20.6 / Mule 4.0 (HANANOEN)
>Mime-Version: 1.0
>Content-Type: Text/Plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>Sender: address@hidden
>Errors-To: address@hidden
>X-BeenThere: address@hidden
>X-Mailman-Version: 2.0beta2.local2
>Precedence: bulk
>List-Id: GNU troff discussion list <groff.ffii.org>
>
>> I just realized that the change is wrong -- it should be:
>> 
>>      readmask = 1 << ConnectionNumber(display);
>> 
>> Actually, assuming that readmask is a mask for select, it should
>> probably be more like:
>> 
>>      FD_ZERO(&readmask);
>>      FD_SET(ConnectionNumber(display), &readmask);
>
>And this is exactly the code used in the xgremlin version I've
>uploaded to ftp.ffii.org:/pub/groff.
>
>Daniel, have you actually tried this particular version?

Yes. I had that slowdown problem with the code in
question. After I made the value of

        readmask = 1 << ConnectionNumber(display);

everything went smoothly. Now I look like Michelangelo but on the
computer.

Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]