t / t5100 / rfc2047-info-0003on commit tests: factor out terminal handling from t7006 (cc4e48f)
   1Author: Patrik Fältström
   2Email: paf@nada.kth.se
   3Subject: RFC-HDR care and feeding
   4