X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=gHcSbfS18vhm3GAxOgJY9uv3ym8xYUlK1unCHbZbfTz
	Pd2EugjpHbTnia/J8NL5PkbNEWGf+2GbOn/Cm+DMZtPrcV0v9ElPC0kXjIB4dEfs
	lIuxHuWA0M4XhbHDAhnolWJPOMFVlgZiWUhmEtAORfwWwnmZHo/iSgenP3vz+4eE
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=TwxYh5wMS602e4leSogX4c/r+n0=; b=gzdG2LyB131z2LqyW
	9HL//eaYtceMrzmQlUOmZkddmAGmbkmd9e5/bDMbAfjn8l0VKo/p4eyc0beeW6Gm
	0UURK3NVaPOHNhPpRdjETSb4xwvEycxH8qrfwyMk5GbSvLsbbzFQdRQw1GwPvOHL
	cLvd+nRm2+LddPptn6M6s9ERzY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: Ishtar.hs.tlinx.org
Message-ID: <54B7365C.7020307@tlinx.org>
Date: Wed, 14 Jan 2015 19:39:08 -0800
From: Linda Walsh <cygwin@tlinx.org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] -- merging win-env vars into post-'login'-wiped-ENV
References: <announce.20150114124044.GD15791@calimero.vinschen.de>
In-Reply-To: <announce.20150114124044.GD15791@calimero.vinschen.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Corinna Vinschen wrote:

> - When spawning a process under another user account, merge the user's
>   default Windows environment into the new process' environment.
----

	Will this affect using inetd to spawn rlogind => login.

	Right now all ENV vars are cleared by login -- which means the user
can't find their home directory (or their windows HOME DIR -- aka
USERPROFILE, HOME, HOMEDRIVE, HOMEPATH, PATHHOME among others.

	It's impossible for a wiped ENV process to pick up where
it should be -- initialize itself, etc.  Right now, I'm using
a horrible hack of reading in a valid copy of my ENV from a
a earlier save in a valid session.

	Is there any less horrible hack to get around this?

	BTW -- am not getting the warning about DOS paths
when BASH looks for my MAILBOX anymore!  Thanks!

	Note: I am trying to login as the *same* user (not a different
user).  So far, I have had to start inetd manually after login
to have it be in the same 'session', else it starts a new
session with no drives mounted.


	FWIW, I've found using rlogin allows me to use my own
terminal emulator that, unlike cmd.exe, actually supports UTF-8,
and it scrolls (not jump scroll), WAY fast... easily 2-3x using a
windows-type console (as in 'Console2).

Thanks!
-linda

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

