2 Replies Latest reply: Apr 17, 2013 8:00 AM by Reidod RSS

    Unable to unsetenv in Solaris 10

    993094
      Hi Guys
      I've got a problem with setenv in Solaris.
      I open two terminals at the same time.
      On each terminal, check the env value and found that when I change the env's value, this will not take effect on the other terminal:
      On terminal 1
      bjomcr:omcadmin > setenv |grep FMIC
      MMI_ENABLE_FMIC=1
      MMI_CLEAR_INACTIVE_FMIC=1
      bjomcr:omcadmin > date
      Tue Apr 16 16:29:35 ICT 2013
      bjomcr:omcadmin > setenv MMI_ENABLE_FMIC 0
      bjomcr:omcadmin > date
      Tue Apr 16 16:29:46 ICT 2013
      bjomcr:omcadmin > date
      Tue Apr 16 16:30:00 ICT 2013
      bjomcr:omcadmin > setenv |grep FMIC
      MMI_ENABLE_FMIC=0
      MMI_CLEAR_INACTIVE_FMIC=1

      On terminal 2:
      bjomcr:omcadmin > setenv |grep FMIC
      MMI_ENABLE_FMIC=1
      MMI_CLEAR_INACTIVE_FMIC=1
      bjomcr:omcadmin > date
      Tue Apr 16 16:29:48 ICT 2013
      bjomcr:omcadmin > setenv |grep FMIC
      MMI_ENABLE_FMIC=1
      MMI_CLEAR_INACTIVE_FMIC=1

      Whatever I do with this env, when I open an other terminal, it's value restore to the previous one.
      How can I permanent change the env's value for a user?