I'm looking at the terminal case. It's the difference between running clojure.lang.Repl and clojure.main (which runs a repl by default). The reading done by the latter is intended to be identical to the reading done by the former but isn't in the case of read-line. If anyone sees the fix before I find it, please let me know.
--Steve On Dec 13, 2008, at 10:57 AM, Michel Salim <michel.syl...@gmail.com> wrote: > > > > On Dec 13, 4:26 am, Michel Salim <michel.syl...@gmail.com> wrote: >> Using up-to-date clojure and swank-clojure, I've not been able to use >> read-line: >> >> - In Emacs (with Slime / swank-clojure), (read-line) never stops >> consuming inputs >> >> - Running clojure directly from a terminal console, (read-line) >> always >> returns "" > The terminal case, as it turns out, is what happens if I invoke > clojure using java -jar clojure.jar instead of java -cp clojure.jar > clojure.lang.Repl . Not sure what's causing the Swank problems though. > > -- > Michel > > --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---