Write base terminal i/o