cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/03/03:39:24

From: Edward J Sanville <edwards AT hopper DOT unh DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RHIDE and Allegro
Date: Mon, 2 Aug 1999 14:51:54 -0400
Organization: unh.edu
Lines: 53
Message-ID: <Pine.OSF.4.10L.9908021447450.27948-100000@hopper.unh.edu>
References: <Pine DOT OSF DOT 4 DOT 10L DOT 9908012108230 DOT 28418-100000 AT alberti DOT unh DOT edu> <37a4fc76 DOT 8866111 AT newsserver DOT cc DOT monash DOT edu DOT au>
NNTP-Posting-Host: hopper.unh.edu
Mime-Version: 1.0
X-Trace: tabloid.unh.edu 933619918 29233 132.177.137.8 (2 Aug 1999 18:51:58 GMT)
X-Complaints-To: usenet AT tabloid DOT unh DOT edu
NNTP-Posting-Date: 2 Aug 1999 18:51:58 GMT
In-Reply-To: <37a4fc76.8866111@newsserver.cc.monash.edu.au>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

That's the bizzare thing... I tried pressing control after my program ran
to snap the computer out of it, but it didn't work.  However, if I run the
program again, (yes, with control F9), every once ina while (random), the
program will restore everything to its normal state.  But, if I just
accepted all of  this, "Hello World" development would take 3 months.

On Mon, 2 Aug 1999, Davin McCall wrote:

> I don't use RHIDE or Allegro, but I'm willing to hazard a guess as to
> what is happening (I've seen it with other IDEs). You have to hold
> control (and maybe press something else) to run the program, by any
> chance?
> 
> In that case:
> -You press control, BIOS handler detects it and flags it
> -You press the other key, BIOS detects it and passes it to Allegro (as
> a control key, because control is being held)
> -Your program runs, takes over the keyboard handler
> -You release both keys, the Allegro handler is notified (but not the
> BIOS handler)
> -Your program finishes, points handler back at BIOS routine
> -At this point, BIOS still thinks control is being held (ie, it is
> still flagged as 'depressed') because its handler never got a "key
> up".
> 
> The quick fix is to simply press and release control after your
> program has finished. Or, you could wait until control is no longer
> depressed in your program before installing the Allegro keyboard
> handler.
> 
> Davin.
> 
> 
> On Sun, 1 Aug 1999 21:10:58 -0400, Edward J Sanville
> <edwards AT alberti DOT unh DOT edu> wrote:
> 
> >I have RHIDE version 1.4, and Allegro version 3.11.
> >
> >Whenever I try to compile one of my programs, (or even Shawn
> >Hargreaves's), that uses the Allegro keyboard handler, it completely
> >screws up the keyboard when I return to the RHIDE.  It acts like I'm
> >constantly holding down the control key.  Anyone lese have this bizzare
> >problem??  I think it may have started in Allegro version 3.1, and I'm
> >surprised no one else has detected this weird bug.
> >
> >
> 
> __________________________________________________________
>        *** davmac - sharkin'!! davmac AT iname DOT com ***
> my programming page: http://yoyo.cc.monash.edu.au/~davmac/
> 
> 

- Raw text -


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