It is currently Tue, 30 Nov 2021 18:08:20 GMT

Author Message
 getting environment variables from c shell using Bourne shell

Hello all
        This problem started from the execution of xdm.  I use to
login without any X-window interface, run C-shell, set the variables
and environments, start openwin then start olwm.  The menu of the olwm
contains an entry of a variable set in the C-shell, eg

        "Menu"        MENU    $MENU/something_or_rather

        now I'm using xdm, hence running openwin, then olwm, then set
C-shell variables.  The menu doesn't seem to pick up the $MENU
variable.  But when I do a "setenv" the MENU variable is set.
        I was also reading the man pages for olwm, it saids that the
men line is interpretted by putting it through Bourne shell.  So could
it be that the variables set using C-shell cannot be read by Bourne
shell?  Or could it be that I have to set the environment before olwm
starts?  (This is unlikely, as the menu can be read if the menu file
is changed)
        I'm baffled!  Any help will be appreciated


 Thu, 30 Mar 2000 03:00:00 GMT   
 getting environment variables from c shell using Bourne shell

In article <>,

You have to set the environment before starting olwm.  When you start olwm
it inherits a copy of the environment variables that were in effect at the
time.  It won't see any changes that you make to the environment after
that.  The menu can be re-read, but it will still use only the original
environment variable settings.

Barry Margolin,
GTE Internetworking, Powered by BBN, Cambridge, MA
Support the anti-spam movement; see <>
Please don't send technical questions directly to me, post them to newsgroups.

 Mon, 03 Apr 2000 03:00:00 GMT   
 getting environment variables from c shell using Bourne shell

Hi all,

I have to change the IP address of our NIS+ root master server. I have
not found any documentation on this. Could anyone please suggest how I go
about doing this change ?

Thanks in advance,

Zakir Sheik

 Tue, 04 Apr 2000 03:00:00 GMT   
 getting environment variables from c shell using Bourne shell

I already did that and now I have problems... all NIS_COLD_START files point
to removed IP... I'd like to find the answer too...

iirc i've seen I can convert NIS replica to NIS master. so I created replica
and my NIS+ works but I can't change it; I'd like to know how to convert
replica to master... can anybody help ?
 Matus "fantomas" Uhlar, sysadmin of one server at SANET Kosice, Slovakia
 E-mail: ; WWW:
 And don't forget: I work for SANET, but talk for myself, dude... ;-)

 Tue, 04 Apr 2000 03:00:00 GMT   
   [ 4 post ] 

Similar Threads

1. Numbered environment variable in Bourne shell

2. Q: getting variable contents in bourne shell

3. Trying to run nohup from Korn shell but getting Bourne shell errors

4. Translating variables in text file to their values using bourne shell

5. Using Variables For Pattern In Bourne Shell case Statement

6. Light Speed Bourne Shell! (was: Bourne shell tricks)

7. bourne shell variable within a variable

8. Bourne Shell compatible shells (was: Request: which shells)

9. difference between shell variable and environment variable

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software