gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Wish to use IOChan.RawRead() on StdChans.StdInChan()


From: SiTex Graphics
Subject: Re: [Gm2] Wish to use IOChan.RawRead() on StdChans.StdInChan()
Date: Mon, 27 Jun 2011 16:13:54 -0400

Hi Gaius,

This change (the addition of raw to stdin) does not appear to have
made it into the cvs.

-Scott


On Wed, Apr 13, 2011 at 5:26 AM, Gaius Mulley <address@hidden> wrote:
> SiTex Graphics <address@hidden> writes:
>
>> Hi Gaius,
>>
>> I'd like to be able to use IOChan.RawRead() on the standard input
>> channel.  Stonybrook and XDS both allow this, and that flexibility
>> makes it easy to process input the same whether it comes from a file
>> or over a pipe.  Test file attached.  Compile with
>>
>> gm2 -o teststdin -fiso -fmakeall teststdin.mod
>>
>> It looks like the raw flag just needs to be added to the following
>> line in StdChans.mod:
>>
>> stdin := MapFile(FIO.StdIn, read+text);
>>
>> I tried to compile StdChans.mod with that modification, but I ran into
>> a bunch of parameter mismatch errors.  I guess I'm missing some
>> required switch for compiling that module.
>>
>> Thanks,
>> Scott
>
> Hi Scott,
>
> thanks for the test code and suggestion/bug report.  Yes sure this is
> very sensible and will be applied to the cvs,
>
> regards,
> Gaius
>



reply via email to

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