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

Home » Public Forums » archive » Re: which stream is prompt written to?
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: which stream is prompt written to? [message #6965 is a reply to message #6963] Sun, 08 September 1996 00:00 Go to previous messageGo to previous message
chs11 is currently offline  chs11
Messages: 14
Registered: October 1995
Junior Member
In article <503f0wypx9.fsf@mbcsg1.sghms.ac.uk>,
Christian Soeller <csoelle@sghms.ac.uk> wrote:
> chs11@aloha.cc.columbia.edu (Carl H Sayres) writes:
>
>> I need to pipe commands into idl and recieve the output from the stdout
>> and stdin streams. It all works fine except that I don't receive the
>> "IDL> " prompt. I'd like this so that I can know when a command has
>> finished.
> It's written to stderr. If you say something like
> un*x> idl 2>stderr.out
> you find all the prompts and the startup message in the file stderr.out.
>
> So maybe
> un*x> idl > named_pipe 2>&1
> is what you would want to do (assuming ksh like shell syntax).

Your first example works (idl 2>stderr.out). But if you put a set of
commands in a file and do this:
idl < idl.in > idl.out 2> idl.err
you don't get any prompts! Can anyone explain????

Carl
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: looking for code
Next Topic: Re: How to produce EPS image file with preview???

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

Current Time: Sat Oct 11 12:52:14 PDT 2025

Total time taken to generate the page: 0.24117 seconds