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=u6tuuNhxVYrgoVJA+ftBK/hK3cK2hKHNssjR9+YTpeQ=; b=BljMHcT5SH3k/Iq2ivY5QWI7VX+yppAkNoNCMdIfuyw76QLjYLlBACCIY8gdpd0sl6 eFH6hk56Woc21aKmFcJtD41K3C/gG47Df3qhNnV9TCxQKFJKfVKOe87A2UOA10D5Gmca A9KE8gO1w0J/nvSErqlz+DiC+GtUbl0z/azDGNAxV6MqPLUv+uzzlrVtgA78xr7BiFv6 LC3My+KjGsPcHm/8TgFSUK206u+i/VV9tyCnaDb7IwnTOSr3SwLmbiXr3GmvFVusNSsc eCcyQlRjuA4oY1T5EOI+YNc2Jel03ybLZTU4baR6snP3X59Xf15pRtEWEaiDlXI2+iGZ 5Msw== X-Received: by 10.25.158.134 with SMTP id h128mr24150005lfe.53.1451515044149; Wed, 30 Dec 2015 14:37:24 -0800 (PST) Date: Thu, 31 Dec 2015 01:37:21 +0300 From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user Subject: Re: [geda-user] How to get readline support in gschem REPL? Message-ID: <20151230223721.GH4099@localhost.localdomain> Mail-Followup-To: geda-user References: <20151230185342 DOT GC4099 AT localhost DOT localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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 Precedence: bulk On Wed, Dec 30, 2015 at 10:22:29PM +0100, Svenn Are Bjerkem (svenn DOT bjerkem AT googlemail DOT com) [via geda-user AT delorie DOT com] wrote: > On 30 December 2015 at 19:53, Vladimir Zhbanov (vzhbanov AT gmail DOT com) > [via geda-user AT delorie DOT com] wrote: > > 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. > > Can the REPL in gschem create a netlist? I want to bypass gnetlist, > but I do not know enough about what gschem actually knows. I found > Peter TB Bretts geda-scheme reference and play with the commands I > find there to get aquainted to guile. Sure, because any netlist is just a net list, and we understand that if nets are connected, and we know which functions to use to get aware of their connections, we may do it. I've already mentioned my reverse engineering stuff today [1]. It has several functions which do things you're probably speaking of. (I understand, nobody is able to ever read such a wall of posts in the list.) It's a simple thing I used to gather info on nets for one page and to regenerate missing connections I had after moving components around. It has a bit of geda-scheme functions' use, some useful guile functions, and my (not very beautiful) implementation (I'm just learning scheme :)). If you use emacs, use to look at guile or geda-scheme info manuals. I often use hitting and a regexp like ': fold' to quickly find info on the function I need. Or go to the index page, all (almost all) functions have links to descriptions there. Many functions have built-in info as well, use "(help fold)" to read on them in the REPL. HTH, Vladimir [1] https://github.com/vzh/geda-reverse-netlist