🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #11360

Re: RAWKEYs question: SOLVED

#11360
From: Neil Weinstock
Date: Tue, 07 Feb 1989 03:06
18 lines
1201 bytes
Heisenberg strikes again!

My RAWKEYS reader was hanging when I held a key down.  It dawned on me today
that I was printf()ing (for debugging - HA!) every IDCMP event I got (and forgot
about it because I'm normally on my own screen, with the printf()s going to 
the CLI window).  Sho 'nuff, the keys were repeating faster than printf() 
could keep up, so my program was getting stuck in the GetMsg() loop.

Sigh.

Today's Murphy's Law corollary:
"Debugging is most effectively accomplished immediately after posting the
problem to usenet."

 /.- -- .. --. .- .-. ..- .-.. . ... .- -- .. --. .- .-. ..- .-.. . ...\
/ Neil Weinstock | att!cord!nsw     | "One man's garbage is another     \
\ AT&T Bell Labs | nsw@cord.att.com | man's prune danish." - Harv Laser /
 \.- -- .. --. .- .-. ..- .-.. . ... .- -- .. --. .- .-. ..- .-.. . .../
Technical Details
Message-ID: <691@cord.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ukma!rutgers!att!cord!nsw

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ukma!rutgers!att!cord!nsw
From: nsw@cord.UUCP (Neil Weinstock)
Newsgroups: comp.sys.amiga.tech
Subject: Re: RAWKEYs question:  SOLVED
Summary: "Never mind."
Message-ID: <691@cord.UUCP>
Date: 7 Feb 89 03:06:53 GMT
Distribution: na
Organization: The Flying Squid Patrol
Lines: 18