delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/25/11:57:43

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
Date: Wed, 25 Sep 2002 11:57:48 -0400
From: Christopher Faylor <cgf-patches-gratefully-etc AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygpath returns garbage if DOS/win2k input environment variable is too long?
Message-ID: <20020925155748.GB2374@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <KJEOKFJJEDMIGBEEJCHCMEBFNDAA DOT ralfhauser AT gmx DOT ch>
Mime-Version: 1.0
In-Reply-To: <KJEOKFJJEDMIGBEEJCHCMEBFNDAA.ralfhauser@gmx.ch>
User-Agent: Mutt/1.4i

On Wed, Sep 25, 2002 at 05:49:16PM +0200, Ralf Hauser wrote:
>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 AT 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...?

Fix cygpath?

cgf

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

- Raw text -


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