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

Home » Public Forums » archive » Re: Interactive text ouput
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Interactive text ouput [message #58826] Mon, 25 February 2008 04:20
Nicolas is currently offline  Nicolas
Messages: 15
Registered: September 2007
Junior Member
On Feb 25, 11:35 am, Allan Whiteford <allan-remove-th...@-and-
this.phys-dot-strath.ac.uk> wrote:
> Nicolas,
>
> If you're using UNIX from a terminal then you might want to look at the
> "MORE" keyword to OPENW.
>
> As an example:
>
> openw,unit,'/dev/tty',/get_lun,/more
> for i=0,80 do printf,unit,i
>
> if you're using Windows or the IDL IDE under UNIX then there might be an
> equivalent but I doubt that '/dev/tty' means much under those
> environments. It might though.
>
> Thanks,
>
> Allan
>

Excellent! Thank you for your quick answer Allan.
It works perfectly. This is all I need! :-)

Cheers,
Nicolas
Re: Interactive text ouput [message #58827 is a reply to message #58826] Mon, 25 February 2008 02:35 Go to previous message
Allan Whiteford is currently offline  Allan Whiteford
Messages: 117
Registered: June 2006
Senior Member
Nicolas,

If you're using UNIX from a terminal then you might want to look at the
"MORE" keyword to OPENW.

As an example:

openw,unit,'/dev/tty',/get_lun,/more
for i=0,80 do printf,unit,i

if you're using Windows or the IDL IDE under UNIX then there might be an
equivalent but I doubt that '/dev/tty' means much under those
environments. It might though.

Thanks,

Allan

Nicolas wrote:
> Hi folks,
>
> Would anyone of you know how to implement a mechanism similar to the
> one used for the IDL help command to
> stop the text streaming on your terminal when it is full?
>
> IDL>help
>
> ......
> here the help content
> ......
> ......
> < Press Spacebar to
> continue, ? for help >
>
> I'm writting a program that displays many "print" lines, and I would
> to stop and prompt the user to continue whenever "the screen is full".
>
> Any hints?
> Thanks,
> Nicolas
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Interactive text ouput
Next Topic: Another strange IDL7.0 problem?

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

Current Time: Wed Oct 08 15:13:39 PDT 2025

Total time taken to generate the page: 0.00565 seconds