Re: Standard Input Max Length Limitation

new topic     » goto parent     » topic index » view thread      » older message » newer message

Pete Lomax wrote:
> 
> Matt Lewis wrote:
> > Is there a particular reason why you want to run under DOS instead of
> > windows?  You can use exwc.exe, which is the console version of the
> > interpreter for windows.
> I thought about that but a test showed it limited input to 79 characters!
> 

Whoops, you're correct, of course.  Since I've piped things much bigger than
that through stdin, I assumed that it would work, but it seems that euphoria
detects whether stdin is really the keyboard, and modifies behavior
accordingly.  

There's nothing obvious (to me) that's limiting the input size.  My suspicion
is that it has something to do with the way Rob handles stdin/stdout under
windows.  In particular, this line from be_w.c looks suspicious:

    screen_loc.Right = 79;

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu