Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sun-barr!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!tuegate.tue.nl!svin02!eba!wjw From: wjw@eba.eb.ele.tue.nl (Willem Jan Withagen) Newsgroups: comp.sys.apollo Subject: More questions for the merge of SR9 and SR10. Keywords: sr9, sr10, environments Message-ID: <830@eba.eb.ele.tue.nl> Date: 28 Sep 90 10:12:48 GMT Sender: news@eb.ele.tue.nl (The News system) Reply-To: wjw@eb.ele.tue.nl Organization: Digital Systems Group, Technical Univ. Eindhoven, The Netherlands. Lines: 45 [This is repost, since I was informed that the previous version did not get thru to our central news system. If not so sorry for the waste bandwidth] Remember my questions on the merge of sr9 and sr10 systems? Well here's another stupid question. Dependant on the system on which a user logs in, I want him to have a idea on the type of OS he is running. Now it has never come to mind a Hpollo that not only the SYSTYPE was interesting to the user, but there might be others. The file /etc/environ sort of suggest that variables here declared get exported to user-shells. Just forget it. Not even the variable ENVIRONMENT makes it to the user. So I've made a variable OSTYPE=sr{9 or 10} and it is exported in startup.{19l,1280bw} This works a little, but only for processes forked by dm It dit not work for crp and/or telnet. For crp an addition to /etc/rc worked, but still not for telnet since login cancels all environment. (Unless -p is used, but this has two disadvantages: 1) I've got to modify /etc/telnetd 2) Everything gets thru! ) Question: How do I get OSTYPE to the logins via telnet in a simple way. Thanx Willem Jan Withagen. PS: From the 'HUGE ;-{' response on my SR9 <> SR10 questions I gather that there not many abnormalities like this running the REAL world. PS2: I got a warning from my support-rep that the going to cancel support for OS9.7 in another 2 months. Eindhoven University of Technology DomainName: wjw@eb.ele.tue.nl Digital Systems Group, Room EH 10.10 BITNET: ELEBWJ@HEITUE5.BITNET P.O. 513 Tel: +31-40-473401 5600 MB Eindhoven The Netherlands Eindhoven University of Technology DomainName: wjw@eb.ele.tue.nl Digital Systems Group, Room EH 10.10 BITNET: ELEBWJ@HEITUE5.BITNET P.O. 513 Tel: +31-40-473401 5600 MB Eindhoven The Netherlands