www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/05/03/09:57:42

Date: Mon, 3 May 93 09:10:50 EDT
From: DJ Delorie <dj AT ctron DOT com>
To: bergman AT panix DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: reading keyboard

> I'm trying to port slnr (an offline news-reader) that depends on
> reading a single keystroke without a \n. The unix section of the code
> uses termio and raw mode, the dos (TurboC) uses a getch() function. Any
> suggestions on the best DJGPP equivalent?

Use getkey() and kbhit().

- Raw text -


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