Re: Reading single characters...?

2013-09-23 Thread Simon Brooke
OK, thank you very much chaps. I shall investigate! On Monday, 23 September 2013, John Jacobsen wrote: > The JLine story is indeed confusing. I believe > https://github.com/jline/jline2 is the current one you want ([jline > "2.11"] in your project.clj deps). See the forthcoming Clojure Cookbook

Re: Reading single characters...?

2013-09-22 Thread John Jacobsen
The JLine story is indeed confusing. I believe https://github.com/jline/jline2 is the current one you want ([jline "2.11"] in your project.clj deps). See the forthcoming Clojure Cookbook recipe

Re: Reading single characters...?

2013-09-22 Thread juan.facorro
According to the JLine 's source code (v1.0) in UnixTerminal.java, echo is disabled with the command *stty -echo* which disables all echoing in the console (just tried it i

Reading single characters...?

2013-09-20 Thread Simon Brooke
I've discovered some interesting behaviour - not necessarily a bug, and (if it is a bug) not necessarily a bug in Clojure. Essentially, to emulate a 1970s user interface, I want to read single key strokes from the console. I've found two recipes online, both using the JLine java package: http: