Re: read_lines bug

new topic     » goto parent     » topic index » view thread      » older message » newer message
irv said...
petelomax said...

I'm wondering if they improve manual console input. If you take that line out and then enter one, two, three, does the screen end up looking like "onetwothree"?
It could of course behave quite differently on linux and windows. (I've messed up my install a bit so I can't test this particular one on eui.)

Taking them out seems to cause no problem on Linux.

I got it to run by copying the routine in locally rather than using include std/io.e

It was a problem on windows in eui 4.0.0, but seems fine on 4.1.0 - which explains why that code was there.

EDIT: note that as phix slavishly copied the earlier rds eu behaviour, it remains a potential issue.
(Specifically gets0 in pfileioN.e tests for \r (and Ctrl Z) after each kernel32/ReadFile|syscall sys_read before echoing it with kernel32/WriteConsoleA|syscall sys_write)

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

Search



Quick Links

User menu

Not signed in.

Misc Menu