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

Home » Public Forums » archive » Re: Writing on X without X device (!)
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: Writing on X without X device (!) [message #14538] Tue, 09 March 1999 00:00 Go to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
Liam Gumley wrote:
>
> [...]
> To create IDL graphics on a Unix box without being logged in, you need
> two things.
>
> The first is a Unix shell script (which is run in batch mode) which
> invokes IDL. It should look like this:
> [...]>
> The second is an IDL script which does the processing. Note that this is
> a *NOT* a procedure or a function; it has no PRO, FUNCTION, or END
> statements. Here's an example:
>
... but you can call your pros and funs as usual (as long as you make
sure to have the !PATH variable set correctly). Here's an example shell
script that I use to iterate model results:

(1) shell script:
#!/bin/csh

# shell script for remote IDL calls
# called as ridl <programname>
# program must be "main", i.e. no pro or function statement
echo shell script for remote IDL calls

# set environment variables
setenv IDL_DIR /usr/local/lib/rsi/idl_5.1
setenv IDL_PATH \+$IDL_DIR/lib:\+$IDL_DIR/examples
setenv IDL_DEVICE null
setenv IDL_STARTUP ~mgs/IDL/idl_startup.pro
alias idl $IDL_DIR/bin/idl
alias idltool $IDL_DIR/bin/idltool
alias idlhelp $IDL_DIR/bin/idlhelp
alias idldemo $IDL_DIR/bin/idldemo


# call IDL with all parameters
cd IDL/chem1d
echo starting IDL ...
idl $*

--
------------------------------------------------------------ -------
Dr. Martin Schultz
Department for Engineering&Applied Sciences, Harvard University
109 Pierce Hall, 29 Oxford St., Cambridge, MA-02138, USA

phone: (617)-496-8318
fax : (617)-495-4551

e-mail: mgs@io.harvard.edu
Internet-homepage: http://www-as.harvard.edu/people/staff/mgs/
------------------------------------------------------------ -------
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: menu accelerators?
Next Topic: Re: Free IDL Software

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

Current Time: Fri Oct 10 07:23:23 PDT 2025

Total time taken to generate the page: 0.47866 seconds