Bug 4270 - termcap 2.0.8 & escaped colon
termcap 2.0.8 & escaped colon
Product: Red Hat Linux
Classification: Retired
Component: termcap (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
Depends On:
  Show dependency treegraph
Reported: 1999-07-30 08:32 EDT by ce
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-08-21 13:00:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description ce 1999-07-30 08:32:20 EDT
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
being shrinked:

% 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@gnu.ai.mit.edu and
Comment 1 ce 1999-08-03 20:36:59 EDT
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@gnu.org)
Comment 2 Jeff Johnson 1999-08-21 13:00:59 EDT
Fixed in libtermcap-2.0.8-16 from Raw Hide. Thanks for the patch.

Note You need to log in before you can comment on or make changes to this bug.