This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] -- merging win-env vars into post-'login'-wiped-ENV
- From: Linda Walsh <cygwin at tlinx dot org>
- To: cygwin at cygwin dot com
- Date: Wed, 14 Jan 2015 19:39:08 -0800
- Subject: Re: [ANNOUNCEMENT] -- merging win-env vars into post-'login'-wiped-ENV
- Authentication-results: sourceware.org; auth=none
- References: <announce dot 20150114124044 dot GD15791 at calimero dot vinschen dot de>
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