🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #285

Re: How to flush keyboard buffer?

#285
From: Timo Salmi
Date: Fri, 07 Aug 1992 11:17
21 lines
1372 bytes
In article <3721@keele.keele.ac.uk> coa44@seq1.keele.ac.uk (Mark Scase) writes:
>I'm programming in MSDOS with Borland C.  How do you flush the
>internal keyboard buffer?
:
>This is not a FAQ - I've looked.  If someone could tell me the
>solution or even give me an example of C code I'd be eternally

It is a FAQ, but in Turbo Pascal.  I do not have any C code on this,
but if you are interested in TP (the principles are rought similar)
there is some information in
 112730 Jun 13 12:23 garbo.uwasa.fi:/pc/ts/tsfaq29.zip
until someone gives you a proper C view on this.

P.S. Stan, could this really be missing from this groups FAQ?
 36094 Jul 21 16:34 garbo.uwasa.fi:/pc/doc-net/faqp9207.zip

..................................................................
Prof. Timo Salmi
Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
Faculty of Accounting & Industrial Management; University of Vaasa
Internet: ts@uwasa.fi Bitnet: salmi@finfun   ; SF-65101, Finland
Technical Details
Message-ID: <1992Aug7.111719.2080@uwasa.fi>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!uwasa.fi!ts
References: <3721@keele.keele.ac.uk>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!uwasa.fi!ts
From: ts@uwasa.fi (Timo Salmi)
Subject: Re: How to flush keyboard buffer?
Message-ID: <1992Aug7.111719.2080@uwasa.fi>
Keywords: DOS, keyboard buffer
Organization: University of Vaasa, Finland
References: <3721@keele.keele.ac.uk>
Date: Fri, 7 Aug 1992 11:17:19 GMT
Lines: 21