Date: Sat, 06 Feb 2010 13:53:55 +0100 From: Gabor Kovesdan <gabor@FreeBSD.org> To: freebsd-current@freebsd.org Subject: Re: HEADSUP: BSDL bc/dc in head Message-ID: <4B6D6663.4070905@FreeBSD.org> In-Reply-To: <4B6AF30B.4040204@bellanet.org> References: <4B57780F.4070907@FreeBSD.org> <4B6970F8.2030807@FreeBSD.org> <90a5caac1002040231i13c2b47mc733947a767d3488@mail.gmail.com> <4B6ACA37.3060807@FreeBSD.org> <4B6AF30B.4040204@bellanet.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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? Of course kgdb gdb et al. will > always be linked against libreadline but there were a few other tools > people seemed surprised to find linked against readline. Under > /usr/[s]bin: ntpdc, ntpq, kadmin, ktutil and under /sbin/: gvinum (?!). > > See this thread: > http://lists.freebsd.org/pipermail/freebsd-current/2009-February/002877.html > > The gvinum code seems like it would be more work but perhaps for someone > familiar with libedit/libreadline issues ntpdc ntpq would be "low hanging > fruit". > > A while back I was frequently building heimdal 1.1 from source, somehow > linking against libedit (I assumed this was correct since I had not > noticed the base heimdal tools were linked against libreadline). > Everything worked fine with -ledit instead of -lreadline as far as I could > tell. Under 8.0 heimdal in base has changed but it is still linked against > readline even though the line editing prompt for kadmin seems fairly basic > and libedit seems to work (BTW does ktutil even provide a line editing > prompt?). There's probably good reasons for this but *perhaps* for > kadmin/ktutil the fruit is not low hanging but already in the basket :) > Probably, the problem is just nobody has taken care of these yet. I'd be interested later if noone solves these before. -- Gabor Kovesdan FreeBSD Volunteer EMAIL: gabor@FreeBSD.org .:|:. gabor@kovesdan.org WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B6D6663.4070905>