latest tcsh build has problems completing ln -s
Corinna Vinschen
corinna-cygwin@cygwin.com
Fri Jul 3 10:39:00 GMT 2015
On Jul 2 19:56, Lester Ingber wrote:
> Since the newest tcsh build on Cygwin (i'm using cygwin64),
> version tcsh 6.19.00 (Astron) 2015-05-21 (x86_64-unknown-cygwin) options
> wide,nls,dl,al,kan,sm,rh,color
> the completion of files using TAB does not work anymore.
> It works fine under bash.
>
> I've inserted [TAB] where I have pressed Tab.
> On tcsh I just get "<link_name> as a response.
> The problem only occurs with trying soft links "ln -s" not hard links "ln".
>
> 12:34:48pm ingber@lesterX1:~% touch tp1
> 12:35:00pm ingber@lesterX1:~% ln -s ./t [TAB]
> <link_name>
> 12:35:00pm ingber@lesterX1:~% ln -s ./tp1 tp2
> 12:35:15pm ingber@lesterX1:~% ls -l
> -rw-r--r-- 1 ingber Users 0 Jul 2 12:35 tp1
> lrwxrwxrwx 1 ingber Users 5 Jul 2 12:35 tp2 -> ./tp1
> 12:38:09pm ingber@lesterX1:~% bash
> [12:38:13 ingber@lesterX1 ~]$ touch tp3
> [12:38:23 ingber@lesterX1 ~]$ ln -s ./tp [TAB]
> tp1 tp2 tp3
> [12:38:23 ingber@lesterX1 ~]$ ln -s ./tp3 tp4
> [12:39:22 ingber@lesterX1 ~]$ ls -l
> -rw-r--r-- 1 ingber Users 0 Jul 2 12:35 tp1
> lrwxrwxrwx 1 ingber Users 5 Jul 2 12:35 tp2 -> ./tp1
> -rw-r--r-- 1 ingber Users 0 Jul 2 12:38 tp3
> lrwxrwxrwx 1 ingber Users 5 Jul 2 12:38 tp4 -> ./tp3
>
> I've compiled the new tcsh on several linux platforms,
> and this problem does not occur.
Yes, it does. I just tested it on Linux and the same problem occurs.
It depends on whether you use the default completions from
/etc/profile.d/complete.tcsh or not. Usually I don't (setting
`uncomplete *' in my .cshrc), neither on Cygwin nor on Linux.
So, yes, if I use the `ln' completion from /etc/profile.d/complete.tcsh,
I can reproduce this problem on Linux and Cygwin with tcsh-6.19,
while it works as expected on tcsh-6.18.
Looks like an upstream bug to me. I'll report it to the maintainer.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150703/e4d87222/attachment.sig>
More information about the Cygwin
mailing list