a simple serial terminal derived from mini term for education purpose