[patch] invoking user's preferred shell from cygwin.bat

2005-03-23 Thread Michael Wardle
t shell if the shell field in /etc/passwd is blank as many other Unixes do - uses /bin/bash as the default shell since cygwin.bat uses that as the default Features: - sets argv[0] to the shell's basename prefixed by a hyphen/minus character which makes most common shells switch to &quo

Re: 1.5.13: vim suspend/resume term garbaged

2005-03-26 Thread Michael Wardle
Cory Sharp wrote: I just updated my Cygwin to 1.5.13 and now in vim when I suspend (CTRL-Z or :suspend) then resume (fg), my term is corrupted such that term control sequences (cursor movement, redraw screen, etc) produce only garbage output. What output exactly are you seeing? When I try to resum

Re: 1.5.13: vim suspend/resume term garbaged

2005-03-26 Thread Michael Wardle
Michael Wardle wrote: Cory Sharp wrote: I just updated my Cygwin to 1.5.13 and now in vim when I suspend (CTRL-Z or :suspend) then resume (fg), my term is corrupted such that term control sequences (cursor movement, redraw screen, etc) produce only garbage output. What output exactly are you

Re: 1.5.13: vim suspend/resume term garbaged

2005-03-26 Thread Michael Wardle
Michael Wardle wrote: Michael Wardle wrote: The resumption problem could be a resurfacing of: http://sources.redhat.com/ml/cygwin/2000-07/msg01091.html http://sources.redhat.com/ml/cygwin/2001-01/msg00037.html http://www.cygwin.com/ml/cygwin/2003-05/msg01613.html I wonder if it's also relat

Re: zsh startup oddity

2005-04-01 Thread Michael Wardle
Luke Kendall wrote: (I.e. after starting a login zsh, you'd have to explicitly source ~/.zlogin or whatever). By what mechanism are you ensuring zsh is invoked as a login shell rather than a non-login shell? Does $- include "i"? Does setopt show that interactive is on? With Cygwin 1.5.13, zsh 4.2

Re: ping, nslookup can't resolve names

2005-04-01 Thread Michael Wardle
Rich McNeary wrote: I started trying to ping the other servers in cygwin's bash terminal but the host couldn't be found, nslookup had similar problems. I had a similar problem a few years ago. The problem was one of: - Windows not properly appending the domain name to a plain host name (i.e. a n

Re: zsh startup oddity

2005-04-01 Thread Michael Wardle
Michael Wardle wrote: Luke Kendall wrote: (I.e. after starting a login zsh, you'd have to explicitly source ~/.zlogin or whatever). By what mechanism are you ensuring zsh is invoked as a login shell rather than a non-login shell? Does $- include "i"? Does setopt show that in

Re: problem debugging application that calls getservbyname()

2005-04-03 Thread Michael Wardle
On Sun, 2005-04-03 at 22:22 -0700, Brian Dessent wrote: > int main(char **argv, int argc) That looks a bit weird! -- Michael Wardle <[EMAIL PROTECTED]> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Docu

Re: zsh startup oddity

2005-04-04 Thread Michael Wardle
On Mon, 2005-04-04 at 16:58 +1000, Luke Kendall wrote: > On 1 Apr, Michael Wardle wrote: > > By what mechanism are you ensuring zsh is invoked as a login shell > > rather than a non-login shell? > > I think we were starting it via the cygwin shortcut (cygwin.bat), whi

Re: zsh startup oddity

2005-04-04 Thread Michael Wardle
> I've tried it on my system, and it's working well. I'll get my zsh > colleague to try it out soon. Excellent. The more the merrier! -- Michael Wardle <[EMAIL PROTECTED]> -- 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/