On Wednesday 03 December 2008 06:27, Stephen C. Gilardi wrote:
> I was just about to do that, Randall. :-)

Yeah, I'm both nosey and impatient...


> clojure.contrib.repl-ln is a repl that supports lines and line
> numbers. Here's a session that demonstrates it.

Thanks. That looks pretty cool. Do I understand from your example that
if I just hit return I get another prompt? I've been meaning to ask for
that.

I'm curious how it interacts with rlwrap in general?

Also, does anybody know how gain any degree or kind of control over
signal handling in Java? Preferably pure Java, but since everything I do
is on Linux, a native-code solution for that platform would be
acceptable.

Rlwrap is quite nice, but aside from handling, say SIGINT (CTRL-C) for
its own purposes, it then passes that on to the wrapped program, and
that ends up just killing the JVM.


Anyway, this happened:

user=> (use 'clojure.contrib.repl-ln)
java.lang.IllegalArgumentException: No matching method: repl (repl_ln.clj:213)


The Clojure invocation I used was:

% java -cp 
/repo/JT/clojure-svn/clojure/clojure.jar:/repo/JT/clojure-svn/clojure-contrib/trunk/src:...
 \
    clojure.lang.Repl


I'm running Clojure SVN 1141 on java version "1.6.0_10-rc2".


> --Steve


Randall Schulz

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to