www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/27/19:31:57

Date: Thu, 27 Aug 1998 15:01:21 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Olivier Perron <perron AT art DOT alcatel DOT fr>
cc: djgpp AT delorie DOT com
Subject: Re: Computer freeze when using latest version of vim and bash as inferior shell
In-Reply-To: <Pine.GSO.3.96.980827095958.1201A-100000@rtbsci146s>
Message-ID: <Pine.SUN.3.91.980827145501.6326m-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019