unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* REPL history
@ 2017-03-05 17:06 Vladimir Zhbanov
  2017-03-05 17:57 ` tomas
  0 siblings, 1 reply; 8+ messages in thread
From: Vladimir Zhbanov @ 2017-03-05 17:06 UTC (permalink / raw)
  To: guile-user

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-03-07 14:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-05 17:06 REPL history Vladimir Zhbanov
2017-03-05 17:57 ` 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

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).