Mail Archives: djgpp/1998/08/27/19:31:57
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.
Alternatively, try to re-install Windows 95. Sometimes a new
installation might solve such problems if it replaces the VxD(s) that
cause this problem.
> Till now, I've not discovered a regular sequence under vim wich will
> systematically trig the problem. I still have the feeling that it occurs
> randomly.
> Sometimes I can do a complete edit session without problem, and sometimes
> I get a freeze after a few seconds or when I want to save and quit.
If this is the problem I have in mind, the way to reproduce it is to
spawn Bash from within VIM, or after you have run some other DJGPP
program from within VIM. Even shelling out of VIM to DOS and then
running Bash should wedge the DOS box.
- Raw text -