Date: Fri, 28 Aug 1998 09:37:33 +0200 (MET DST) From: Olivier Perron To: Eli Zaretskii Cc: djgpp AT delorie DOT com Subject: Re: Computer freeze when using latest version of vim and bash as inferior shell In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 27 Aug 1998, Olivier Perron wrote: > On Thu, 27 Aug 1998, Eli Zaretskii wrote: > > > > > On Thu, 27 Aug 1998, Olivier Perron wrote: > > > > > I have sometimes a computer freeze when I use vim version 5.2 with the > > > DJGPP port of bash as inferior shell in a DOS box under Windows 95. > > > > There's a known problem with DJGPP programs that call the __dpmi_yield > > library function in their idle loop. Some rare installations of Windows > > 95 cause DOS box to hang when that function is called after a DJGPP > > program has spawned another DJGPP program. > > > > I can mail you a modified source for __dpmi_yield which works around this > > bug in Windows, but you'd need to rebuild Bash from sources to fix this > > problem. > > > > Ok, I've rebuild bash with the modified source for __dpmi_yield, but > now I can't even do a ls or cat command in bash. If I type ls , > nothing happens and I lost control in the dos box. > > Are you sure you gave me the right source for __dpmi_yield ? > Ok, I had time to take a closer look: if I use the stock DJGPP v2.01 libc.a and add your corrected version of __dpmi_yield, I can type ls and have the output of ls on my screen without loosing control of the dos box. What did happen ? Well, in fact I was using a patched libc.a which came from Thomas Demmer ftp site. I downloaded this patched libc.a the 24th oct 1997. I can't say exactly what was corrected in this libc.a, but a (or more) bug(s) have been introduced which make a buggy version of bash. Now I have to check if I always have problems when using vim under bash.... Regards, Olivier.