build a simple shell enviroment.
serial port could response user keying immediately.