delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/27/21:28:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [206.16.11.200]
From: "C. J." <dusk47 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: RE: TAB-completion and filesystem problem
Date: Thu, 27 Jun 2002 18:27:29 -0700
Mime-Version: 1.0
Message-ID: <F31diixjnzi95HfqR7700000101@hotmail.com>
X-OriginalArrivalTime: 28 Jun 2002 01:27:29.0909 (UTC) FILETIME=[F81C8A50:01C21E42]

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019