public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: /tmp
@ 2002-12-09 11:20 Vince Hoffman
  2002-12-10  0:20 ` /tmp news
  2002-12-10 10:41 ` /tmp Shankar Unni
  0 siblings, 2 replies; 8+ messages in thread
From: Vince Hoffman @ 2002-12-09 11:20 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

I'm intrigued, where would you have it point then ? c:\temp ? c:\tmp ? (i
dont have either of these on various of the computers i have installed
cygwin on.)
	I suppose "ln -s `echo $TEMP` /tmp" would work but i quite like
having my cygwin specific temp files in a cygwin specific /tmp. 
I would have thought this should be a user choice rather than a default.
(just my 2 cents or whatever that is in pence these days.)

> -----Original Message-----
> From: Earnie Boyd [mailto:earnie_boyd@yahoo.com]
> Sent: 09 December 2002 18:54
> To: Jim
> Cc: cygwin-apps@cygwin.com; cygwin@cygwin.com
> Subject: Re: /tmp
> 
> 
> Wrong list, redirected.  Please remove cygwin-apps@cygwin.com 
> from the 
> distribution when responding.
> 
> Jim wrote:
> > Would be really really nice if /tmp existed as a link that 
> a directory 
> > /tmp weren't created after running setup...
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* RE: /tmp
  2002-12-09 11:20 /tmp Vince Hoffman
@ 2002-12-10  0:20 ` news
  2002-12-10 10:41 ` /tmp Shankar Unni
  1 sibling, 0 replies; 8+ messages in thread
From: news @ 2002-12-10  0:20 UTC (permalink / raw)
  To: cygwin

On 09 Dec 2002, Vince Hoffman <Vince.Hoffman@uk.circle.com>
wrote: 

> I'm intrigued, where would you have it point then ? c:\temp
> ? c:\tmp ? (i dont have either of these on various of the
> computers i have installed cygwin on.)

Probably the same as pointed to by the 'DOS' TMP/TEMP environ 
variable.

>      I suppose "ln -s `echo $TEMP` /tmp" would work but i

ISTR trying this, or something similar, some months ago, but 
Cygwin insisted on restoring the directory when I restarted 
(whether it was when I restarted bash or the computer I don't 
recall).

> I would have thought this should be a user choice
> rather than a default.

Yup, that sounds the best way to me.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: /tmp
  2002-12-09 11:20 /tmp Vince Hoffman
  2002-12-10  0:20 ` /tmp news
@ 2002-12-10 10:41 ` Shankar Unni
  2002-12-11 13:01   ` /tmp Soren A
  1 sibling, 1 reply; 8+ messages in thread
From: Shankar Unni @ 2002-12-10 10:41 UTC (permalink / raw)
  To: cygwin

Vince Hoffman wrote:
> I'm intrigued, where would you have it point then ? c:\temp ? c:\tmp ? 

No, to <cygwin-install-dir>\tmp.  Ditto for /etc.

I had tried this same thing earlier: I was using a mount map where "/" 
was mounted on "c:/" (I have only one disk), and I had a c:/usr 
directory containing symlinks to c:/cygwin/usr/* or c:/cygwin/* as 
appropriate.

And I had /etc -> c:/cygwin/etc, but each time I ran setup, it would 
break this link and create an almost empty directory with just 
setup/last-cache and setup/last-mirror.  Anyway, I gave up the idea soon.

(The reason is because I use a *native* tcsh as my shell, which has some 
NT-specific extensions for filename completion (complete=igncase), 
titlebar setting, etc. But the filename completion is (naturally) 
unaware of cygwin mounts, so I was trying to get the setup to look as 
much like the native structure as possible, while allowing things like 
"man" to still find their files).

Anyway, I've given up that idea, and just deal with the mental bump when 
doing filename completion of something in the cygwin tree. The command 
line does one thing, and "ls" does another...
--
Shankar.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: /tmp
  2002-12-10 10:41 ` /tmp Shankar Unni
@ 2002-12-11 13:01   ` Soren A
  2002-12-12 11:45     ` /tmp Shankar Unni
  0 siblings, 1 reply; 8+ messages in thread
From: Soren A @ 2002-12-11 13:01 UTC (permalink / raw)
  To: cygwin

Shankar Unni <shankar@cotagesoft.com> wrote around 10 Dec 2002
news:at5bsm$9qn$1@main.gmane.org:

> (The reason is because I use a *native* tcsh as my shell, which has
> some NT-specific extensions for filename completion
> (complete=igncase), titlebar setting, etc. But the filename completion
> is (naturally) unaware of cygwin mounts, so I was trying to get the
> setup to look as much like the native structure as possible, while
> allowing things like "man" to still find their files).
>
> Anyway, I've given up that idea, and just deal with the mental bump
> when doing filename completion of something in the cygwin tree. The
> command line does one thing, and "ls" does another...

This is interesting. You are the second person in the last three weeks
who has talked about using this native tcsh shell (the other was
off-List).

I sure wouldn't find it worthwhile to use a different shell (that
doesn't understand what Cygwin has to do with mounts, and so on), but if
there's one thing I've learned, its that you can nenver tell another
person what they should like in a shell. Each to his own.

 Soren A

 -- 
"Work like you don't need the money. Love like you've never been hurt.
Dance like no one is watching."
			   -- unknown



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: /tmp
  2002-12-11 13:01   ` /tmp Soren A
@ 2002-12-12 11:45     ` Shankar Unni
  2002-12-12 13:41       ` completion-ignore-case (was: /tmp) Michael A Chase
  0 siblings, 1 reply; 8+ messages in thread
From: Shankar Unni @ 2002-12-12 11:45 UTC (permalink / raw)
  To: cygwin

Soren A wrote:

 > [...] you can nenver tell another person what they should like in
> a shell. 

Well (sorry for OT drift), the main thing was the case-insensitive 
filename completion, which is invaluable on Windows. I need to look at 
the tcsh source and see if it is implemented within an "#ifdef WIN32" 
like block. It would be nice if the feature was automatically also 
available in the cygwin build of tcsh ..
--
Shankar.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: completion-ignore-case (was: /tmp)
  2002-12-12 11:45     ` /tmp Shankar Unni
@ 2002-12-12 13:41       ` Michael A Chase
  2002-12-12 13:42         ` Shankar Unni
  0 siblings, 1 reply; 8+ messages in thread
From: Michael A Chase @ 2002-12-12 13:41 UTC (permalink / raw)
  To: cygwin, Shankar Unni

On Thu, 12 Dec 2002 11:07:37 -0800 Shankar Unni <shankar@cotagesoft.com> wrote:

> Soren A wrote:
> 
>  > [...] you can nenver tell another person what they should like in
> > a shell. 
> 
> Well (sorry for OT drift), the main thing was the case-insensitive 
> filename completion, which is invaluable on Windows. I need to look at 
> the tcsh source and see if it is implemented within an "#ifdef WIN32" 
> like block. It would be nice if the feature was automatically also 
> available in the cygwin build of tcsh ..

I use case insensitive completion all the time in Cygwin bash.
The following lines in ~/.inputrc control that feature for bash and may
affect other shells that use the same input library.

  # Ignore case while completing
  set completion-ignore-case on

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: completion-ignore-case (was: /tmp)
  2002-12-12 13:41       ` completion-ignore-case (was: /tmp) Michael A Chase
@ 2002-12-12 13:42         ` Shankar Unni
  2002-12-12 13:56           ` Michael A Chase
  0 siblings, 1 reply; 8+ messages in thread
From: Shankar Unni @ 2002-12-12 13:42 UTC (permalink / raw)
  To: cygwin

Michael A Chase wrote:

>   # Ignore case while completing
>   set completion-ignore-case on

Hmm. Thanks!  Now that I RTFM more closely, I also see "set 
complete=enhance". Is there a difference? The latter seems to work as 
I'd expect it to, so I'm now beginning my Big Move To Cygwin Tcsh :-/.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: completion-ignore-case (was: /tmp)
  2002-12-12 13:42         ` Shankar Unni
@ 2002-12-12 13:56           ` Michael A Chase
  0 siblings, 0 replies; 8+ messages in thread
From: Michael A Chase @ 2002-12-12 13:56 UTC (permalink / raw)
  To: cygwin, Shankar Unni

On Thu, 12 Dec 2002 12:12:56 -0800 Shankar Unni <shankar@cotagesoft.com> wrote:

> Michael A Chase wrote:
> 
> >   # Ignore case while completing
> >   set completion-ignore-case on
> 
> Hmm. Thanks!  Now that I RTFM more closely, I also see "set 
> complete=enhance". Is there a difference? The latter seems to work as 
> I'd expect it to, so I'm now beginning my Big Move To Cygwin Tcsh :-/.

I looked in the fine manual for tcsh after I sent my email and found
the same thing.  I don't know if ~/.inputrc applies to tcsh at all.

If you find any other differences between Cygwin and Linux tcsh, they may
be of interest since the intention is to make things as much alike as
practical.

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

end of thread, other threads:[~2002-12-12 20:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-09 11:20 /tmp Vince Hoffman
2002-12-10  0:20 ` /tmp news
2002-12-10 10:41 ` /tmp Shankar Unni
2002-12-11 13:01   ` /tmp Soren A
2002-12-12 11:45     ` /tmp Shankar Unni
2002-12-12 13:41       ` completion-ignore-case (was: /tmp) Michael A Chase
2002-12-12 13:42         ` Shankar Unni
2002-12-12 13:56           ` Michael A Chase

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