Bug 230388 - termcap linux entry incorrect as & ae (alternate charset)
Summary: termcap linux entry incorrect as & ae (alternate charset)
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 11.1-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
Keywords: patch
Depends on:
Reported: 2018-08-05 18:42 UTC by june
Modified: 2019-04-22 18:24 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description june 2018-08-05 18:42:21 UTC
The termcap linux console entry contains incorrect strings for as
& ae (enter & exit alternate charset) which cause curses line-drawing
to appear as the original characters.

Using "tput smacs" and "tput rmacs" on my Linux machine, I found
the correct strings, ^N and ^O. With the following patch I was able
to correctly render curses line-drawing.

--- /usr/share/misc/termcap	2017-08-06 19:08:54.038974000 -0400
+++ termcap	2018-08-05 14:23:36.643969000 -0400
@@ -4567,7 +4567,7 @@
-	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
+	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:\