From owner-freebsd-hackers Sun Jun 22 19:54:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA06713 for hackers-outgoing; Sun, 22 Jun 1997 19:54:51 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA06703 for ; Sun, 22 Jun 1997 19:54:46 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id MAA14549; Mon, 23 Jun 1997 12:24:20 +0930 (CST) From: Michael Smith Message-Id: <199706230254.MAA14549@genesis.atrad.adelaide.edu.au> Subject: Re: use of readline() In-Reply-To: <199706230243.TAA11566@lestat.nas.nasa.gov> from Jason Thorpe at "Jun 22, 97 07:43:30 pm" To: thorpej@nas.nasa.gov Date: Mon, 23 Jun 1997 12:24:20 +0930 (CST) Cc: msmith@atrad.adelaide.edu.au, hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Jason Thorpe stands accused of saying: > On Mon, 23 Jun 1997 12:05:40 +0930 (CST) > Michael Smith wrote: > > > We also have libedit, however it's significantly more intrusive in terms > > of usage. If readline() was riotously unpopular, this would possibly > > be a workable alternative. > > > > Does anyone actually use libedit for anything? > > We've made use of libedit in NetBSD because it's not GPL'd... and, the > author of libedit is a NetBSD Core member :-) Could the author, or a regular user, of libedit comment on how it might be possible to reduce the spastic amount (code-wise) of overhead required for its use? Is there a straightforward initialisation function that does sensible things such as picking the mode and history size from the environment, allocates the history buffer, etc rather than requiring every consuming application to reinvent the wheel? If not, would said author consent to such a function being added to the library in order to achieve such a goal? This is the only reason that I suggested readline; with the latter all you do is call the sod. > Jason R. Thorpe thorpej@nas.nasa.gov -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[