public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* tcsh inheriting path from windows
@ 2004-12-20 16:50 Marc Schafer
  2004-12-20 17:07 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Schafer @ 2004-12-20 16:50 UTC (permalink / raw)
  To: cygwin

I can't get tcsh to correctly inherit my path from windows.  The spaces 
in things like "Program Files" get turned in :'s  If I use bash instead, 
then everything works fine.

I read many of the threads on the mailing list and people seem to 
suggest that you have to remove these from your path or set them 
manually in your .tcsh.

Is there any way to make this work correctly?  Why does it work under 
bash and not tcsh?

thanks,
marc


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: tcsh inheriting path from windows
  2004-12-20 16:50 tcsh inheriting path from windows Marc Schafer
@ 2004-12-20 17:07 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2004-12-20 17:07 UTC (permalink / raw)
  To: cygwin

On Dec 20 08:50, Marc Schafer wrote:
> I can't get tcsh to correctly inherit my path from windows.  The spaces 
> in things like "Program Files" get turned in :'s  If I use bash instead, 
> then everything works fine.
> 
> I read many of the threads on the mailing list and people seem to 
> suggest that you have to remove these from your path or set them 
> manually in your .tcsh.
> 
> Is there any way to make this work correctly?  Why does it work under 
> bash and not tcsh?

tcsh is not bash.  Try

  set path = ( $NEW_PATH:q $path:q )

The ":q" is the secret.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

end of thread, other threads:[~2004-12-20 17:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-20 16:50 tcsh inheriting path from windows Marc Schafer
2004-12-20 17:07 ` Corinna Vinschen

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