comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: Starting idl quietly

Re: Starting idl quietly
type: item
description: In article <32D2302B.3296@nicole.sis.nl>, Martijn Dashorst <m.w.e.dashorst@nicole.sis.nl> writes: -I was wondering if it is possible to start IDL quietly. I start -IDL from within a c-program using a pipe and nomatter what I -tried to do, IDL messes up my terminal window... -I tried: fp=popen('idl > idl.txt','w') but that doesn't do the -trick, and I couldn't find any startup options which would -disable the startup message.... I believe the startup message is sent to 'standard error', but the '>' only redirects 'standard output'. Try redirecting both. Under UNIX with the C-shell, try idl >& idl.txt In fact, if you don't want the output at all, send it to the null device by using idl >& /dev/null Hope that helps Tim ......................... Dr Tim Osborn . t.osborn@uea.ac.uk .... ___/.. __ /.. /.. /. Senior Research Associate . phone:01603 592089 ... /..... /. /.. /.. /.. Climatic Research Unit . fax: 01603 507784 .. /..... __/.. /.. /... School of Environmental Sciences. . /..... /\ ... /.. /.... University of East Anglia . ____/.._/..\_..____/..... Norwich NR4 7TJ . ......................... UK .
creator: f055
date: 1997-01-08T08:00:00-00:00

Re: Starting idl quietly
type: item
description: Martijn Dashorst wrote: > > Hi! > > I was wondering if it is possible to start IDL quietly. I start > IDL from within a c-program using a pipe and nomatter what I > tried to do, IDL messes up my terminal window... > I tried: fp=popen('idl > idl.txt','w') but that doesn't do the > trick, and I couldn't find any startup options which would > disable the startup message.... > You need to redirect the standard error as well, as the intro text goes there. Try fp=popen('idl >& idl.txt','w') or even fp=popen('idl >& /dev/null','w'). Dave -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ David S. Foster Univ. of California, San Diego Programmer/Analyst Brain Image Analysis Laboratory foster@bial1.ucsd.edu Department of Psychiatry (619) 622-5892 8950 Via La Jolla Drive, Suite 2200 La Jolla, CA 92037 [ UCSD Mail Code 0949 ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
creator: David Foster
date: 1997-01-08T08:00:00-00:00

Re: Starting idl quietly
type: item
description: Martijn Dashorst wrote: > I was wondering if it is possible to start IDL quietly. I start > IDL from within a c-program using a pipe and nomatter what I > tried to do, IDL messes up my terminal window... > I tried: fp=popen('idl > idl.txt','w') but that doesn't do the > trick, and I couldn't find any startup options which would > disable the startup message.... The hint about redirecting standard error as well will work; on the other hand, maybe you should look into using the "Callable IDL" feature present from v4.0 on up. Get the "IDL Advanced Development Guide" from RSI for instructions in how to use it. One advantage of Callable IDL is you won't need to use temporary files to retreive IDL output back into your program; you access the variables directly. -- Dr. Marty Ryba | Of course nothing I say here is official MIT Lincoln Laboratory | policy, and Laboratory affililaton is ryba@ll.mit.edu | for identification purposes only, | blah, blah, blah, ...
creator: Marty Ryba
date: 1997-01-09T08:00:00-00:00