serial buffers and save last command, then echo back