Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!saimiri.primate.wisc.edu!eng.ufl.edu!usenet.ufl.edu!gatech!howland.reston.ans.net!europa.eng.gtefsd.com!wx.gtegsc.com!news.cerf.net!iat.holonet.net!dmahoney From: dmahoney@iat.holonet.net (Daniel C. Mahoney) Subject: kbhit() equivalent under BSD? Message-ID: <C6znG3.7rF@iat.holonet.net> Organization: HoloNet National Internet Access System: 510-704-1058/modem Date: Thu, 13 May 1993 23:19:13 GMT Lines: 17 I'm helping a friend of mine move some MSDOS code to Unix, and we need to write a function equivalent to MS-DOG's kbhit(). We can see how to do this under Sys 5, but it looks like BSD curses doesn't support nobreak(), cbreak(), and a couple of other calls we could use. Any help? Dan Mahoney dmahoney@holonet.com dan@comarco.com -- --------------------------------------------------------------------- Daniel Mahoney, Software Engineer 1-714-282-3828 (voice) Comarco Advanced Technologies Division 1-714-921-2240 (fax) Anaheim, CA dmahoney@holonet.com