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 #29407 is a reply to message #29322] Fri, 15 February 2002 08:53 Go to previous message
weitkamp is currently offline  weitkamp
Messages: 33
Registered: October 1998
Member
Hi Ken and Craig,

Craig Markwardt <craigmnet@cow.physics.wisc.edu> wrote in message news:<ony9hv286w.fsf@cow.physics.wisc.edu>...
>
> 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.

I don't know how STATUSLINE works or what can be termed "simple", but
the following small modification to Ken's code (putting a CR in the
format string) works on VT-52 compatible terminals (is that the same
as ANSI?). I think it fails on Windows though (because the CR makes a
new line there). Here it is:

FOR i = 0, 10 DO PRINT, i, FORMAT = '($, "i = " ,I4,
"'+STRING(13B)+'")'

Timm
[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: Thu Oct 09 02:47:35 PDT 2025

Total time taken to generate the page: 0.32138 seconds