[Bug 247471] devel/libedit
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jun 22 08:38:59 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247471
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 at FreeBSD.org
Reporter: pen at lysator.liu.se
Assignee: bapt at FreeBSD.org
Flags: maintainer-feedback?(bapt at FreeBSD.org)
When building a simple test program (at least when using libedit's readline
compatibility code) it mishandles Unicode characters.
% touch räksmörgås.txt
% cc -I/usr/local/include -DUSE_LIBREADLINE=1 -o tr tr.c -L/usr/local/lib
-lreadline
% ./tr
>räksmörgås.txt
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
18 bytes
(type "r" then TAB for tab-completion).
Also libedit doesn't really allow me to enter non us-ascii characters at all.
This is different behaviour from gnu readline (see the attached simple test
program).
Behavior is the same on FreeBSD 11.3-RELEASE and CURRENT.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list