Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!blars!blarson From: blarson@blars Newsgroups: comp.os.os9 Subject: Re: OSK enviorment variable passing Message-ID: <214@blars> Date: 8 Jun 91 08:56:47 GMT References: <1991Jun7.164645.1189@shearson.com> Sender: news@usc.edu Lines: 29 Nntp-Posting-Host: sis.usc.edu Originator: blarson@sis.usc.edu In article <1991Jun7.164645.1189@shearson.com> bwynkoop@shearson.com (Brett Wynkoop) writes: > Now that I have news fixed at my new (work) site I am back to >being able to work on my OS9 news software. I already have C news and rn working on os9/68k 2.3, (the 2.2 C compiler had nasty bugs, and 2.4 isn't yet available for my system) and the TOP people have notes, so you may not need to do your own. My port could definatly use some polishing and documentation, but since it doesn't look like I'll get to that in the near future I may release it as-is. A couple of people have expressed interest, maybe a mailing list should be formed if other people are interested in finishing it. > It will make my life >very easy if I can get the enviorment passed to the second program >(the one chained to). Can any one out there give me a clue? Pass the value of the external variable environ to the enviornment pointer argument of os9exec(). Don't directly call os9fork[c]() or os9chain[c](). If you want to build up an enviornment to pass, there are routines for that in blarslib. (available on smilodon) -- blarson@usc.edu C news and rn for os9/68k! -- Bob Larson (blars) blarson@usc.edu usc!blarson Hiding differences does not make them go away. Accepting differences makes them unimportant.