t / t5100 / msg0009on commit tests: factor out terminal handling from t7006 (cc4e48f)
   1This is to fix diff-format documentation.
   2