A minimal serial terminal emulator