Add ptytty header file
Add function login_tty() for specific platforms
Merge pull request #182 from ichizok/ptytty

Update ptytty sources