Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Reply-To: <hauser@acm.org>
From: "Ralf Hauser" <ralfhauser@gmx.ch>
To: <cygwin@cygwin.com>
Cc: <joshuadfranklin@yahoo.com>
Subject: cygpath returns garbage if DOS/win2k input environment variable is too long?
Date: Wed, 25 Sep 2002 17:49:16 +0200
Message-ID: <KJEOKFJJEDMIGBEEJCHCMEBFNDAA.ralfhauser@gmx.ch>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Hi,

The following problem occurred to me:

1) In my win2k, I set (a long) Java CLASSPATH
2) under cygwin I want to convert it (in my .tcshrc) an it fails. If I do it
on the command line, it looks like the following:
rhauser@PCGF590K:~> cygpath --unix "$CLASSPATH"
ô??a?
Admitted, the path is long:
.:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/jre/lib/i1
8n.j
ar:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/jre/lib/j
aws.
jar;/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/jre/lib/
rt.j
ar:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/jre/lib/s
unrs
asign.jar:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/li
b/dt
.jar:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/lib/htm
lcon
verter.jar:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/l
ib/t
ools.jar

My questions:
1) is there a way to see an error-message from cygpath (a log file or some
way to see stderr if there is any of that)?
2) I did a work-around with assembling the path again in my .tcshrc. This is
not convenient. Any better ideas...?

Many thx in advance and rgds Ralf


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

