delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/05/05:31:24

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <38C23708.BC6C0CC@vinschen.de>
Date: Sun, 05 Mar 2000 11:29:28 +0100
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: Ian Miller <ian AT gingerspice DOT demon DOT co DOT uk>
CC: Cygwin Mailing List <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: problems with tcsh 6.08.00 port in B20.1
References: <38C20829 DOT B1BD3FCF AT gingerspice DOT demon DOT co DOT uk>

Ian Miller wrote:
> Hi, I've observed the following (minor) problems with Corinna Vinschen's
> tcsh 6.08.00 port in conjuction with B20.1 :
> 
> * set correct = cmd
> [...]

AFAICS, correction works ok. I'm not using it but I have checked
it out. The problem is as follows:

Your od is not named od but od.exe

The correction mechanism checks that "od" is unexistant and
that a command "cd" is similar. No doubt, the similarity of
"cd" to "od is greater than that of "od.exe" to "od".

You can solve this by renaming each `foo.exe' to `foo'.
In this case you have to give `foo' explicit execute
permission in opposite to `foo.exe' which has implicit
execute permissions given by cygwin.

This has the advantage that the command completion can't
complete the `.exe' but as a result you can't start these
apps from command.com resp. cmd.exe.

You can give those exe-free files explicit execute permissions
by three ways:

NT or W2K:
	CYGWIN=ntea, chmod +x foo

NT or W2K on NTFS, using Cygwin 1.0 CD or newer snapshots:
	CYGWIN=ntsec, chmod +x foo

9X, NT, W2K, using Cygwin 1.0 CD (???) or newer snapshots:

	mount -x Drive:/your/bin/dir /your/bin

> * set complete = enhance
> 
>         $ ls
>         rcs-5.7-cygwin-b20-bin.tar.gz
>         rcs-5.7.tar.gz
>         $ gunzip rcs-5.7.[TAB]
> [...]

It seems to me as if the completion mode `enhance' is not
what you want, because it's exactly doing what it should do.

One tip: man tcsh, then search for `enhance'.

Unsetting the variable `complete' seems to exactly doing what
you want.

Regards,
Corinna

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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