How to change ENV variable in shell script?

Hi folks,I tried to change env variable DISPLAY in a shell script. But after the script finished and exited, the value changed back. How to retain the value pls.?Thanks,henry
[209 byte] By [henry_z99] at [2007-11-25 23:21:23]
# 1
This would depend on what shell you are using.If you are using sh or bash try export the env:ex: DISPLAY=myhost:0.0export DISPLAYIf cshex:setenv DISPLAY myhost:0.0I belive this should help you.
larryra at 2007-7-5 18:09:06 > top of Java-index,General,Talk to the Sysop...