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 #29401 is a reply to message #29322] Fri, 15 February 2002 11:05 Go to previous messageGo to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <ony9hv286w.fsf@cow.physics.wisc.edu>,
Craig Markwardt <craigmnet@cow.physics.wisc.edu> wrote:

> 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.

Thanks, Craig. STATUSLINE works fine on our unix boxes (vt100).

I added a blank "PRINT" in the /CLOSE block to ensure that
upon close the IDL prompt does not over-write the status line.

if keyword_set(close) AND n_elements(statusline_unit) GE 1 then begin
if statusline_unit(0) LT 0 then return
free_lun, statusline_unit(0)
statusline_unit = -1L
PRINT
return
endif

I doesn't work on my Mac however (no surprise). Maybe when the OS X
(unix-like) version is available.

Ken
[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 15:20:20 PDT 2025

Total time taken to generate the page: 0.56073 seconds