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

Home » Public Forums » archive » 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 #29411 is a reply to message #29323] Fri, 15 February 2002 04:03 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Kenneth Bowman wrote:
>
> 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.
>
> I would like to see:
>
> IDL> FOR i = 0, 10 DO PRINT, i, FORMAT = "('i = ' ,I4, ?????)"
> i = 10
>
> Where "i = 10" has overwritten "i = 9", etc.
>
> Thanks, Ken

All in one line is done with

IDL> FOR i = 0, 10 DO PRINT, i, FORMAT = "($-, 'i = ' ,I4,T1)"
i = 0i = 1i = 2i = 3i = 4i = 5i = 6i = 7i =
8i = 9i = 10IDL>

How to set backspace?

Reimar



--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

http://www.fz-juelich.de/zb/text/publikation/juel3786.html
============================================================ ======
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Overwriting the terminal output line
Next Topic: about file operation in DLM

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

Current Time: Wed Oct 08 19:29:58 PDT 2025

Total time taken to generate the page: 0.00399 seconds