public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin on NT 2000
@ 2000-01-26 16:10 Prabhakar Goyal
  2000-01-26 16:37 ` Bob McGowan
  2000-01-26 16:38 ` Prabhakar Goyal
  0 siblings, 2 replies; 3+ messages in thread
From: Prabhakar Goyal @ 2000-01-26 16:10 UTC (permalink / raw)
  To: cygwin

Is anybody using bash/gmake on NT 2000? By default NT 2000 set TMP variable
to user specific directory which contains ~ . gmake chokes on it.


thanks,
Prabhakar

----------------------------------------------------------------------------
------------------------------------
Prabhakar Goyal                           Voice-mail: (408)-542-1630
Integrated Systems Inc., 201 Moffett Park Drive, Sunnyvale, CA 94089
e-mail: pgoyal@isi.com                 http://www.isi.com
----------------------------------------------------------------------------
------------------------------------


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

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

* Re: Cygwin on NT 2000
  2000-01-26 16:10 Cygwin on NT 2000 Prabhakar Goyal
@ 2000-01-26 16:37 ` Bob McGowan
  2000-01-26 16:38 ` Prabhakar Goyal
  1 sibling, 0 replies; 3+ messages in thread
From: Bob McGowan @ 2000-01-26 16:37 UTC (permalink / raw)
  To: Prabhakar Goyal; +Cc: cygwin

Prabhakar,

I just did a quick check on my system (Cygwin CD 1.0, no updates, NT2K
Server build 2195).  The TMP variable is being set to match the 8.3
conventions of the older dos environment.  If you go to 'Control
Panel->System', select the 'Advanced' tab and then the 'Environment
Variables' button, you will see TMP defined (upper section).  The
definition is a path that contains spaces.  It happens that Windows
(like UNIX) will choke on a single name with spaces, unless it is quoted
or munged to the 8.3 format.  The definition of TMP is not quoted, so to
prevent problems, the system shortens it to the 8.3, using ~# in the 7th
and 8th positions.  The cygwin command cygpath -u "$TMP" resulted in a
path with the ~# preserved, which does not map to a real directory.

You have two choices:

1.  Reset the TMP variable to some other value, either in /etc/profile
or in your personal .profile.

2.  Edit the value in the NT environment section (see above).  The
actual definition is something like "%USERPROFILE%\...  You want to put
double quotes around the entire string.  The value will no longer have
the tilde in it, but the spaces will be preserved, meaning you will
still have problems unless all references to $TMP are quoted (double
quotes).  But at least the path names will be valid.

Bob

Prabhakar Goyal wrote:
> 
> Is anybody using bash/gmake on NT 2000? By default NT 2000 set TMP variable
> to user specific directory which contains ~ . gmake chokes on it.
> 
> thanks,
> Prabhakar
> 
> ----------------------------------------------------------------------------
> ------------------------------------
> Prabhakar Goyal                           Voice-mail: (408)-542-1630
> Integrated Systems Inc., 201 Moffett Park Drive, Sunnyvale, CA 94089
> e-mail: pgoyal@isi.com                 http://www.isi.com
> ----------------------------------------------------------------------------
> ------------------------------------
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

-- 
Bob McGowan
Staff Software Quality Engineer
VERITAS Software
rmcgowan@veritas.com

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

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

* Re: Cygwin on NT 2000
  2000-01-26 16:10 Cygwin on NT 2000 Prabhakar Goyal
  2000-01-26 16:37 ` Bob McGowan
@ 2000-01-26 16:38 ` Prabhakar Goyal
  1 sibling, 0 replies; 3+ messages in thread
From: Prabhakar Goyal @ 2000-01-26 16:38 UTC (permalink / raw)
  To: cygwin

The peoblem is not due to  ~ in the TMP variable defintion. It is the \. The
gmake I am using was compiled with BATCH_MODE_ONLY_SHELL set. When gmake is
trying to execute a generated shell script from TMP, becasue of \,  path to
the shell script is garbled. I am not sure why it did not matter on other
Windows platforms.



----- Original Message -----
From: Prabhakar Goyal <pgoyal@isi.com>
To: <cygwin@sourceware.cygnus.com>
Sent: Wednesday, January 26, 2000 4:10 PM
Subject: Cygwin on NT 2000


> Is anybody using bash/gmake on NT 2000? By default NT 2000 set TMP
variable
> to user specific directory which contains ~ . gmake chokes on it.
>
>
> thanks,
> Prabhakar
>
> --------------------------------------------------------------------------
--
> ------------------------------------
> Prabhakar Goyal                           Voice-mail: (408)-542-1630
> Integrated Systems Inc., 201 Moffett Park Drive, Sunnyvale, CA 94089
> e-mail: pgoyal@isi.com                 http://www.isi.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] 3+ messages in thread

end of thread, other threads:[~2000-01-26 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-26 16:10 Cygwin on NT 2000 Prabhakar Goyal
2000-01-26 16:37 ` Bob McGowan
2000-01-26 16:38 ` Prabhakar Goyal

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