Initial port to term mode.