From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Vladimir Zhbanov Newsgroups: gmane.lisp.guile.user Subject: REPL history Date: Sun, 5 Mar 2017 20:06:31 +0300 Message-ID: <20170305170631.GA4916@localhost.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: blaine.gmane.org 1488733634 12809 195.159.176.226 (5 Mar 2017 17:07:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 5 Mar 2017 17:07:14 +0000 (UTC) User-Agent: Mutt/1.5.23 (2014-03-12) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Mar 05 18:07:09 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ckZch-0002qL-R2 for guile-user@m.gmane.org; Sun, 05 Mar 2017 18:07:07 +0100 Original-Received: from localhost ([::1]:39711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckZcn-0001yz-O7 for guile-user@m.gmane.org; Sun, 05 Mar 2017 12:07:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckZcG-0001xV-5E for guile-user@gnu.org; Sun, 05 Mar 2017 12:06:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckZcC-0005oL-Tb for guile-user@gnu.org; Sun, 05 Mar 2017 12:06:40 -0500 Original-Received: from mail-lf0-x230.google.com ([2a00:1450:4010:c07::230]:34137) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ckZcC-0005nb-Ke for guile-user@gnu.org; Sun, 05 Mar 2017 12:06:36 -0500 Original-Received: by mail-lf0-x230.google.com with SMTP id k202so63758792lfe.1 for ; Sun, 05 Mar 2017 09:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-disposition:user-agent; bh=f6tmDT/yYeEC/4xg+nsH1AHOmPbFE1L+LZb/doQudYo=; b=n3OopqvVI4eZlfdfPzDBH+3ILofts79Zz7SlWsOyVW6AULYiHA2UHTZ/gWzMLQcDsJ TnoWM9w9mI2o6oWKPYfJrSo72yaHxhbqaFxNX91k1F6cFu3O/vVn8UH6CIJ654r2SLJk UHbaNcZ0hPr5RB4lY5XDv+PEtoDud5DcagJ1nBAgB53STv+OKnHmXsSJw0UfZ/ceTihS v53BEG6ivMvBZ/QwPuEsVYcv7KIuypyExGI9iQz5k7Xhlk4xgtF40ydYOnzZziK1kYSq GAMtJfUV7gy1y6duDDrgfmHxS/sD5O6WsMXpl17LZyY1VUA+QSWYQk7Q9+kd+WwvMNmZ omgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :mime-version:content-disposition:user-agent; bh=f6tmDT/yYeEC/4xg+nsH1AHOmPbFE1L+LZb/doQudYo=; b=k4/GMYVQ6ehl/2IG3H68R7he0qeNoDWPhLE2vEyp23GjGHiYunsOg13J0fzq6zlIAr igKW9gFjxQv9srHeFM0teZZg/cI79sCMApdsccShOr7tm5p0eIOE9br49hc2CXCyExQ4 ssrm917LoxZDGkcSH4F7fvzF2hq2SN5GttPhEjt1fJezlW1aBqFlBu/7yNvdZUWkvPq+ LQ4wJ+LSCuaiHv8Nb5CBNr8Y2XUFh5XOn8mzNjJI+TB2jJuh/m6ZGWi4u+XRgpjcRGkQ tfjaXMuXGE78IMmT5C3sDzoIzEx34AsFOG9JGGExCZbvsusoUoCtZDf5mcCLxwLrbw4p jEgw== X-Gm-Message-State: AMke39kTL5+m+xEH/iQFwX97CND6bvW3pGarhjsbhYT7Uk8dDMdx/iPTHnbXaZCJiAKP0A== X-Received: by 10.46.92.8 with SMTP id q8mr4115674ljb.52.1488733593571; Sun, 05 Mar 2017 09:06:33 -0800 (PST) Original-Received: from newvzh.vzh ([213.24.135.223]) by smtp.gmail.com with ESMTPSA id y18sm3666954lja.7.2017.03.05.09.06.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Mar 2017 09:06:33 -0800 (PST) Original-Received: from vovka by newvzh.vzh with local (Exim 4.84_2) (envelope-from ) id 1ckZc7-0007fc-Ns for guile-user@gnu.org; Sun, 05 Mar 2017 20:06:31 +0300 Mail-Followup-To: guile-user@gnu.org Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::230 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.lisp.guile.user:13417 Archived-At: Hi Guile users, Is there any way to use history of work done in a spawned REPL? My GUI application spawns a REPL server in background terminal: (use-modules (system repl server)) (spawn server) Then users manually run: (use-modules (ice-9 readline)) (activate readline) However, after quitting the application, the history is not saved. I always see the history of commands used in guile itself, not one of my app. When I use readline-options, it shows some file is used: scheme@(guile-user)> (readline-options 'history) history-file yes Use history file. history-length 200 History length. bounce-parens 500 Time (ms) to show matching opening parenthesis (0 = off). I don't know which file is used, anyway. Are there any options to get history in spawned REPL? -- Vladimir