Since I wrote that article, I think MAME has learned a slightly more convenient way of interacting with PTYs, but I never got around to investigating again.