delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/13/17:51:06

From: "Charles Sandmann" <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Keyboard Lockups
Date: Thu, 13 Apr 2000 16:15:17
Organization: Aspen Technology, Inc.
Lines: 22
Message-ID: <38f5f295.sandmann@clio.rice.edu>
References: <38ED9D75 DOT 13827ACF AT is DOT elta DOT co DOT il>
NNTP-Posting-Host: dcloan.hou.aspentech.com
X-Trace: selma.aspentech.com 955661033 29630 10.32.115.107 (13 Apr 2000 21:23:53 GMT)
X-Complaints-To: postmaster AT aspentech DOT com
NNTP-Posting-Date: 13 Apr 2000 21:23:53 GMT
X-NewsEditor: ED-1.5.8
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> Raymond Martineau wrote:
> > Under MS-DOS 7.0 (Windows 95 in Dos mode), I encounter keyboard
> > lockups when I quit a program compiled by a recent version of DJGPP.
> > When I either press or release a key during a split second window of
> > the program terminating, the keyboard completely locks up, and does
> > not respond.
> 
Eli Responds:
> I have never seen such problems, and neither did anyone else complained about
> this, ever.

I saw this behavior under V2.01 on a 486/33 under DOS (and no other system).  It 
was infrequent but common enough to be a real pain.  V2.00 didn't do this.  I
didn't have time to investigate and I didn't use the system very often.  But
I don't think it's completely uncommon.  It would happen on all programs
built with V2.01 that I tested, even simple "hello world" ones if I ran them
frequently enough.

Since the CTRL-C handler hooks the HW interrupt for the keyboard, I tried 
to disable this and the symptoms went away.  So I'm sure it was some strange
window of vunerability at exit.  I have no idea if this still exists in recent
versions.

- Raw text -


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