comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Overwriting the terminal output line
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Overwriting the terminal output line [message #29322] Thu, 14 February 2002 11:07 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Kenneth Bowman <k-bowman@null.tamu.edu> writes:
> Does anyone know how to overwrite the terminal output line?
>
>
> The following does not do what I want:
>
> IDL> FOR i = 0, 10 DO PRINT, i, FORMAT = "($, 'i = ' ,I4, T1)"
> i = 0i = 1i = 2i = 3i = 4i = 5i = 6i = 7i = 8i = 9i = 10IDL>
>
> The $ supresses the newline, but T1 does not reposition the
> pointer to the beginning of the line.
...

Hi Ken--

Does something like STATUSLINE help you? [ Assumes you are running on
an ANSI-like terminal. ] I use ANSI escape characters to control the
cursor position, so it's not portable to every type of terminal. As I
recall, I couldn't find a simply way to reposition the cursor using
FORMAT statements.

Craig

http://cow.physics.wisc.edu/~craigm/idl/idl.html (under Miscellaneous)

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: get_lun returns LUN already in use
Next Topic: Overwriting the terminal output line

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:37:06 PDT 2025

Total time taken to generate the page: 0.00466 seconds