From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jon Wilson Newsgroups: gmane.lisp.guile.user Subject: Re: readline eats previous text on line Date: Thu, 28 Sep 2006 16:08:48 -0500 Message-ID: <451C39E0.2070204@fastmail.fm> References: <451AEC75.90200@fastmail.fm> <87y7s4ahvc.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1159477728 27226 80.91.229.2 (28 Sep 2006 21:08:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Sep 2006 21:08:48 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Sep 28 23:08:45 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GT37T-0003nJ-BF for guile-user@m.gmane.org; Thu, 28 Sep 2006 23:08:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GT37S-0005O5-A6 for guile-user@m.gmane.org; Thu, 28 Sep 2006 17:08:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GT37L-0005Md-Ei for guile-user@gnu.org; Thu, 28 Sep 2006 17:08:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GT37G-0005Hs-TD for guile-user@gnu.org; Thu, 28 Sep 2006 17:08:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GT37G-0005Ho-MX for guile-user@gnu.org; Thu, 28 Sep 2006 17:08:22 -0400 Original-Received: from [131.225.111.12] (helo=mailgw2.fnal.gov) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GT3CQ-0006pD-Pd for guile-user@gnu.org; Thu, 28 Sep 2006 17:13:42 -0400 Original-Received: from mailav2.fnal.gov (mailav2.fnal.gov [131.225.111.20]) by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with SMTP id <0J6B00M67MNVN2@mailgw2.fnal.gov> for guile-user@gnu.org; Thu, 28 Sep 2006 16:08:20 -0500 (CDT) Original-Received: from mailgw2.fnal.gov ([131.225.111.12]) by mailav2.fnal.gov (SAVSMTP 3.1.7.47) with SMTP id M2006092816082018441 for ; Thu, 28 Sep 2006 16:08:20 -0500 Original-Received: from conversion-daemon.mailgw2.fnal.gov by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) id <0J6B00E01MM6XD@mailgw2.fnal.gov> (original mail from j85wilson@fastmail.fm) for guile-user@gnu.org; Thu, 28 Sep 2006 16:08:20 -0500 (CDT) Original-Received: from [192.168.0.2] (cpe-24-162-120-52.hot.res.rr.com [24.162.120.52]) by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with ESMTPSA id <0J6B00MT7MPUCI@mailgw2.fnal.gov>; Thu, 28 Sep 2006 16:08:20 -0500 (CDT) In-reply-to: <87y7s4ahvc.fsf@zip.com.au> Original-To: Kevin Ryde X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050324) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5559 Archived-At: Hi Kevin, > It might be as simple as > > (readline "foo: ") > > Not sure if that's meant to be documented, seems like a pretty > sensible usage, even if reading current-input-port might be usual. Sorry, I think I misunderstood you before. I thought you had gotten confused between `read-line' and `readline'. `readline' is not documented, so I thought it did not exist. But, now that I actually try what you said instead of what I misinterpreted it as, sure enough, such a function does exist, and it works as expected. Thanks, Jon _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user