Serial interface

For qemu with -nographic