nuclear@2: 1. Create 2 pseudoterminals: socat -d -d PTY PTY nuclear@10: 2. start ./eqemu /dev/pts/one nuclear@2: 3. set the php script to use /dev/pts/theother (make sure apache has permission nuclear@2: to rw it). nuclear@10: Try minicom -D /dev/pts/theother with disabled flow control to test it.