It works! This provides an MVP which should be good enough for testing, enough functionality to support TTYEscape at least.