[cvs-nhc98] Add readline functionality to hat-observe commandlines, if