On Tue, Jul 11, 2006 at 02:46:58PM +0100, Dave Korn wrote: > On 11 July 2006 14:12, Harald Anlauf wrote: > > > Corinna, > > Nope, I'm not Corinna! > > > I have now attached the output of cygcheck of my system > > that should be "current" except for cygwin1 which 1.5.19-4. > > > > I have verified that there was and is no other cygwin1.dll, > > neither in PATH nor elsewhere. > > > > #!/usr/bin/csh > > There is no such thing as /usr/bin/csh in the cygwin distribution. > > > cat << EOF > > Hello world! > > EOF > > > > % ./cygwin-csh-bug > > cat: -: Bad file descriptor > > cat: closing standard input: Bad file descriptor > > % echo $? > > 1 > > The cygwin version of the C-shell is called 'tcsh'. You perhaps have some > kind of bogus shell script in /usr/bin that's pretending to be csh and is > attempting to translate and forward the command line args to the real tcsh > and is getting confused?
I know I'm going out on a limb here, but could the csh in /usr/bin be the one created by the tcsh postinstall script? :) Try deleting /usr/bin/csh.exe.lnk and re-running /etc/postinstall/tcsh.sh.done. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/