Actually, you may have to go through some gyrations to
get a unix/linux
console application to compile under DOS.
Some stuff might go, perhaps... it has to be somewhat simplistic, of
course. Infocom's DOS stuff relied on NANSI.SYS, IIRC, as opposed to
the ordinary text-based screen control code interpreter ANSI.SYS.
That might help some. Plus, I'm fairly sure that there's a curses
library for DOS. I remember porting a number of curses-based games
from comp.sources.games and comp.sources.unix, to VMS,
c. 1992...
surely DOS couldn't be that much harder.
I am trying to re-create the DOS environment of my
youth. :^)
I've had good experiences with 'dosbox' - I was playing 'XCOM' a few
months ago on a Linux system. The DOS version of the game played fine
with a couple of quirks, but nothing that kept me from playing it.
Cheers,
-ethan