Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!fernwood!portal!gdc!nms!bergquis From: bergquis@nms.gdc.portal.com (Brett Bergquist) Newsgroups: comp.unix.programmer Subject: Re: c -> environment vars Summary: syslog.conf is the answer Message-ID: <213@wimpy.nms.gdc.portal.com> Date: 8 Apr 91 11:05:02 GMT References: <1991Apr7.050610.8449@pinet.aip.org> Organization: General DataComm, Middlebury CT Lines: 22 In article <1991Apr7.050610.8449@pinet.aip.org>, reg@pinet.aip.org (Dr. Richard Glass) writes: ] I have several systems at my disposal and half of them don't have ] putenv(). Does it really put the enviornmet var back to the caller? ] Does it do an 'export' as in the Bourne shell? I know you can add on ] vars to the envior. and pass them down. I know I can RTFM but is late ] on Sat. and I feel like getting my two cents in. ] ] Ricky Glass You should look at the man page for syslog.conf(5). All you have to do is add ",/pathtofilename" to each entry that has "/dev/console" in it. This will send all messages that appear on the console to the named file. After you edit "/etc/syslog.conf", you will have to send syslogd(8) a SIGHUP so that it will reread this file. Hope this help! -- Brett M. Bergquist, Principal Engineer | "Remind me" ... "to write an General DataComm, Inc., | "article on the compulsive reading Middlebury, CT 06762 | of news." - Stranger in a Strange Land Email: bergquis@nms.gdc.portal.com or ...!portal!gdc!nms!bergquis