Merge pull request #80 from Data-hYg/master

Fix: Fallback to internal PTY setup when os.login_tty is unavailable (improves AIX and Solaris support)