TAB-completion and filesystem problem
C. J.
dusk47@hotmail.com
Thu Jun 27 21:28:00 GMT 2002
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/
More information about the Cygwin
mailing list