delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/25/12:44:42

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
Message-ID: <20020925164428.83889.qmail@web20006.mail.yahoo.com>
Date: Wed, 25 Sep 2002 09:44:28 -0700 (PDT)
From: Joshua Daniel Franklin <joshuadfranklin AT yahoo DOT com>
Subject: Re: cygpath returns garbage if DOS/win2k input environment variable is too long?
To: hauser AT acm DOT org, cygwin AT cygwin DOT com
In-Reply-To: <KJEOKFJJEDMIGBEEJCHCMEBFNDAA.ralfhauser@gmx.ch>
MIME-Version: 1.0

--- Ralf Hauser <ralfhauser AT gmx DOT ch> wrote:
> 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...?

My only thought is to wrap the cygpath command in a shell script:

cygpath --unix $CLASSPATH 2>&1 >>mylog

You might be able to do this within your .tcshrc with a little tweaking.
(Sorry, not a tcsh user.)

cygpath uses the MAXPATH (1024 for win9x??)

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

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