Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3C18CD01.2090105@seti-ic.com> Date: Thu, 13 Dec 2001 15:45:05 +0000 From: arnaud GAND Reply-To: arnaud DOT gand AT seti-ic DOT com Organization: SETI User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; fr-FR; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: fr-fr MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Re: CYGWIN and rlogin - non inheritance of variable CYGWIN References: <1008165892 DOT 14018 DOT ezmlm AT cygwin DOT com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit > > > > > ------------------------------------------------------------------------ > > Subject: > > Re: CYGWIN and rlogin - non inheritance of variable CYGWIN > From: > > Corinna Vinschen > Date: > > Wed, 12 Dec 2001 15:04:00 +0100 > To: > > cygwin AT cygwin DOT com > > >On Wed, Dec 12, 2001 at 11:29:21AM +0000, arnaud GAND wrote: > >>Hi >> >>I use inetd with CYGWIN on NT4 station. >>I configured inetd proprely (variable CYGWIN put to "binmode ntsec >>notty" and registry key as explained in the doc with same value). >> >>I need "notty" use of CYGWIN to run some NT programs. >> >>with system variable CYGWIN put to "binmode ntsec notty" i get those NT >>programs run well >>but with rlogin (from IRIX station) they do not work and CYGWIN variable >>is not set. >> > >That's weird. I just had a look into the rlogind sources and >actually started a rlogin session from my Linux box to the Windows >box. rlogind doesn't influence the environment except for the >setting of $TERM. All other env.vars including $CYGWIN are inherited >from the parent process, inetd. Inetd has the environment which >is set in the system environment plus user env. if started under >another user account as SYSTEM. > >Corinna > I fully apologize because my problem was that I did not restart my computer. When reading the doc, I understood "form start on" as "from start on bash". Sorry. I made another tests with new system variables and I found that these new system variables was not set in rlogin session. So I reboot my NT4 station and now it's clear for me.I needed to reboot first my computer before testing rlogin. Thank you very much, it helped me focused further on this weird behaviour. Arnaud > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/