public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: pathname with spaces causes problems for tcsh
@ 2000-03-21 12:52 Earnie Boyd
  2000-03-21 13:10 ` Christos Zoulas
  0 siblings, 1 reply; 7+ messages in thread
From: Earnie Boyd @ 2000-03-21 12:52 UTC (permalink / raw)
  To: Steve Kelem, Cygwin, christos

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: pathname with spaces causes problems for tcsh
@ 2000-03-21 13:03 Halim, Salman
  0 siblings, 0 replies; 7+ messages in thread
From: Halim, Salman @ 2000-03-21 13:03 UTC (permalink / raw)
  To: Cygwin

i wonder if the problem is resolved if quotes are used instead of
backslashes?  (i use bash so can't check this; it works either way on bash.)

-- 
   ===============================================================
   Salman Halim                 Email:  salman@bluestone.com
   ===============================================================
   If a man  says something  in a forest,  and there  are no women
   around to hear him, is he still wrong?


> -----Original Message-----
> From: Earnie Boyd [ mailto:earnie_boyd@yahoo.com ]
> Sent: Tuesday, March 21, 2000 3:52 PM
> To: Steve Kelem; Cygwin; christos@zoulas.com
> Subject: 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
> 

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* pathname with spaces causes problems for tcsh
@ 2000-03-21 11:35 Steve Kelem
  0 siblings, 0 replies; 7+ messages in thread
From: Steve Kelem @ 2000-03-21 11:35 UTC (permalink / raw)
  To: Cygwin, christos

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-03-21 13:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-21 12:52 pathname with spaces causes problems for tcsh Earnie Boyd
2000-03-21 13:10 ` Christos Zoulas
2000-03-21 13:37   ` Chris Faylor
2000-03-21 13:53   ` Bob McGowan
2000-03-21 13:57     ` Chris Faylor
  -- strict thread matches above, loose matches on Subject: below --
2000-03-21 13:03 Halim, Salman
2000-03-21 11:35 Steve Kelem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).