On Mon, 2003-03-24 at 17:08, Amanda Wynne wrote:
> I mean I only get output to the screen about every 20th call to printf.

stdout is line buffered by default IIRC. You probably want to switch
your pty to "hot" mode or something - I don't recall the details, but
search for "stdout buffer mode" - you should find something useful.

Just a guess.

James.

> 
> 
> On Monday 24 Mar 2003 5:00 pm, Ian Su wrote:
> > \r just moves the cursor, it won't "update the line". Whatever you mean by
> > that.
> >
> >   printf("hello world\rfoo bar\n");
> >
> > would print
> >
> >   foo barorld
> >
> > so it could be a matter of inserting spaces after your string?
> >
> 

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to