t / t5100 / msg0006on commit tests: factor out terminal handling from t7006 (cc4e48f)
   1Here is a patch from A U Thor.
   2