www.delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=gmail.com; s=20120113; | |
h=date:from:to:subject:message-id:mail-followup-to:references | |
:mime-version:content-type:content-disposition:in-reply-to | |
:user-agent; | |
bh=DwxaqMhI/Lif2k4HDWLSp0XY7CByFw2vma8RUcmuqBQ=; | |
b=fJS+I3oh8Xqgb+Nmbf8ZKq24hcrCPp3HTKkZN/93vFxVrgSNhkY9ccykmadaG3NRI9 | |
VAAsluP/VxTBSsvXqphXZrD66CV1X7+zwD7a4Q5qXz3Mzyr+eHJoSopgR7TdZNtT8WVS | |
0Ynj1qv0qap5j8XTSZNYyPJk2sLkXlv7h1b16f1QwYxlCU9HGEXHOJIqewHHXKrrZvCT | |
XU1b97l0hq6pYID5o/3GnE/pJZzfdO0zi3IC/Gy1AyXbuu0YAo4rkiF4BS/OCKdHGUL1 | |
XMzD+vl2zyHOhPicwgdjJsB8Fdi5Nf4qn8UZh0MjdN22eKv4bDxczQ0gNjWQg65g1u7C | |
jXWQ== | |
X-Received: | by 10.112.161.33 with SMTP id xp1mr23355250lbb.141.1451501625438; |
Wed, 30 Dec 2015 10:53:45 -0800 (PST) | |
Date: | Wed, 30 Dec 2015 21:53:42 +0300 |
From: | "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
To: | geda-user <geda-user AT delorie DOT com> |
Subject: | Re: [geda-user] How to get readline support in gschem REPL? |
Message-ID: | <20151230185342.GC4099@localhost.localdomain> |
Mail-Followup-To: | geda-user <geda-user AT delorie DOT com> |
References: | <CAGde_xN_GRE6+g2sqobRbBxbHrY5jU2PP82w2-aJrLfis7kNPw AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <CAGde_xN_GRE6+g2sqobRbBxbHrY5jU2PP82w2-aJrLfis7kNPw@mail.gmail.com> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Wed, Dec 30, 2015 at 06:51:48PM +0100, Svenn Are Bjerkem (svenn DOT bjerkem AT googlemail DOT com) [via geda-user AT delorie DOT com] wrote: > Hi, > I see that when running gaf shell, I get a REPL with history functions > on the arrow keys. > This is not available in my build of gschem with the newly added REPL > functionality in the background window. Is there some extra configure > option needed, or is this a feature request. > Same goes for the REPL in gnetlist. I think this is the latter :) I didn't dig too deep into it yet, so it is not automatic. You have to type: (use-modules (ice-9 readline)) ; or just ',use (ice-9 readline)', the comma is necessary, ; since ,use is a metacommand ; and then (activate-readline) And be careful. Don't run many repls and try to avoid using C-C, else you may kill your gschem. I think in the future, the better way would be using some key such as guile's --listen to have a possibility to work with gschem's REPL in any terminal (even Emacs' one) without such deficiensies. gaf's and gnetlist's repls always worked for me with readline without having to yield the above commands. (They work other way which I cannot implement yet in gschem for various reasons.) Cheers, Vladimir
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |