Recently needed a kbhit() function while converting a Turbo C program and found this article by Alan Cox:
Porting DOS Applications to Linux
which also covered numerous factors for DOS conversions. Very handy.