scsh-users
[Top] [All Lists]

Re: Chars and Bytes in the RM

To: RT Happe <rthappe@web.de>
Subject: Re: Chars and Bytes in the RM
From: Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
Date: Tue, 07 Jan 2003 19:34:43 +0100
Cc: <scsh-bugs@zurich.ai.mit.edu>
>>>>> "RT" == RT Happe <rthappe@web.de> writes:

RT> On Tue, 7 Jan 2003, Martin Gasbichler wrote:
RT> By the way, the implementation of R-S!/P in scsh/rw.scm (0.6.3 beta) looks
RT> suspect to me.  It basically calls READ-BLOCK with COUNT :=

>> Hmm, I think I mixed up non-blocking with non-buffering.

RT> The important issue is that the buffer size doesn't determine whether the
RT> port can satisfy the request from the buffer.  The port-index or
RT> fill-pointer of the buffer does.

The code wasn't there to test whether there is something in
the buffer or not but to guess whether the port's policy is
bufpol/none.


-- 
Martin

<Prev in Thread] Current Thread [Next in Thread>