delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.7 required=5.0 tests=AWL,BAYES_00 |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
Subject: | WG: Windows Environment Variables |
X-KeepSent: | 607FEDE8:ADF533A8-C12577E4:0049AC7C; type=4; name=$KeepSent |
Message-ID: | <12743_1290518704_4CEBC0B0_12743_3020_1_OF607FEDE8.ADF533A8-ONC12577E4.0049AC7C-C12577E4.0049B368@nbg.sdv.spb.de> |
From: | rudolf DOT bendl AT extern DOT sdv-it DOT de |
Date: | Tue, 23 Nov 2010 14:25:00 +0100 |
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 |
Hello, I have a problem with Cygwin 1.7.7 and Windows Environment Variables. When login via ssh to a Cygwin Server I only get System Variables, like TEMP or TMP. I'm missing variables that are defined in the registries. Like %Programfiles% or %COMMONPROGRAMFILES% We need this variables because we have some Perl Scripts running that uses this variables. Using the bash.bashrc does not help, because there is ni login procedure. It works fine on a Cygwin Server 1.7.1 $ set ALLUSERSPROFILE='C:\ProgramData' BASH=/bin/bash BASH_ARGC=() BASH_ARGV=() BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="3" [1]="2" [2]="51" [3]="24" [4]="release" [5]="i686-pc-cy in") BASH_VERSION='3.2.51(24)-release' COMMONPROGRAMFILES='C:\Program Files (x86)\Common Files' COMPUTERNAME=D25H1002 COMSPEC='C:\Windows\system32\cmd.exe' CVS_RSH=/bin/ssh CYGWIN=nodosfilewarning DIRSTACK=() EUID=99010 GROUPS=() HISTFILE=/home/a00bend/.bash_history HISTFILESIZE=500 HISTSIZE=500 HOME=/home/a00bend HOMEDRIVE=E: HOMEPATH='\sshprofiles\a00bend' HOSTNAME= HOSTTYPE=i686 IFS=$' \t\n' INFOPATH=/usr/local/info:/usr/share/info:/usr/info: LANG=C.UTF-8 LOGNAME=a00bend LOGONSERVER='\\D25D1002' MACHTYPE=i686-pc-cygwin MAIL=/var/spool/mail/a00bend MAILCHECK=60 MANPATH=/usr/local/man:/usr/share/man:/usr/man: OLDPWD=/home/a00bend OPTERR=1 OPTIND=1 OS=Windows_NT OSTYPE=cygwin PATH='/usr/local/bin:/usr/bin:/bin:/cygdrive/c/Perl/site/bin:/cygdrive/c/Perl/ n:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System3 Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/:/cygdrive/c/sdvadmin 2k3tools:/cygdrive/c/Program Files (x86)/ASDIS/tools/:/cygdrive/c/Program File (x86)/ASDIS/Client/:/usr/bin:/cygdrive/c/Program Files (x86)/PHP/5.2.12:/bin' PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' PIPESTATUS=([0]="0") PPID=588 PRINTER='Microsoft XPS Document Writer' PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' PS2='> ' PS4='+ ' PWD=/home/a00bend SHELL=/bin/bash SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:mo tor SHLVL=1 SSH_CLIENT='10.2.10.163 3851 22' SSH_CONNECTION='10.2.10.163 3851 10.38.2.88 22' SSH_TTY=/dev/tty0 SYSTEMDRIVE=C: SYSTEMROOT='C:\Windows' TERM=cygwin UID=99010 USER=a00bend USERDOMAIN=SDVRZ USERNAME=a00bend USERPROFILE='C:\Users\a00bend' WINDIR='C:\Windows' _=/etc/bash.bashrc f= $ Any ideas? Regards Rudolf -- 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 |