Stephane Payrard <[EMAIL PROTECTED]> wrote: > Chris wants to flush a string without a newline. > It does not work of MacOSX. Example of program :
> getstdout P1 > pioctl I0, P1, 3, 0 > print "Give me an integer number : ¥n" > getstdin P0 > readline S1,P0 I don't know how reasonable it is to turn off buffering first and then call readline (which turns line buffering on). > print I0 > print "\n" > # pioctl I0, P1, 3, 1 # => segmentation fault on my linux box btw No problem here. Did he/you omit the C<end> opcode? BTW Patches welcome to get rid of these magic pioctl arguments. Grep for: /* &gen_from_enum(.*\.pasm) */ (or gen_from_def if necessary) and config/gen/parrot_includes.pl Thanks, leo