Re: I/O buffering.

2017-01-18 Thread Lindsay John Lawrence
st regards, /Lindsay. On Tue, Jan 17, 2017 at 10:46 PM, Alexander Burger wrote: > Hi Lindsay, > > > Is is possible to turn off I/O buffering in a PicoLisp program? > > I/O buffering can't be turned off, it happens on a lower (stdin) level. > > > I think what you mean is

Re: I/O buffering.

2017-01-17 Thread Alexander Burger
Hi Lindsay, > Is is possible to turn off I/O buffering in a PicoLisp program? I/O buffering can't be turned off, it happens on a lower (stdin) level. I think what you mean is a low-level (e.g. character-wise) read as opposed to the higher-level 'read' function. > e

I/O buffering.

2017-01-17 Thread Lindsay John Lawrence
Is is possible to turn off I/O buffering in a PicoLisp program? e.g In Perl one can do something like this... #!/usr/bin/perl $| = 1; # Turn off I/O buffering while () { s/-/_/g; # Replace dashes with underscores print $_; } I'd like to do something similar with a PicoLisp program. Best Re