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

Home » Public Forums » archive » Re: Workstation or X-Terminal ?
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: Workstation or X-Terminal ? [message #11694 is a reply to message #11684] Fri, 08 May 1998 00:00 Go to previous message
pit is currently offline  pit
Messages: 92
Registered: January 1996
Member
In article <3551FA7D.D236FEA6@fz-juelich.de>,
"R. Bauer" <r.bauer@fz-juelich.de> writes:

> How can I determine if a user uses a workstation or a X-Terminal for
> IDL ?

You could try to examine the environment variable DISPLAY
(a=getenv('DISPLAY')), a workstation should have it empty or something
like ":0" or ":0.0".

and *please* do not post HTML code!

Peter

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
Peter "Pit" Suetterlin http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048 pit@uni-sw.gwdg.de
-- * -- * ...-- * -- * ...-- * -- * ...-- * -- * ...-- * -- * ...-- * --
Come and see the stars! http://www.kis.uni-freiburg.de/~ps/SFB
Sternfreunde Breisgau e.V. Tel.: +49 7641 3492
____________________________________________________________ ______________
[Message index]
 
Read Message
Read Message
Previous Topic: Re: static variable mayhem
Next Topic: Re: Variables and functions.

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

Current Time: Wed Oct 08 19:16:05 PDT 2025

Total time taken to generate the page: 0.00395 seconds