loopback working, ptty nearly done