http://software.schmorp.de/pkg/libptytty.html
