Initial; PTY and basic emulator