On Wed, Sep 23, 2009 at 1:05 PM, Fogus <mefo...@gmail.com> wrote:

> If you're running it with JLine, then the transcript is usually stored
> in ~/.jline-clojure.lang.Repl.history


Actually, that suggests a more general point: that we can have programmatic
access to the REPL's backlog if we modify the REPL process's Java code
somewhat. A simple example would be to make a repl.class that would provide
an interactive stdin/stdout repl but log everything to a ./repl.log file or
whatever. This could be used to obtain a text file with the interaction
history afterward, to massage, cut and paste from, etc. to one's heart's
content in a text editor. Even on MS-DOS, if anyone still uses such a
dinosaur. :)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to