public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* starnge behavior command correction in tcsh
@ 2000-01-14  3:41 Marco Welti
  2000-01-14 11:28 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Welti @ 2000-01-14  3:41 UTC (permalink / raw)
  To: 'cygwin@sourceware.cygnus.com'

Hi all

I'm having a little problem with the command correction.
The correction always suggest to take built-in or aliased commands.

For example I have an alias ll 'ls -l'
If I enter ls on the command line I'm always prompted to for correction

mwelti@zug0023d ~~> ls  *

CORRECT>ll  * (y|n|e|a)? 

I'm using the following configuration
from .tcshrc
	set correct = cmd
	set autolist = ambiguous 
	set fignore = (\~ %)
	set complete

So the questions is if this is a bug in tcsh or if it is just a setup
problem

BTW: I'm using B20 and tcsh.curses.6.08.x.00

Best Regards,

Marco Welti
Solutions

The Fantastic Corporation(tm)  
- first in broadband multimedia -

Bahnhofstrasse 12
P.O. Box 1350
CH-6301 Zug, Switzerland
Tel.      +41 41 728 88 88
Direct   +41 41 728 89 56
Fax      +41 41 728 88 12

mailto:marco.welti@fantastic.com
http://www.fantastic.com

Zug - New York - London - Hamburg - Singapore -Lugano
Sydney - Tokyo - Milan - Paris - Washington DC - San Francisco


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

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

* Re: starnge behavior command correction in tcsh
  2000-01-14  3:41 starnge behavior command correction in tcsh Marco Welti
@ 2000-01-14 11:28 ` Corinna Vinschen
  0 siblings, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2000-01-14 11:28 UTC (permalink / raw)
  To: Marco Welti; +Cc: 'cygwin@sourceware.cygnus.com'

Marco Welti wrote:
> [...]
> For example I have an alias ll 'ls -l'
> If I enter ls on the command line I'm always prompted to for correction
> 
> mwelti@zug0023d ~~> ls  *
> 
> CORRECT>ll  * (y|n|e|a)?
> [...]
> So the questions is if this is a bug in tcsh or if it is just a setup
> problem
> 
> BTW: I'm using B20 and tcsh.curses.6.08.x.00

Never seen this.
Maybe, it's related to another setting?

Corinna

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

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

* Re: starnge behavior command correction in tcsh
       [not found] <1F5F2CE7819FD3119835006008F5CDF4247D17@zugitsmxs01>
@ 2000-01-17  7:27 ` Corinna Vinschen
  0 siblings, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2000-01-17  7:27 UTC (permalink / raw)
  To: Marco Welti; +Cc: cygwin

Marco Welti wrote:
> to me it looks like the if tcsh doesn't evaluate the $PATH
> (or the hash-table) before invoking the correction-processor.
> 
> mwelti@zug0023d ~~> which cp
> /usr/local/cygnus/CYGWIN~1/H-I586~1/bin/cp
> mwelti@zug0023d ~~> cp foo bar
> 
> CORRECT>cd foo bar (y|n|e|a)?
> 
> I reduced my .tcshrc to the single line
> set correct = cmd
> but without any success. So I don't think it is a shell-setup-problem.
> 
> Is there anything else I could try?

- In the above example:
  Is cp executed if you enter 'n' on the "CORRECT" line?
- Check if your PATH is correct.
- Check the mount points.
- Try in your bin dir `mv cp.exe cp'

Last but not least:

  unset correct

It's only boring the user, IMHO.

Regards,
Corinna


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

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

end of thread, other threads:[~2000-01-17  7:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-14  3:41 starnge behavior command correction in tcsh Marco Welti
2000-01-14 11:28 ` Corinna Vinschen
     [not found] <1F5F2CE7819FD3119835006008F5CDF4247D17@zugitsmxs01>
2000-01-17  7:27 ` 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).