>What's pty good for? I wrote the first versions of pty so that I could run pty nethack inside a script which would keep rerolling characters until I had both a ring of polymorph and a ring of polymorph control
Funny I wrote the same kind of start-scumming script against nethack.org using Python and pexpect.
Funny I wrote the same kind of start-scumming script against nethack.org using Python and pexpect.