To figure out if a particular DM is a Display Manager or Foxview, you cou= ld check the display manager environment variable ENV. Perhaps you were = thinking that when you asked your question. pref -DMNAME ENV If it returns /usr/fox/wp/sys/Change_Env/{something} then it is a displa= y manager. Or if it returns somethings that ends in .env ( grep '\.env$' ) then it i= s likely to be a foxview.=20 This does make the assumption that all your display manager environments = are in the default place. Or that only your foxview environments end in = a .env Sean -----Original Message----- From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] = On Behalf Of Doucet, Terrence Sent: Friday, 13 July 2007 5:12 AM To: foxboro@xxxxxxxxxxxxx Subject: [foxboro] RE : Env variable from C-shell scripts Thanks for the suggestions.=20 =20 If you have a solaris AW or WP that boots into Display Manager and you ha= ve loaded Foxiew / FoxDraw and you can start a remote Display Manager wit= h the=20 =20 /opt/fox/wp/bin/default_dm =20 and start a remote FoxView with=20 =20 /opt/fox/wp/FoxView/foxview =20 Then your program will not pick up the good one. =20 If FoxView is the default (boots into FoxView) then I thnk your code work= s. =20 Terry -- No attachments (even text) are allowed -- -- Type: application/ms-tnef -- File: winmail.dat =20 =20 _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process S= ystems (formerly The Foxboro Company). Use the info you obtain here at yo= ur own risks. Read http://www.thecassandraproject.org/disclaimer.html =20 foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave =20 =0A=0ANOTICE - This message and any attached files may contain informatio= n that is confidential and intended only for use by the intended recipien= t. If you are not the intended recipient or the person responsible for de= livering the message to the intended recipient, be advised that you have = received this message in error and that any dissemination, copying or use= of this message or attachment is strictly forbidden, as is the disclosur= e of the information therein. If you have received this message in error = please notify the sender immediately and delete the message. _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave