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

Home » Public Forums » archive » Re: 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
Re: Which Operating System Am I On? [message #3552] Fri, 24 February 1995 04:50
gurman is currently offline  gurman
Messages: 82
Registered: August 1992
Member
In article <3ij0iq$998@newsstand.cit.cornell.edu>,
patterso@astrosun.tn.cornell.edu (Tim Patterson) wrote:

> 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?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ?

Tim -

Have you tried looking at !version.os?

Joe Gurman

--
Joseph B. Gurman / NASA Goddard Space Flight Center/ Solar Data Analysis Center / Code 682 / Greenbelt MD 20771 USA / gurman@uvsp.gsfc.nasa.gov
| Federal employees are still prohibited from holding opinions while at work. Any opinions expressed herein must therefore be someone else's. |
Re: Which Operating System Am I On? [message #3554 is a reply to message #3552] Fri, 24 February 1995 03:39 Go to previous message
jacobsen is currently offline  jacobsen
Messages: 28
Registered: July 1992
Junior Member
patterso@astrosun.tn.cornell.edu (Tim Patterson) wrote:
> I am writing a tool that needs to work on a variety of operating Systems
> (e.g. Unix, OSF/1, Ultrix, VMS, etc.)... None of the system
> varaibles seem to store it?

!version.os provides this information.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL via RPC (Solaris 2.3)
Next Topic: wave_tk: location/installation?

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

Current Time: Wed Oct 08 19:44:06 PDT 2025

Total time taken to generate the page: 0.00537 seconds