[Bug 229682] x11/xterm: UTF-8 characters cause the misalignment of tabstops

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 11 02:32:33 UTC 2018


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

            Bug ID: 229682
           Summary: x11/xterm: UTF-8 characters cause the misalignment of
                    tabstops
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ehaupt at FreeBSD.org
          Reporter: kd-dev at pm.me
             Flags: maintainer-feedback?(ehaupt at FreeBSD.org)
          Assignee: ehaupt at FreeBSD.org

In the default configuration of x11/xterm UTF-8 characters cause tabs
that occur after them to be misaligned according to their byte-length:

Observed behavior:
        $ printf 'a\tb\n\302\254\tb\n'
        a       b
        ¬      b

Expected behavior:
        $ printf 'a\tb\n\302\254\tb\n'
        a       b
        ¬       b

Calling `stty tabs' or `stty tab0' beforehand results in the expected
behaviour.

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


More information about the freebsd-ports-bugs mailing list