X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 User-Agent: Thunderbird MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] -- merging win-env vars into post-'login'-wiped-ENV References: In-Reply-To: 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