The attached patch adds the capability to route simulated UART I/O to a physical serial port on the host running the simulator.
Theoretically, this should work on any POSIX-compliant machine, but I have only tested under linux.
tty.diffs