| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
| Message-ID: | <001601c241d2$f6d1fe10$2d32a8c0@mmi-pcwic.ids.de> |
| From: | "Andreas Wicker" <Andreas DOT Wicker AT ids DOT de> |
| To: | "Bernd Strobel" <bsmaillists AT gmx DOT de> |
| Cc: | <cygwin AT cygwin DOT com> |
| Subject: | Re: logging in via telnet: no user environment variables; cscript can't be executed |
| Date: | Mon, 12 Aug 2002 09:36:25 +0200 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g7C7aWN30874 |
-----Ursprüngliche Nachricht-----
Von: Bernd Strobel <bsmaillists AT gmx DOT de>
An: Andreas Wicker <Andreas DOT Wicker AT ids DOT de>
Cc: cygwin AT cygwin DOT com <cygwin AT cygwin DOT com>
Datum: Samstag, 10. August 2002 16:04
Betreff: Re: logging in via telnet: no user environment variables; cscript
can't be executed
>
>>
>> When I log into a computer via cygwin telnet, I do get the system
>> environment variables.
>> But I do not get the user environment variables.
>
>
>I tried this in my /etc/profile:
>
>USERENV=/proc/registry/HKEY_CURRENT_USER/Environment
>
>for a in $USERENV/*; do
> echo $a
> name=`basename $a`
> value="`sed -e 's/%\(.*\)%/\$\1/' <$a`"
> eval export $name=\"$value\"
>done
>
Sorry, but I do not understand this.
/proc/registry/HKEY_CURRENT_USER/Environment is a directory, isn't it.
$USERENV/* are the files in this directory.
How do you get the User Environment to be listed as files in this directory?
Regards,
Andreas
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |