\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?
On 2003-03-24 04:01pm, Amanda Wynne wrote:
> \r sort of works. Only it only updates the line about every 20th pass through
> the loop. Oh well.
>
> On Monday 24 Mar 2003 3:22 pm, Shane MacPhillamy wrote:
> > I think you are looking for \r - carriage return.
> >
> > Cheers
> > Shane
> >
> > On Monday, March 24, 2003, at 02:35 PM, Amanda Wynne wrote:
> > > if \n is newline, and \t is horizontal tab what's "home"; as in put
> > > the cursor
> > > back to the start of the current line? I've searched high & low, but
> > > can't
> > > seem to find any info anywhere.
> > >
> > > Amanda
> > > --
> > > SLUG - Sydney Linux User's Group - http://slug.org.au/
> > > More Info: http://lists.slug.org.au/listinfo/slug
>
> --
> SLUG - Sydney Linux User's Group - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
--
Regards,
Ian Su
SIRCA (Securities Industry Research Centre of Asia-Pacific)
Tel: 8374-5078 Email: <[EMAIL PROTECTED]>
DISCLAIMER: The contents of this email, inclusive of attachments, may
be legally privileged and confidential. Any unauthorised use of the
contents is expressly prohibited. If you have received this message in
error or are not the intended recipient, you should destroy the email
message along with any attachment(s). Unintended recipients of this
email are prohibited from retaining, disclosing, distributing or using
any information contained herein. This email is also subject to
copyright. No part of it should be reproduced, adapted or transmitted
without the written consent of the copyright owner.
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug