delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/01/01:50:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
From: Vincent Pelletier <plr DOT vincent AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: 1.7.5: sshd environment variables
Date: Sat, 1 May 2010 07:50:10 +0200
User-Agent: KMail/1.12.4 (Linux/2.6.32-3-amd64; KDE/4.3.4; x86_64; ; )
MIME-Version: 1.0
Message-Id: <201005010750.10907.plr.vincent@gmail.com>
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

Hi.

I've just installed cygwin on winxp, for some wine comparative testing.
To make it easier for me, I installed ssh package and started sshd service so 
I could do as much as possible from my main Linux box.

But I noticed the following difference:
- on a windows cygwin term:
  $ cmd /c echo "%ProgramFiles%"
  C:\Program Files
- on an ssh session:
  $ cmd /c echo "%ProgramFiles%"
  %ProgramFiles%
which breaks the script[1] I'm testing.

Is it a bug ?
If not, how can I make ssh session get the same environment variables as a 
"regular" (ie, not remote) cygwin terminal ?

[1] http://code.google.com/p/winezeug/source/browse/trunk/wisotool

Regards,
-- 
Vincent Pelletier

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019