This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: pathname with spaces causes problems for tcsh


Pathnames with spaces are a problem, period.  By the time that pushd got the
argument the backslashes had been removed and pushd passed to setenv more than
one argument thus the complaint.

You'll have to modify the source of tcsh to fix this problem.

Earnie.

P.S.: This problem would exist on UNIX if the directory contained spaces.

--- Steve Kelem <kelem@adaptivesilicon.com> wrote:
> I'm running tcsh 6.09.00 from the Cygwin 1.0 release on NT 4.0 SP6.
> When I type
> pushd /c/My\ Download\ Files/Cygnus/Xfree/
> it responds:
> /c/My Download Files/Cygnus/Xfree /
> setenv: Too many arguments.
> % which pushd
> pushd: shell built-in command.
> % pwd
> /c/My Download Files/Cygnus/Xfree
> 
> This indicates that it works, but the complaint is odd.
> 
> Steve Kelem
> > begin:vcard 
> n:Kelem;Steve
> tel;fax:408-399-8905
> tel;work:408-335-2718
> x-mozilla-html:FALSE
> url:http://www.adaptivesilicon.com
> org:Adaptive Silicon, Inc.
> adr:;;985 University Ave., Suite 31;Los Gatos;CA;95032-7639;U.S.
> version:2.1
> email;internet:kelem@adaptivesilicon.com
> title:Chief Scientist
> fn:Steve Kelem
> end:vcard
> 
> > --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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