Hi,

On Sat, May 15, 2010 at 03:32:13PM -0700, Jason Smith wrote:

> Okay, so you can actually print password-masked characters.  But I
> can't figure out how to actually do anything I couldn't already do
> with my command-line before JLine, except I can't seem to exit the
> Clojure REPL with CTRL+c.
> 
> I'm curious because I have a number of Java-ish command line
> utilities, and if I can figure out how JLine is supposed to work,
> maybe it could benefit them as well.  But as of now, I am stumped.
> 
> Can someone point me in the right direction or give me a clue?

Besides the already mentioned line editing you also get command history.
For this alone, I'd use it. You might also want to look into rlwrap.

For Ctrl+C: it does not exit the Repl, it shoots your process in the
head. Use Ctrl+D (with JLine or on Unix) or Ctrl+Z Enter (on Windows) to
indicate end of input and shut down the system gracefully.

Sincerely
Meikel

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