Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!uunet!infonode!fordke From: fordke@infonode.ingr.com (Keith Ford x8614) Newsgroups: comp.os.msdos.programmer Subject: wait for a keystroke Message-ID: <1990Dec7.151624.19695@infonode.ingr.com> Date: 7 Dec 90 15:16:24 GMT Organization: Intergraph Corp. Huntsville, AL Lines: 13 I am writing a program for my daughter where I have an animated character that moves whenever "any" key is pressed. The key press simply causes to chatacter to continue along it's programmed path. If she decides to hold a key down forever, I would like for that to be ignored and to not fill up the buffer and start beeping, but just let me know when a key has been pressed when I ask. I.E. a key press is what causes the action to continue. Any help would be appreciated. -- | ...!uunet!ingr!fordke OR fordke@ingr.com | Micro Magic BBS (Fidonet: 1:373/12, MaBell: +1 205 830 2362) | "and the Trees are all kept equal by hatchet, axe, and saw." -Rush