public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "C. J." <dusk47@hotmail.com>
To: cygwin@cygwin.com
Subject: RE: TAB-completion and filesystem problem
Date: Thu, 27 Jun 2002 21:28:00 -0000	[thread overview]
Message-ID: <F31diixjnzi95HfqR7700000101@hotmail.com> (raw)


I think this is a lame 'feature' of tcsh.
If you start your cmdline with 'cp' or 'mv',
it refuses to tab-complete the 2nd argument,
maybe to prevent you from accidently overwriting
a file by forcing you to type the full name.
I wish there was a way to disable this.

-------------------
I encounter a strange behaviour with cygwin.
I am in $HOME.

Nom@snoop ~
$ ls -ld musique MPlayer/
drwxr-xr-x   26 Nom      544             0 Jun 28
01:03 MPlayer/
lrwxrwxrwx    1 Nom      544           145 Jun 28
01:33 musique -> /cygdrive/c/M
es documents/Ma musique/

in MPlayer the file etc/input.conf exists :
$ ls -ld MPlayer/etc/input.conf
-rw-r--r--    1 Nom      544          1201 Mar 19
14:27 MPlayer/etc/input.conf

I go in musique (also symbolic link) and hit this :
cp ../MPlayer/etc/inp and press TAB to complete the
name.
then appears this, as waited :
$ cp ../MPlayer/etc/input.conf
but the result of
cp ../MPlayer/etc/input.conf / is :
$ cp ../MPlayer/etc/input.conf /
cp: cannot stat `../MPlayer/etc/input.conf': No such
file or directory

so the problem is : TAB completion finds the file, but
cp doesn't.


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
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/

             reply	other threads:[~2002-06-28  1:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-27 21:28 C. J. [this message]
2002-06-28  3:07 ` Corinna Vinschen
  -- strict thread matches above, loose matches on Subject: below --
2002-06-30 19:42 Sylvain Petreolle
2002-06-29  3:14 C. J.
2002-06-29  8:48 ` Corinna Vinschen
2002-06-27 21:06 Sylvain Petreolle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F31diixjnzi95HfqR7700000101@hotmail.com \
    --to=dusk47@hotmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).