Thanks for the help thus far, everyone! It looks like I have quite a bit of work ahead of me.
I suppose it'd be easier if I wasn't working from a Windows machine to begin with
Due to the refresh rate and the fact that Nethack (and other rogue-like games) are highly keyboard-dependent, I may ultimately decide to point my efforts in a different direction.
However, I'll give this a try so that I can at least say I got it working