delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/12/09:05:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 12 Dec 2001 15:04:00 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: CYGWIN and rlogin - non inheritance of variable CYGWIN
Message-ID: <20011212150400.C1104@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3C173F91 DOT 7000606 AT seti-ic DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <3C173F91.7000606@seti-ic.com>; from arnaud.gand@seti-ic.com on Wed, Dec 12, 2001 at 11:29:21AM +0000

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

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019