Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Aug 2018 18:42:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230388] termcap linux entry incorrect as & ae (alternate charset)
Message-ID:  <bug-230388-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230388

            Bug ID: 230388
           Summary: termcap linux entry incorrect as & ae (alternate
                    charset)
           Product: Base System
           Version: 11.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: june@causal.agency

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 @@
        :co#80:it#8:li#25:\
        :pa#64:Co#8:AF=3D\E[3%dm:AB=3D\E[4%dm:op=3D\E[39;49m:\
        :AL=3D\E[%dL:DC=3D\E[%dP:DL=3D\E[%dM:K2=3D\E[G:\
-       :ae=3D\E[10m:al=3D\E[L:as=3D\E[11m:bl=3D^G:cd=3D\E[J:ce=3D\E[K:\
+       :ae=3D^O:al=3D\E[L:as=3D^N:bl=3D^G:cd=3D\E[J:ce=3D\E[K:\
        :cl=3D\E[H\E[J:cm=3D\E[%i%d;%dH:cr=3D^M:cs=3D\E[%i%d;%dr:\
        :ct=3D\E[3g:dc=3D\E[P:dl=3D\E[M:do=3D^J:ei=3D\E[4l:ho=3D\E[H:\
        :im=3D\E[4h:k1=3D\E[[A:k2=3D\E[[B:k3=3D\E[[C:k4=3D\E[[D:k5=3D\E[[E:\

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230388-227>