Gabor Kovesdan wrote: > El 2010. 02. 04. 17:17, Graham Todd escribió: >> Hi, sorry to be OT. If libedit can be swapped for libreadline in the >> BSDL bc is it possible to swap them elsewhere? [snip] > Probably, the problem is just nobody has taken care of these yet. I'd be > interested later if noone solves these before. There was some discussion (9-10 years ago) about replacing libreadline with libedit, either as a drop in replacement w/ compatibility layer or in a simpler form for the base system (i.e. other than gdb/kgdb). The good news is that the upstream versions of ntp and heimdal now build using -ledit so everything has happened on its own in the fullness of time :) I guess as they are imported -ledit will gradually become the default for these tools?? I couldn't find any libedit knobs for building ntpq/ntpdc in src, but building the latest ntp release candidate (4.2.6p1-RC5) or development version (4.2.7p19) from source uses libedit with libreadline as a option. ChangeLog:* [Bug 931] Require -lreadline to be asked for explicitly. $ ~/local/src/ntp-dev-4.2.7p19 % ldd ntpq/ntpq | grep libedit libedit.so.6 => /lib/libedit.so.6 (0x280ad000) $ ~/local/src/ntp-dev-4.2.7p19 % ldd ntpdc/ntpdc | grep libedit libedit.so.6 => /lib/libedit.so.6 (0x280af000) Both ktutil and kadmin from heimdal-1.1 and heimdal-1.3.1 work as well. $ ~/local/src/heimdal-1.1 % ldd admin/.libs/ktutil | grep libedit libedit.so.6 => /lib/libedit.so.6 (0x28308000) $ ~/local/src/heimdal-1.1 % ldd kadmin/.libs/kadmin | grep libedit libedit.so.6 => /lib/libedit.so.6 (0x280c3000) $ ~/local/src/heimdal-1.3.1 % ldd admin/.libs/ktutil | grep libedit libedit.so.6 => /lib/libedit.so.6 (0x28279000) $ ~/local/src/heimdal-1.3.1 % ldd kadmin/.libs/kadmin | grep libedit libedit.so.6 => /lib/libedit.so.6 (0x280c4000) I think gvinum had a "libedit" patch at one point but it's likely stale. The patch Xin Li sent for bc/dc makes replacing readline with editline support look easier than it is!! ;-) Anyway a big thanks to you and other developers for your work improving FreeBSD. CheersReceived on Wed Feb 10 2010 - 19:42:10 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC