Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 2C9199FB375 for ; Sat, 30 Sep 2006 23:18:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 49517-01 for ; Sun, 1 Oct 2006 02:18:00 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from lists.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id C662E9FB20A for ; Sat, 30 Sep 2006 23:17:59 -0300 (ADT) Received: from [192.168.1.50] (or-67-76-146-141.sta.embarqhsd.net [67.76.146.141]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id k912HqlQ008509 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 30 Sep 2006 19:17:53 -0700 Message-ID: <451F2552.7000308@commandprompt.com> Date: Sat, 30 Sep 2006 19:17:54 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Thunderbird 1.5.0.7 (X11/20060918) MIME-Version: 1.0 To: Tom Lane CC: Alvaro Herrera , Stefan Kaltenbrunner , PostgreSQL-development Subject: Re: libedit broke in head References: <451EB194.9090506@commandprompt.com> <15712.1159642857@sss.pgh.pa.us> <451EC216.8060104@kaltenbrunner.cc> <20060930200255.GC20466@alvh.no-ip.org> <16636.1159648616@sss.pgh.pa.us> In-Reply-To: <16636.1159648616@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Sat, 30 Sep 2006 19:17:53 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.135 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200609/2369 X-Sequence-Number: 91897 Tom Lane wrote: > Alvaro Herrera writes: >> I think the switches are confusing ... when you are using libedit, you >> certainly don't want readline as well, so it seems natural to disable >> it. I understand that what --without-readline really does is turn the >> line-editing capability off in general rather than just readline, which >> is confusing. Just to verify. With removing the second switch, were good. It tested and ran clean. > > The documentation could be improved perhaps: > > $ ./configure --help | grep -i edit > --with-libedit-preferred prefer BSD Libedit over GNU Readline > --without-readline do not use GNU Readline / BSD Libedit line editing > $ > > ISTM the second line would be clearer if it read > > --without-readline do not use GNU Readline nor BSD Libedit for editing > > Also, we probably ought to see if we can make the libedit-preferred line > come out second. I really don't get the libedit-preferred syntax? Why not just: --with-libedit use BSD Libedit not GNU Readline --with-readline use GNU Readline not BSD Libedit --without-readline do not use GNU Readline nor BSD Libedit Of course --without-readline is really a misnomer too. But --without-edit doesn't sound right. Sincerely, Joshua D. Drake > > regards, tom lane > -- === The PostgreSQL Company: Command Prompt, Inc. === Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240 Providing the most comprehensive PostgreSQL solutions since 1997 http://www.commandprompt.com/