Huge readline history file #80

Closed
stirfoo opened this Issue Mar 21, 2012 · 3 comments

3 participants

@stirfoo

My ~/.clojurepyhist file is almost 400Mb.

Looks like it's growing exponentially each session by appending a duplicate + the new history you just typed.

@eigenhombre

I tried duplicating this w/ the current master and was not able to.

@stirfoo

It's odd, no doubt. I use rlwrap all the time and have never ran into this problem.

@bluepeppers

It could be because clojure.main.main calls enable_readline, and clojure.py also calls enable_readline, before then running clojure.main.main. Removing the call to enable_readline in clojure.py would fix it (there was a pull request a few days ago that made clojure.main call enable_readline, so I guess it's needed in there for some reason).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment