A termcap capability that contains the colon (:) can no
longer be defined using one of the escape methods \072 or \:
in V2.0.8. This problem occurred after the (otherwise
excellent) shrink mechanism has been added. The solution to
the problem is easy, we only need to prevent the colon from
% diff termcap-old.c termcap.c
< if ((c & 0x7f) > 31)
> if ((c & 0x7f) > 31 && c != ':') /* Do not shrink
the colon */
I have sent this report also to hjl.mit.edu and
I have received this email from H.J. Lu:
I no longer maintain libtermcap. I am using ncurses. You may want
to send to RedHat since they still use it.
H.J. Lu (hjl)
Fixed in libtermcap-2.0.8-16 from Raw Hide. Thanks for the patch.