ASCII 12 is a new page to printer.
Steven Scott
Team Lead
Email: mailto:[EMAIL PROTECTED]
Web: http://www.invatron.com
Invatron Systems Corp.
5710 Timberlea Blvd.,
Suite 201,
Mississauga, Ontario
L4W 4WI
Telephone: (905) 282-1290 x40
Fax: (905) 282-1266
----- Original Message -----
From: "Evgeny Goldin (aka Genie)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 13, 2001 6:37 PM
Subject: RE: A Term::ReadKey question -- keep cursor put!
>
> Hey, thank's for the answers !
> Although, I didn't ask the question but I was occasionally thinking
> about it. "\r" and "\b" - great !
> As once I was pointed to the ASCII character causing the printer to
> start a new page .. Btw, I've forgot it - does anybody know it ?
> 11 ?
>
> > I'm very new to perl (a week or so), so this may not be the best way to
do
> > this, but....
> > for ($i=0; $i<10; $i++) {printf "%d\r",$i;}
>
> Don't overuse printf - you may be regular to it after C but it
> should only be used when it's formatting capabilities required.
> For simple print ( 95% of cases ? ) "print" is just fine.
>