, January 06, 2004 5:07 PM
To: Esposito, Anthony
Cc: Jenda Krynicky; [EMAIL PROTECTED]
Subject: Re: 'print' output on one line
"Esposito, Anthony" wrote:
> I tried that already but it just gives me the final count at the end. I would like
> the output to change - the ro
"Esposito, Anthony" wrote:
> I tried that already but it just gives me the final count at the end. I would like
> the output to change - the row count, that is - as each 100 rows is committed with
> the final output - when the program ends - to be:
Try turning autoflush on:
Greetings! C:\>per
unications
Plano, TX 75074
Work Phone: 972-516-5344
Work Cell: 972-670-6144
Email: [EMAIL PROTECTED]
-Original Message-
From: Esposito, Anthony
Sent: Tuesday, January 06, 2004 3:09 PM
To: Jenda Krynicky; [EMAIL PROTECTED]
Subject: RE: 'print' output on one line
I tried that al
The issue of printing to the same location is based on terminal type. You
have several options on how you can implement this scenario.
1) from a text environment, you could use the codes for the proper terminal
type to reposition the cursor before sending your next print statement.
2) you coul
Communications
Plano, TX 75074
Work Phone: 972-516-5344
Work Cell: 972-670-6144
Email: [EMAIL PROTECTED]
-Original Message-
From: Jenda Krynicky [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 2:59 PM
To: [EMAIL PROTECTED]
Subject: Re: 'print' output on one line
From:
On Jan 6, 2004, at 2:53 PM, Esposito, Anthony wrote:
Is there a 'print' option/escape character the sends the file pointer (
for STDOUT in this case ) back to the beginning of the line?
Sure is. Try ending your lines with a "\r" instead of a "\n". Works
on Unix at least.
James
--
To unsubscri
From: "Esposito, Anthony" <[EMAIL PROTECTED]>
> I have a perl program ( with DBI ) which prints out a line to STDOUT
> after every 100 database commits. I would like the 'print' to just
> refresh the current line every time but - not knowing how to get
> around it - the program instead prints a ne
-
From: Esposito, Anthony
Sent: Tuesday, January 06, 2004 2:54 PM
To: [EMAIL PROTECTED]
Subject: 'print' output on one line
I have a perl program ( with DBI ) which prints out a line to STDOUT
after every 100 database commits. I would like the 'print' to just
refresh the curre
I have a perl program ( with DBI ) which prints out a line to STDOUT
after every 100 database commits. I would like the 'print' to just
refresh the current line every time but - not knowing how to get around
it - the program instead prints a new line every 100 commits like so:
INFO 3: start de