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

Home » Public Forums » archive » Re: running IDL without the DE
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: running IDL without the DE [message #35164 is a reply to message #35161] Sat, 17 May 2003 09:32 Go to previous messageGo to previous message
Craig Hamilton is currently offline  Craig Hamilton
Messages: 28
Registered: December 1996
Junior Member
I think Rick is right - you do need to build a GUI. I use the
batch file technique to launch IDL GUI-based programs, but
getting 'print' output to go to a DOS command window is not
possible, I believe.

I was thinking you were just using hello world printing as a
simple test case to figure out how to launch IDL programs in
a manner that is transparent to the user: double-click an
icon just like any Windows program.

Craig

"Rick Towler" <rtowler@u.washington.edu> wrote in message
news:GKkxa.868480$L1.250960@sccrnsc02...
>
> "Eric Inazaki" wrote ...
>> I wanted to build a "hello world" script that I could
>> launch w/o having to explicitly startup IDLDE (either
>> double-clicking in Win2K's explorer or through
>> CommandPrompt).
>
>> When I double-clicked on hello_world.sav it appeared that
>> some program ran briefly but there was no output. The same
>> thing happened when I tried to launch the program from the
>> CommandPrompt.
>
>> More generally, I'm trying to build "standalone" IDL apps
>> which use stdin/stdout (a terminal window) as the user
>> interface.
>
> I am pretty sure that you can't do this on win32. IDL for windows can't
do
> I/O with the command prompt. That program that ran briefly was the
runtime
> engine and the output of your 'hello world' program went straight to
> /dev/null.
>
> Although I haven't tried it, I suspect that Craig's suggestion will still
> route I/O to IDLDE so that's no good for you. And you would still have a
> problem with I/O on the runtime licensed machines.
>
> I think your only option is either have everyone telnet to a UNIX box
> running IDL or build a GUI. You could easily build a simple IDL based
> "terminal" that could accept text input and print output.
>
> But before you do that, email RSI and add your name to the list of people
> who want a command line version of IDL for windows. We have to make up
over
> 50% of the machines IDL is running on. We demand parity! :o
>
> -Rick
>
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: read pixels
Next Topic: Re: bug(s) in IDL5.6?

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

Current Time: Wed Oct 08 19:56:07 PDT 2025

Total time taken to generate the page: 0.00353 seconds