This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: starnge behavior command correction in tcsh


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]