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

Home » Public Forums » archive » Which Operating System Am I On?
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
Which Operating System Am I On? [message #3557] Thu, 23 February 1995 14:00 Go to next message
patterso is currently offline  patterso
Messages: 36
Registered: February 1995
Member
I am writing a tool that needs to work on a variety of operating Systems
(e.g. Unix, OSF/1, Ultrix, VMS, etc.). If I can find out through IDL
which system I am on, I could use some IF structures to chose when I have
machine specific commands to perform (like SPAWNS). Is there any way to
get this information. None of the system varaibles seem to store it?

Thanks

Tim Patterson
Dept. of Radiophysics and Space Research
Cornell
Re: Which Operating System Am I On? [message #3747 is a reply to message #3557] Fri, 24 February 1995 15:01 Go to previous message
rivers is currently offline  rivers
Messages: 228
Registered: March 1991
Senior Member
In article <3ij0iq$998@newsstand.cit.cornell.edu>, patterso@astrosun.tn.cornell.edu (Tim Patterson) writes:
> I am writing a tool that needs to work on a variety of operating Systems
> (e.g. Unix, OSF/1, Ultrix, VMS, etc.). If I can find out through IDL
> which system I am on, I could use some IF structures to chose when I have
> machine specific commands to perform (like SPAWNS). Is there any way to
> get this information. None of the system varaibles seem to store it?
>
Use the system variable !VERSION
IDL> help, /structure, !VERSION
** Structure !VERSION, 3 tags, length=24:
ARCH STRING 'alpha'
OS STRING 'vms'
RELEASE STRING '3.6.1a'

____________________________________________________________
Mark Rivers (312) 702-2279 (office)
CARS (312) 702-9951 (secretary)
Univ. of Chicago (312) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars3.uchicago.edu (Internet)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: AXP VMS IDL problem with Control_C?
Next Topic: HDF file: bug with IDL or bug with my code?

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

Current Time: Wed Oct 08 20:01:11 PDT 2025

Total time taken to generate the page: 0.03016 seconds