Lycander said:conio is NOT a dos thing only. Do a Google search for conio.h and/or conio.c and you'll find a lot on it (as I did). It's available on Linux, so you should be able to tweak it a bit ot get it to work in OSX.
Linux Software Map said:Description: This is a mostly complete implementation of the conio.h for Linux - it was developed to make porting text based DOS applications to Linux easier. It implements all port I/O commands defined in Watcom's conio.h and almost all other I/O commands defined in Borland's conio.h (including: keyboard input, formatted screen output, colors, windows...) using the curses library. This release has some bug fixes and the possibilty to use curses functions mixed with conio functions.