From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.user Subject: Re: gh_repl Date: Mon, 09 Jan 2012 22:24:52 +0100 Message-ID: <87ehv8602j.fsf@pobox.com> References: <1316922872.25009.YahooMailNeo@web37901.mail.mud.yahoo.com> <87wr907pa1.fsf@pobox.com> <1326132716.20961.YahooMailNeo@web37903.mail.mud.yahoo.com> <8762gk7mdq.fsf@pobox.com> <1326136591.29328.YahooMailNeo@web37901.mail.mud.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1326144311 13787 80.91.229.12 (9 Jan 2012 21:25:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Jan 2012 21:25:11 +0000 (UTC) Cc: Guile User To: Mike Gran Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jan 09 22:25:04 2012 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RkMiF-0004oS-4w for guile-user@m.gmane.org; Mon, 09 Jan 2012 22:25:03 +0100 Original-Received: from localhost ([::1]:60536 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkMiE-0000BH-Fh for guile-user@m.gmane.org; Mon, 09 Jan 2012 16:25:02 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkMiB-0000BC-3i for guile-user@gnu.org; Mon, 09 Jan 2012 16:25:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkMi9-00067g-Qn for guile-user@gnu.org; Mon, 09 Jan 2012 16:24:59 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:34993 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkMi9-00067W-Mv for guile-user@gnu.org; Mon, 09 Jan 2012 16:24:57 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 146938BAC; Mon, 9 Jan 2012 16:24:57 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=tfR45VG5DPiQ p8nwRSs4/5BzCoE=; b=WOupXhZleAw8F6EM/8EY5OxW+2dc/QE1w0kxaAUzvexG C7ecvjtgjz8jpEIKHxlolvc8NY5MItHlLMIZ9CBySZB0Bbh5I5BZfmYrRWUD5FM0 oJKnXsJAQQrtm3yFGKfPJKw9M5ewmvzpGnbDWtA+x+hLzvDH3hqdGHUw/9x4L2c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=iDLyCf FIiqgqZEESI96Nk9k299DP8mogR3C0hvoHaWPhe8wdKVj0fDen6ukJh9mZ/QkfvF hGxX/7bywOfz3ifccwKUYNuKGdbP+oghrj+3teXTtencsulYEZnnsWZRvFr1G/1o cVaDzILzZvyYvV1ppvt4bGbpnSB6OASVrYcKw= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 0D3978BAB; Mon, 9 Jan 2012 16:24:57 -0500 (EST) Original-Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 69C098BAA; Mon, 9 Jan 2012 16:24:56 -0500 (EST) In-Reply-To: <1326136591.29328.YahooMailNeo@web37901.mail.mud.yahoo.com> (Mike Gran's message of "Mon, 9 Jan 2012 11:16:31 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: 60B06AD6-3B08-11E1-9B05-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9113 Archived-At: On Mon 09 Jan 2012 20:16, Mike Gran writes: >> From: Andy Wingo > =C2=A0>> For guile-2.0, I eventually settled on=20 >>> =C2=A0 >>> scm_call_1 (scm_c_public_ref ("system repl repl",=20 >> "start-repl"), >>> =C2=A0=C2=A0 scm_from_locale_symbol ("scheme")); >>=20 >> This won't catch SIGINT, and it won't add on the session, regex, and >> threads bindings to your guile-user.=C2=A0 Is that what you wanted? >>=20 >> See ice-9/top-repl.scm (which eventually does dispatch to that >> start-repl command). > > Thanks.=C2=A0 I noticed the limitations you mentioned, but, didn't know > what to do about it.=C2=A0 The solution I posted was the=C2=A0first solut= ion > I found from a cursory search of=C2=A0the web. > =C2=A0 > I'll try it out. Sounds like we should have a C function, no? (Sorry, not trying to deluge you in mail here :-) Let's consider this to be an open bug, that we should fix somehow. Andy --=20 http://wingolog.org/