This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] -- merging win-env vars into post-'login'-wiped-ENV


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]