public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* problems with tcsh 6.08.00 port in B20.1
@ 2000-03-04 23:09 Ian Miller
  2000-03-04 23:27 ` $Bill Luebkert
  2000-03-05  2:29 ` Corinna Vinschen
  0 siblings, 2 replies; 4+ messages in thread
From: Ian Miller @ 2000-03-04 23:09 UTC (permalink / raw)
  To: Cygwin Mailing List

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

	$ od
	$ cd ?
	$ which od
	/c/CYGNUS/CYGWIN~1/USR/BIN/od
	$ which cd
	cd:      aliased to cd !*; clear; ls; echo ""
	$ co
	$ c ?
	$ which co
	/c/CYGNUS/CYGWIN~1/USR/LOCAL/BIN/co
	$ which c
	c:       aliased to clear

* set complete = enhance

	$ ls 
	rcs-5.7-cygwin-b20-bin.tar.gz
	rcs-5.7.tar.gz
	$ gunzip rcs-5.7.[TAB]	
	
	- invokes the bell - it won't complete any further than that!
	- but gunzip rcs-5.7-[TAB] does complete
	
Also is there any way of getting completions without the trailing .exe,
which Cygwin doesn't like? e.g.

	$ tc[TAB]  {completes to}
	$ tcsh.exe {which won't run}

I don't know if these problems are specific to the port, or general
tcsh problems - please accept my apologies for the off-topic post 
if it is the latter!

cheers,
ian

-- 
+------------------------------+----------------------------------------------+
| ian miller                   | My other MUA is a GNU.                       |
| ian@gingerspice.demon.co.uk  | http://www.gingerspice.demon.co.uk           |
+------------------------------+----------------------------------------------+

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problems with tcsh 6.08.00 port in B20.1
  2000-03-04 23:09 problems with tcsh 6.08.00 port in B20.1 Ian Miller
@ 2000-03-04 23:27 ` $Bill Luebkert
  2000-03-05  2:37   ` Corinna Vinschen
  2000-03-05  2:29 ` Corinna Vinschen
  1 sibling, 1 reply; 4+ messages in thread
From: $Bill Luebkert @ 2000-03-04 23:27 UTC (permalink / raw)
  To: Ian Miller; +Cc: Cygwin Mailing List

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 :
...
>         $ gunzip rcs-5.7.[TAB]
> 
>         - invokes the bell - it won't complete any further than that!
>         - but gunzip rcs-5.7-[TAB] does complete

I'm using native port and have had problems with the '.' character and file 
completion.  Here's an example (no <CR> entered on any of the following):

<4> l ft
FTP.LOG        FTP.PL         ftp/           ftpsniffer.pl
<4> l ftp.						# added p.
FTP.LOG        FTP.PL         ftpsniffer.pl
<4> l ftp.p						# added p
FTP.PL         ftpsniffer.pl

Notice that only one of these files satisfies the criteria 'ftp.p'.

> Also is there any way of getting completions without the trailing .exe,
> which Cygwin doesn't like? e.g.
> 
>         $ tc[TAB]  {completes to}
>         $ tcsh.exe {which won't run}

This works ok on native.

> I don't know if these problems are specific to the port, or general
> tcsh problems - please accept my apologies for the off-topic post
> if it is the latter!


-- 
  ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
 (_/   /  )    // //       DBE Collectibles   http://www.wgn.net/~dbe/
  / ) /--<  o // //      Mailto:dbe@wgn.net   http://dbecoll.webjump.com/
-/-' /___/_<_</_</_    http://www.freeyellow.com/members/dbecoll/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problems with tcsh 6.08.00 port in B20.1
  2000-03-04 23:09 problems with tcsh 6.08.00 port in B20.1 Ian Miller
  2000-03-04 23:27 ` $Bill Luebkert
@ 2000-03-05  2:29 ` Corinna Vinschen
  1 sibling, 0 replies; 4+ messages in thread
From: Corinna Vinschen @ 2000-03-05  2:29 UTC (permalink / raw)
  To: Ian Miller; +Cc: Cygwin Mailing List

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@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problems with tcsh 6.08.00 port in B20.1
  2000-03-04 23:27 ` $Bill Luebkert
@ 2000-03-05  2:37   ` Corinna Vinschen
  0 siblings, 0 replies; 4+ messages in thread
From: Corinna Vinschen @ 2000-03-05  2:37 UTC (permalink / raw)
  To: $Bill Luebkert; +Cc: Ian Miller, Cygwin Mailing List

"$Bill Luebkert" wrote:
> 
> 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 :
> [...]
> I'm using native port and have had problems with the '.' character and file
> completion.  Here's an example (no <CR> entered on any of the following):
> 
> <4> l ft
> FTP.LOG        FTP.PL         ftp/           ftpsniffer.pl
> <4> l ftp.                                              # added p.
> FTP.LOG        FTP.PL         ftpsniffer.pl
> <4> l ftp.p                                             # added p
> FTP.PL         ftpsniffer.pl
> 
> Notice that only one of these files satisfies the criteria 'ftp.p'.
> [...]

The above examples are using `complete=enhance'. Unset the variable
`complete' and it will work as you have expected.

Regards,
Corinna

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-03-05  2:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-04 23:09 problems with tcsh 6.08.00 port in B20.1 Ian Miller
2000-03-04 23:27 ` $Bill Luebkert
2000-03-05  2:37   ` Corinna Vinschen
2000-03-05  2:29 ` Corinna Vinschen

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).