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]

WG: Windows Environment Variables


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


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