public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Slashes on WIn95 using bash
@ 1997-09-15  6:25 Larry Hall
  0 siblings, 0 replies; 4+ messages in thread
From: Larry Hall @ 1997-09-15  6:25 UTC (permalink / raw)
  To: Morten Haavaldsen, gnu-win32

At 11:01 AM 9/15/97 +0200, Morten Haavaldsen wrote:
>Hi!
>
>OS: Win95
>
>HOME is set to c:\Morten
>
>Performing ls ~
>gives
>
>c:Morten
>
>Also running the make utility produces same errors with pathnames to
>executables...the slashes are taken away...
>
>Does there exist any variable which can be set ???
>
>Regards,
>Morten
>

I've found ~ is set to the value of HOME prior to any path translation
during the bash startup.  Therefore, the backslash disappears because it
is an escape character in *NIX.  The only solution I've come up with is
to set HOME to a *NIX style name (/Morten in your case) in Windows.  This
will set ~ to /Morten and work as expected.  The downside is that HOME is
not in a suitable format for Windows.  This is acceptable to me as there
are other variables I can use if I need something similar for Windows 
(actually I haven't found such a need yet though.)  The one disclaimer 
I'll make is that I am working on NT 4.0 + SP3.  I don't know if this 
would all live another life in 95....

Larry

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* RE: Slashes on WIn95 using bash
@ 1997-09-15 10:57 Sergey Okhapkin
  0 siblings, 0 replies; 4+ messages in thread
From: Sergey Okhapkin @ 1997-09-15 10:57 UTC (permalink / raw)
  To: gnu-win32, 'Morten Haavaldsen'

Morten Haavaldsen wrote:
> HOME is set to c:\Morten
> 
> Performing ls ~
> gives
> 
> c:Morten
> 
> Also running the make utility produces same errors with pathnames to
> executables...the slashes are taken away...

Use forward slashes instead of backslashes.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: Slashes on WIn95 using bash
@ 1997-09-15  2:50 Colman Curtin
  0 siblings, 0 replies; 4+ messages in thread
From: Colman Curtin @ 1997-09-15  2:50 UTC (permalink / raw)
  To: Morten Haavaldsen, gnu-win32

>Hi!
>
>OS: Win95
>
>HOME is set to c:\Morten
>
>Performing ls ~
>gives
>
>c:Morten
>
>Also running the make utility produces same errors with pathnames to
>executables...the slashes are taken away...
>
slashes are escaped out, either use forward slashes or two back slashes.

Colman.


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Slashes on WIn95 using bash
@ 1997-09-15  1:59 Morten Haavaldsen
  0 siblings, 0 replies; 4+ messages in thread
From: Morten Haavaldsen @ 1997-09-15  1:59 UTC (permalink / raw)
  To: gnu-win32

Hi!

OS: Win95

HOME is set to c:\Morten

Performing ls ~
gives

c:Morten

Also running the make utility produces same errors with pathnames to
executables...the slashes are taken away...

Does there exist any variable which can be set ???

Regards,
Morten

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

end of thread, other threads:[~1997-09-15 10:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-15  6:25 Slashes on WIn95 using bash Larry Hall
  -- strict thread matches above, loose matches on Subject: below --
1997-09-15 10:57 Sergey Okhapkin
1997-09-15  2:50 Colman Curtin
1997-09-15  1:59 Morten Haavaldsen

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