On 4 Apr, luke wrote: > > With Cygwin 1.5.13, zsh 4.2.4-1 and the simple shell invocation utility > > posted to this list on March 24 <[EMAIL PROTECTED]> (which > > sets argv[0] to "-zsh"), zsh recognizes that it is a login shell and > > correctly sources .zprofile. > > Ah! Looks perfect! Thanks, Michael, we'll give that a try.
At first I tried compiling with (gcc) -mno-cygwin, thinking it would be run from inside a Windows DOS environment, so wouldn't have access to cygwin, but that didn't compile. I tried then with -mno-win32 and that worked fine, though I don't understand how it found cygwin1.dll. Is the intent simply to copy shell.exe into /usr/bin? BTW, should you include a copyright and license term comment in shell.c? It would make me feel much more comfortable. I've tried it on my system, and it's working well. I'll get my zsh colleague to try it out soon. Thanks! luke -- 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/