From owner-freebsd-current@FreeBSD.ORG Sat Feb 6 12:54:10 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 517551065679 for ; Sat, 6 Feb 2010 12:54:10 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id 06D6E8FC17 for ; Sat, 6 Feb 2010 12:54:09 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id C1A8614DA57E for ; Sat, 6 Feb 2010 13:54:07 +0100 (CET) X-Virus-Scanned: amavisd-new at server.mypc.hu Received: from server.mypc.hu ([127.0.0.1]) by server.mypc.hu (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WphmxhEZTsct for ; Sat, 6 Feb 2010 13:53:58 +0100 (CET) Received: from [192.168.1.105] (catv-89-132-179-104.catv.broadband.hu [89.132.179.104]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id 10D2214DA56A for ; Sat, 6 Feb 2010 13:53:57 +0100 (CET) Message-ID: <4B6D6663.4070905@FreeBSD.org> Date: Sat, 06 Feb 2010 13:53:55 +0100 From: Gabor Kovesdan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; es-ES; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <4B57780F.4070907@FreeBSD.org> <4B6970F8.2030807@FreeBSD.org> <90a5caac1002040231i13c2b47mc733947a767d3488@mail.gmail.com> <4B6ACA37.3060807@FreeBSD.org> <4B6AF30B.4040204@bellanet.org> In-Reply-To: <4B6AF30B.4040204@bellanet.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: HEADSUP: BSDL bc/dc in head X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2010 12:54:10 -0000 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