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/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230388

            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=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:\
        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:K2=\E[G:\
-       :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:\
        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
        :im=\E[4h:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:\

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

help

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