guile-user
[Top][All Lists]
Advanced

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

Re: pipe buffering


From: Aidan Gauland
Subject: Re: pipe buffering
Date: Thu, 23 Sep 2010 18:46:36 +1200
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Sep 22, 2010 at 09:17:08PM +0100, Neil Jerram wrote:
> Well, as the manual says:
> 
>  -- Macro: expect clause ...
>      [...]   The procedures
>      are called in turn after each character is read from the port,
>      [...]
> 
>      The test is successful if the procedure returns a non-false value.
> 
> Your lambda returns *unspecified*, which counts as a non-false value.
> So the whole (expect ...) invocation completes after reading just one
> character.

I must've missed that "each character" bit.

Maybe it would be better to post my original program that would just
hang.  I was only using expect to print debugging messages; my
original program used expect-strings.

--Aidan

Attachment: signature.asc
Description: Digital signature


reply via email to

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