delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.2 required=5.0 tests=BAYES_00,NUMERIC_HTTP_ADDR,SPF_HELO_PASS,URI_HEX |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Kurt Franke <Kurt-Franke AT web DOT de> |
Subject: | Re: ssh + patch + $TMP |
Date: | Mon, 22 Feb 2010 20:37:49 +0000 (UTC) |
Lines: | 52 |
Message-ID: | <loom.20100222T212522-331@post.gmane.org> |
References: | <1266525566 DOT 7752 DOT 1360709921 AT webmail DOT messagingengine DOT com> <loom DOT 20100219T220113-236 AT post DOT gmane DOT org> <4B806ACA DOT 2030409 AT laposte DOT net> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Cyrille Lefevre <cyrille.lefevre-lists <at> laposte.net> writes: > > > Kurt Franke a écrit : > > I added a script > > > > 0000000-ssh-session-env.sh > > > > to /etc/profile.d/ to fetch the SYSTEM environment and USER environment > > from the registry. > > Some Variables like PATH are preserved. > > > > The login performance via ssh is degraded in comparison without this script. > > do you use regtool or /proc/registry ? > > > If you are interested I can email it to you. > > > > Or is it possible to post it here (Size 4897 Bytes) ? > > Regards, > > Cyrille Lefevre I use /proc/registry and loop through the entries in the environment directories in the form name=`cat $name` All this is written to a .bat file with also added code to write a script out to be sourced to get the environment settings this long way around is used to automatically expand variables in registry keys which may exist in keys of type REG_EXPAND_SZ this is of course also a brake pad for the performance I think for interactive logon this is tolerable But for using it very often in a rsh manner a solution with good performance would be preferred. regards kf -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |