From: Vladimir Zhbanov <vzhbanov@gmail.com>
To: guile-user@gnu.org
Subject: REPL history
Date: Sun, 5 Mar 2017 20:06:31 +0300 [thread overview]
Message-ID: <20170305170631.GA4916@localhost.localdomain> (raw)
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
next reply other threads:[~2017-03-05 17:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-05 17:06 Vladimir Zhbanov [this message]
2017-03-05 17:57 ` REPL history tomas
2017-03-06 19:15 ` Vladimir Zhbanov
2017-03-06 20:29 ` tomas
2017-03-06 20:48 ` Andy Wingo
2017-03-06 21:44 ` Vladimir Zhbanov
2017-03-07 9:23 ` Andy Wingo
2017-03-07 14:44 ` Vladimir Zhbanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170305170631.GA4916@localhost.localdomain \
--to=vzhbanov@gmail.com \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).