starnge behavior command correction in tcsh

Corinna Vinschen corinna@vinschen.de
Mon Jan 17 07:27:00 GMT 2000


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



More information about the Cygwin mailing list