Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2020 08:38:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 247471] devel/libedit
Message-ID:  <bug-247471-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 247471
           Summary: devel/libedit
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bapt@FreeBSD.org
          Reporter: pen@lysator.liu.se
          Assignee: bapt@FreeBSD.org
             Flags: maintainer-feedback?(bapt@FreeBSD.org)

When building a simple test program (at least when using libedit's readline
compatibility code) it mishandles Unicode characters.

% touch r=C3=A4ksm=C3=B6rg=C3=A5s.txt

% cc -I/usr/local/include -DUSE_LIBREADLINE=3D1 -o tr tr.c -L/usr/local/lib
-lreadline
% ./tr
>r=C3=A4ksm=C3=B6rg=C3=A5s.txt=20
18 bytes

% cc -I/usr/local/include -DUSE_LIBEDIT -o tr tr.c -L/usr/local/lib -ledit
% ./tr
>r\U+00C3\U+00A4ksm\U+00C3\U+00B6rg\U+00C3\U+00A5s.txt=20
18 bytes

(type "r" then TAB for tab-completion).

Also libedit doesn't really allow me to enter non us-ascii characters at al=
l.

This is different behaviour from gnu readline (see the attached simple test
program).=20

Behavior is the same on FreeBSD 11.3-RELEASE and CURRENT.

--=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-247471-7788>