[cvs-nhc98] patch applied (hat): Fix interaction of Hat tools with new " xterm" .