librelist archives

« back to archive

Fw: Steps To Get Control Keys To Work On Lein2

Fw: Steps To Get Control Keys To Work On Lein2

From:
Charles Norton
Date:
2013-03-09 @ 13:18
I'm using lein on Linux, both CentOS and Red Hat.

Lein2 works fine for me except neither delete nor the standard ctrl+a, 
control+k, control+e keys work at all. The control keys work fine using 
lein1.

I am looking for suggestions on what to clean up. Should I purge the .lein
directory? What else is their to try?


I've tried upgrading existing lein users on my Linux box, and installing 
lein2 for a user new to leiningen.


lein2 builds and does all that just fine, just like lein1. Only the keys 
don't work.

I'll use lein2 the way it is, but will just have to get creative.


Thanks.
 
Charles M Norton
Database Programmer/Systems Integrator

Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2

From:
Colin Jones
Date:
2013-03-09 @ 13:37
I take it you're referring to the repl task? The rest of this email assumes
that you are.

The ~/.inputrc file is where these settings are configured. If so, are
there some keys that do work? Ctrl-p/ctrl-n/ctrl-r/arrows/ctrl-b/ctrl-f?

What exact lein version? 2.0.0 final?

What output do you see when you set this environment variable?
export JLINE_LOGGING=trace

Lein2 repl uses REPLy, which uses jline2, so there is more detail on their
github page: https://github.com/jline/jline2

There is a known issue in 2.0.0 that sometimes
prevents the home/end and arrow keys from
doing the right thing by default on Ubuntu, but
there's a fix for that in my patched jline release,
and copying /etc/inputrc into ~/.inputrc is a
workaround that has worked for others.





On Saturday, March 9, 2013, Charles Norton wrote:

> I'm using lein on Linux, both CentOS and Red Hat.
>
> Lein2 works fine for me except neither delete nor the standard ctrl+a,
> control+k, control+e keys work at all. The control keys work fine using
> lein1.
>
> I am looking for suggestions on what to clean up. Should I purge the .lein
> directory? What else is their to try?
>
> I've tried upgrading existing lein users on my Linux box, and installing
> lein2 for a user new to leiningen.
>
> lein2 builds and does all that just fine, just like lein1. Only the keys
> don't work.
>
> I'll use lein2 the way it is, but will just have to get creative.
>
> Thanks.
>
> Charles M Norton
> Database Programmer/Systems Integrator
>
>
>

-- 
Colin Jones
@trptcolin

Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2

From:
Charles Norton
Date:
2013-03-09 @ 13:52
Sorry, I forgot to mention the control key problems are with lein repl.

Here is version and repl information.
cnorton@steamboy:~/projects/clojure/addr-verify$ lein version
Leiningen 2.0.0 on Java 1.6.0_27 OpenJDK Client VM
cnorton@steamboy:~/projects/clojure/addr-verify$ 

nREPL server started on port 43109
REPL-y 0.1.9
Clojure 1.2.1
    Exit: Control+D or (exit) or (quit)
Commands: (user/help)
    Docs: (doc function-name-here)
          (find-doc "part-of-name-here")
  Source: (source function-name-here)
          (user/sourcery function-name-here)
 Javadoc: (javadoc java-object-or-class-here)
Examples from clojuredocs.org: [clojuredocs or cdoc]
          (user/clojuredocs name-here)
          (user/clojuredocs "ns-here" "name-here")




 
Charles M Norton
Database Programmer/Systems Integrator


________________________________
 From: Colin Jones <trptcolin@gmail.com>
To: leiningen@librelist.com 
Sent: Saturday, March 9, 2013 8:37 AM
Subject: Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
 

I take it you're referring to the repl task? The rest of this email 
assumes that you are.

The ~/.inputrc file is where these settings are configured. If so, are 
there some keys that do work? Ctrl-p/ctrl-n/ctrl-r/arrows/ctrl-b/ctrl-f?

What exact lein version? 2.0.0 final?


What output do you see when you set this environment variable? 
export JLINE_LOGGING=trace

Lein2 repl uses REPLy, which uses jline2, so there is more detail on their
github page: https://github.com/jline/jline2

There is a known issue in 2.0.0 that sometimes 
prevents the home/end and arrow keys from 
doing the right thing by default on Ubuntu, but 
there's a fix for that in my patched jline release, 
and copying /etc/inputrc into ~/.inputrc is a 
workaround that has worked for others.





On Saturday, March 9, 2013, Charles Norton  wrote:

I'm using lein on Linux, both CentOS and Red Hat.
>
>Lein2 works fine for me except neither delete nor the standard ctrl+a, 
control+k, control+e keys work at all. The control keys work fine using 
lein1.
>
>I am looking for suggestions on what to clean up. Should I purge the 
.lein directory? What else is their to try?
>
>
>I've tried upgrading existing lein users on my Linux box, and installing 
lein2 for a user new to leiningen.
>
>
>
>lein2 builds and does all that just fine, just like lein1. Only the keys 
don't work.
>
>I'll use lein2 the way it is, but will just have to get creative.
>
>
>
>Thanks.

>Charles M Norton
>Database Programmer/Systems Integrator
>
>

-- 
Colin Jones
@trptcolin

Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2

From:
Colin Jones
Date:
2013-03-09 @ 14:09
Do you have JLINE_LOGGING=trace exported before starting the repl there? It
doesn't look like it - or maybe you have an old version of jline on
your classpath, either via project.clj or other means?

What's in your ~/.inputrc?



On Saturday, March 9, 2013, Charles Norton wrote:

> Sorry, I forgot to mention the control key problems are with lein repl.
>
> Here is version and repl information.
> cnorton@steamboy:~/projects/clojure/addr-verify$ lein version
> Leiningen 2.0.0 on Java 1.6.0_27 OpenJDK Client VM
> cnorton@steamboy:~/projects/clojure/addr-verify$
>
> nREPL server started on port 43109
> REPL-y 0.1.9
> Clojure 1.2.1
>     Exit: Control+D or (exit) or (quit)
> Commands: (user/help)
>     Docs: (doc function-name-here)
>           (find-doc "part-of-name-here")
>   Source: (source function-name-here)
>           (user/sourcery function-name-here)
>  Javadoc: (javadoc java-object-or-class-here)
> Examples from clojuredocs.org: [clojuredocs or cdoc]
>           (user/clojuredocs name-here)
>           (user/clojuredocs "ns-here" "name-here")
>
>
>
>
> Charles M Norton
> Database Programmer/Systems Integrator
>   ------------------------------
> *From:* Colin Jones <trptcolin@gmail.com <javascript:_e({}, 'cvml',
> 'trptcolin@gmail.com');>>
> *To:* leiningen@librelist.com <javascript:_e({}, 'cvml',
> 'leiningen@librelist.com');>
> *Sent:* Saturday, March 9, 2013 8:37 AM
> *Subject:* Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>
> I take it you're referring to the repl task? The rest of this email
> assumes that you are.
>
> The ~/.inputrc file is where these settings are configured. If so, are
> there some keys that do work? Ctrl-p/ctrl-n/ctrl-r/arrows/ctrl-b/ctrl-f?
>
> What exact lein version? 2.0.0 final?
>
> What output do you see when you set this environment variable?
> export JLINE_LOGGING=trace
>
> Lein2 repl uses REPLy, which uses jline2, so there is more detail on their
> github page: https://github.com/jline/jline2
>
> There is a known issue in 2.0.0 that sometimes
> prevents the home/end and arrow keys from
> doing the right thing by default on Ubuntu, but
> there's a fix for that in my patched jline release,
> and copying /etc/inputrc into ~/.inputrc is a
> workaround that has worked for others.
>
>
>
>
>
> On Saturday, March 9, 2013, Charles Norton wrote:
>
> I'm using lein on Linux, both CentOS and Red Hat.
>
> Lein2 works fine for me except neither delete nor the standard ctrl+a,
> control+k, control+e keys work at all. The control keys work fine using
> lein1.
>
> I am looking for suggestions on what to clean up. Should I purge the .lein
> directory? What else is their to try?
>
> I've tried upgrading existing lein users on my Linux box, and installing
> lein2 for a user new to leiningen.
>
> lein2 builds and does all that just fine, just like lein1. Only the keys
> don't work.
>
> I'll use lein2 the way it is, but will just have to get creative.
>
> Thanks.
>
> Charles M Norton
> Database Programmer/Systems Integrator
>
>
>
>
> --
> Colin Jones
> @trptcolin
>
>
>

-- 
Colin Jones
@trptcolin

Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2

From:
Charles Norton
Date:
2013-03-09 @ 14:49
contents of .inputrc set blink-matching-paren on
Exported JLINE_LOGGING=trace
Where would I find the output?



 
Charles M Norton
Database Programmer/Systems Integrator


________________________________
 From: Colin Jones <trptcolin@gmail.com>
To: leiningen@librelist.com 
Sent: Saturday, March 9, 2013 9:09 AM
Subject: Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
 

Do you have JLINE_LOGGING=trace exported before starting the repl there? 
It doesn't look like it - or maybe you have an old version of jline on 
your classpath, either via project.clj or other means?

What's in your ~/.inputrc? 



On Saturday, March 9, 2013, Charles Norton  wrote:

Sorry, I forgot to mention the control key problems are with lein repl.
>
>Here is version and repl information.
>cnorton@steamboy:~/projects/clojure/addr-verify$ lein version
>Leiningen 2.0.0 on Java 1.6.0_27 OpenJDK Client VM
>cnorton@steamboy:~/projects/clojure/addr-verify$ 
>
>nREPL server started on port 43109
>REPL-y 0.1.9
>Clojure 1.2.1
>    Exit: Control+D or (exit) or (quit)
>Commands: (user/help)
>    Docs: (doc function-name-here)
>          (find-doc "part-of-name-here")
>  Source: (source function-name-here)
>          (user/sourcery function-name-here)
> Javadoc: (javadoc java-object-or-class-here)
>Examples from clojuredocs.org: [clojuredocs or cdoc]
>          (user/clojuredocs name-here)
>          (user/clojuredocs "ns-here" "name-here")
>
>
>
>
>

>Charles M Norton
>Database Programmer/Systems Integrator
>
>
>________________________________
> From: Colin Jones <trptcolin@gmail.com>
>To: leiningen@librelist.com 
>Sent: Saturday, March 9, 2013 8:37 AM
>Subject: Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
> 
>
>I take it you're referring to the repl task? The rest of this email 
assumes that you are.
>
>
>The ~/.inputrc file is where these settings are configured. If so, are 
there some keys that do work? Ctrl-p/ctrl-n/ctrl-r/arrows/ctrl-b/ctrl-f?
>
>
>What exact lein version? 2.0.0 final?
>
>
>
>What output do you see when you set this environment variable? 
>export JLINE_LOGGING=trace
>
>
>Lein2 repl uses REPLy, which uses jline2, so there is more detail on 
their github page: https://github.com/jline/jline2
>
>
>There is a known issue in 2.0.0 that sometimes 
>prevents the home/end and arrow keys from 
>doing the right thing by default on Ubuntu, but 
>there's a fix for that in my patched jline release, 
>and copying /etc/inputrc into ~/.inputrc is a 
>workaround that has worked for others.
>
>
>
>
>
>
>
>
>On Saturday, March 9, 2013, Charles Norton  wrote:
>
>I'm using lein on Linux, both CentOS and Red Hat.
>>
>>Lein2 works fine for me except neither delete nor the standard ctrl+a, 
control+k, control+e keys work at all. The control keys work fine using 
lein1.
>>
>>I am looking for suggestions on what to clean up. Should I purge the 
.lein directory? What else is their to try?
>>
>>
>>I've tried upgrading existing lein users on my Linux box, and installing
lein2 for a user new to leiningen.
>>
>>
>>
>>lein2 builds and does all that just fine, just like lein1. Only the keys
don't work.
>>
>>I'll use lein2 the way it is, but will just have to get creative.
>>
>>
>>
>>Thanks.
>> 
>>Charles M Norton
>>Database Programmer/Systems Integrator
>>
>>
>
>-- 
>Colin Jones
>@trptcolin
>
>
>

-- 
Colin Jones
@trptcolin

Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2

From:
Colin Jones
Date:
2013-03-09 @ 15:15
My mistake, looks like that environment variable only works for standalone
REPLy, so to try that out you'd need to clone
https://github.com/trptcolin/reply, and run `lein trampoline run` in the
REPLy directory. There should be *lots* of output, some errors that won't
end up mattering, etc.

If the output there is the same as usual, jline2 is most likely not on the
classpath.

Assuming you *do* see output, jline2 is doing its job, and there's further
debugging you could do, things like hitting ctrl-a and seeing what jline
has that mapped to.

You could also try moving ~/.inputrc to a different filename and/or copying
/etc/inputrc to ~/.inputrc




On Saturday, March 9, 2013, Charles Norton wrote:

> contents of .inputrc set blink-matching-paren on
> Exported JLINE_LOGGING=trace
> Where would I find the output?
>
>
>
> Charles M Norton
> Database Programmer/Systems Integrator
>    ------------------------------
> *From:* Colin Jones <trptcolin@gmail.com>
> *To:* leiningen@librelist.com
> *Sent:* Saturday, March 9, 2013 9:09 AM
> *Subject:* Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>
> Do you have JLINE_LOGGING=trace exported before starting the repl there?
> It doesn't look like it - or maybe you have an old version of jline on
> your classpath, either via project.clj or other means?
>
> What's in your ~/.inputrc?
>
>
>
> On Saturday, March 9, 2013, Charles Norton wrote:
>
> Sorry, I forgot to mention the control key problems are with lein repl.
>
> Here is version and repl information.
> cnorton@steamboy:~/projects/clojure/addr-verify$ lein version
> Leiningen 2.0.0 on Java 1.6.0_27 OpenJDK Client VM
> cnorton@steamboy:~/projects/clojure/addr-verify$
>
> nREPL server started on port 43109
> REPL-y 0.1.9
> Clojure 1.2.1
>     Exit: Control+D or (exit) or (quit)
> Commands: (user/help)
>     Docs: (doc function-name-here)
>           (find-doc "part-of-name-here")
>   Source: (source function-name-here)
>           (user/sourcery function-name-here)
>  Javadoc: (javadoc java-object-or-class-here)
> Examples from clojuredocs.org: [clojuredocs or cdoc]
>           (user/clojuredocs name-here)
>           (user/clojuredocs "ns-here" "name-here")
>
>
>
>
> Charles M Norton
> Database Programmer/Systems Integrator
>    ------------------------------
> *From:* Colin Jones <trptcolin@gmail.com>
> *To:* leiningen@librelist.com
> *Sent:* Saturday, March 9, 2013 8:37 AM
> *Subject:* Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>
> I take it you're referring to the repl task? The rest of this email
> assumes that you are.
>
> The ~/.inputrc file is where these settings are configured. If so, are
> there some keys that do work? Ctrl-p/ctrl-n/ctrl-r/arrows/ctrl-b/ctrl-f?
>
> What exact lein version? 2.0.0 final?
>
> What output do you see when you set this environment variable?
> export JLINE_LOGGING=trace
>
> Lein2 repl uses REPLy, which uses jline2, so there is more detail on their
> github page: https://github.com/jline/jline2
>
> There is a known issue in 2.0.0 that sometimes
> prevents the home/end and arrow keys from
> doing the right thing by default on Ubuntu, but
> there's a fix for that in my patched jline release,
> and copying /etc/inputrc into ~/.inputrc is a
> workaround that has worked for others.
>
>
>
>
>
> On Saturday, March 9, 2013, Charles Norton wrote:
>
> I'm using lein on Linux, both CentOS and Red Hat.
>
> Lein2 works fine for me except neither delete nor the standard ctrl+a,
> control+k, control+e keys work at all. The control keys work fine using
> lein1.
>
> I am looking for suggestions on what to clean up. Should I purge the .lein
> directory? What else is their to try?
>
> I've tried upgrading existing lein users on my Linux box, and installing
> lein2 for a use
>
>

Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2

From:
Charles Norton
Date:
2013-03-09 @ 15:24
Thanks.
I'll go try those things.


 
Charles M Norton
Database Programmer/Systems Integrator


________________________________
 From: Colin Jones <trptcolin@gmail.com>
To: leiningen@librelist.com 
Sent: Saturday, March 9, 2013 10:15 AM
Subject: Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
 

My mistake, looks like that environment variable only works for standalone
REPLy, so to try that out you'd need to 
clone https://github.com/trptcolin/reply, and run `lein trampoline run` in
the REPLy directory. There should be *lots* of output, some errors that 
won't end up mattering, etc.



If the output there is the same as usual, jline2 is most likely not on the
classpath.
Assuming you *do* see output, jline2 is doing its job, and there's further
debugging you could do, things like hitting ctrl-a and seeing what jline 
has that mapped to.

You could also try moving ~/.inputrc to a different filename and/or 
copying /etc/inputrc to ~/.inputrc





On Saturday, March 9, 2013, Charles Norton  wrote:

contents of .inputrc set blink-matching-paren on
>Exported JLINE_LOGGING=trace
>Where would I find the output?
>
>
>
>

>Charles M Norton
>Database Programmer/Systems Integrator
>
>
>________________________________
> From: Colin Jones <trptcolin@gmail.com>
>To: leiningen@librelist.com 
>Sent: Saturday, March 9, 2013 9:09 AM
>Subject: Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
> 
>
>Do you have JLINE_LOGGING=trace exported before starting the repl there? 
It doesn't look like it - or maybe you have an old version of jline on 
your classpath, either via project.clj or other means?
>
>
>What's in your ~/.inputrc? 
>
>
>
>
>On Saturday, March 9, 2013, Charles Norton  wrote:
>
>Sorry, I forgot to mention the control key problems are with lein repl.
>>
>>Here is version and repl information.
>>cnorton@steamboy:~/projects/clojure/addr-verify$ lein version
>>Leiningen 2.0.0 on Java 1.6.0_27 OpenJDK Client VM
>>cnorton@steamboy:~/projects/clojure/addr-verify$ 
>>
>>nREPL server started on port 43109
>>REPL-y 0.1.9
>>Clojure 1.2.1
>>    Exit: Control+D or (exit) or (quit)
>>Commands: (user/help)
>>    Docs: (doc function-name-here)
>>          (find-doc "part-of-name-here")
>>  Source: (source function-name-here)
>>          (user/sourcery function-name-here)
>> Javadoc: (javadoc java-object-or-class-here)
>>Examples from clojuredocs.org: [clojuredocs or cdoc]
>>          (user/clojuredocs name-here)
>>          (user/clojuredocs "ns-here" "name-here")
>>
>>
>>
>>
>>
>> 
>>Charles M Norton
>>Database Programmer/Systems Integrator
>>
>>
>>________________________________
>> From: Colin Jones <trptcolin@gmail.com>
>>To: leiningen@librelist.com 
>>Sent: Saturday, March 9, 2013 8:37 AM
>>Subject: Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>> 
>>
>>I take it you're referring to the repl task? The rest of this email 
assumes that you are.
>>
>>
>>The ~/.inputrc file is where these settings are configured. If so, are 
there some keys that do work? Ctrl-p/ctrl-n/ctrl-r/arrows/ctrl-b/ctrl-f?
>>
>>
>>What exact lein version? 2.0.0 final?
>>
>>
>>
>>What output do you see when you set this environment variable? 
>>export JLINE_LOGGING=trace
>>
>>
>>Lein2 repl uses REPLy, which uses jline2, so there is more detail on 
their github page: https://github.com/jline/jline2
>>
>>
>>There is a known issue in 2.0.0 that sometimes 
>>prevents the home/end and arrow keys from 
>>doing the right thing by default on Ubuntu, but 
>>there's a fix for that in my patched jline release, 
>>and copying /etc/inputrc into ~/.inputrc is a 
>>workaround that has worked for others.
>>
>>
>>
>>
>>
>>
>>
>>
>>On Saturday, March 9, 2013, Charles Norton  wrote:
>>
>>I'm using lein on Linux, both CentOS and Red Hat.
>>>
>>>Lein2 works fine for me except neither delete nor the standard ctrl+a, 
control+k, control+e keys work at all. The control keys work fine using 
lein1.
>>>
>>>I am looking for suggestions on what to clean up. Should I purge the 
.lein directory? What else is their to try?
>>>
>>>
>>>I've tried upgrading existing lein users on my Linux box, and 
installing lein2 for a use

Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2

From:
Charles Norton
Date:
2013-03-09 @ 15:37
Colin:

I've deleted input_rc and installed jline2.

How does jline2 interact with lein2? 

I've exported ~/jline2 it in .bashrc. 

What else should I do?

Thanks for your help by the way.

cmn


 
Charles M Norton
Database Programmer/Systems Integrator


________________________________
 From: Colin Jones <trptcolin@gmail.com>
To: leiningen@librelist.com 
Sent: Saturday, March 9, 2013 10:15 AM
Subject: Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
 

My mistake, looks like that environment variable only works for standalone
REPLy, so to try that out you'd need to 
clone https://github.com/trptcolin/reply, and run `lein trampoline run` in
the REPLy directory. There should be *lots* of output, some errors that 
won't end up mattering, etc.



If the output there is the same as usual, jline2 is most likely not on the
classpath.
Assuming you *do* see output, jline2 is doing its job, and there's further
debugging you could do, things like hitting ctrl-a and seeing what jline 
has that mapped to.

You could also try moving ~/.inputrc to a different filename and/or 
copying /etc/inputrc to ~/.inputrc





On Saturday, March 9, 2013, Charles Norton  wrote:

contents of .inputrc set blink-matching-paren on
>Exported JLINE_LOGGING=trace
>Where would I find the output?
>
>
>
>

>Charles M Norton
>Database Programmer/Systems Integrator
>
>
>________________________________
> From: Colin Jones <trptcolin@gmail.com>
>To: leiningen@librelist.com 
>Sent: Saturday, March 9, 2013 9:09 AM
>Subject: Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
> 
>
>Do you have JLINE_LOGGING=trace exported before starting the repl there? 
It doesn't look like it - or maybe you have an old version of jline on 
your classpath, either via project.clj or other means?
>
>
>What's in your ~/.inputrc? 
>
>
>
>
>On Saturday, March 9, 2013, Charles Norton  wrote:
>
>Sorry, I forgot to mention the control key problems are with lein repl.
>>
>>Here is version and repl information.
>>cnorton@steamboy:~/projects/clojure/addr-verify$ lein version
>>Leiningen 2.0.0 on Java 1.6.0_27 OpenJDK Client VM
>>cnorton@steamboy:~/projects/clojure/addr-verify$ 
>>
>>nREPL server started on port 43109
>>REPL-y 0.1.9
>>Clojure 1.2.1
>>    Exit: Control+D or (exit) or (quit)
>>Commands: (user/help)
>>    Docs: (doc function-name-here)
>>          (find-doc "part-of-name-here")
>>  Source: (source function-name-here)
>>          (user/sourcery function-name-here)
>> Javadoc: (javadoc java-object-or-class-here)
>>Examples from clojuredocs.org: [clojuredocs or cdoc]
>>          (user/clojuredocs name-here)
>>          (user/clojuredocs "ns-here" "name-here")
>>
>>
>>
>>
>>
>> 
>>Charles M Norton
>>Database Programmer/Systems Integrator
>>
>>
>>________________________________
>> From: Colin Jones <trptcolin@gmail.com>
>>To: leiningen@librelist.com 
>>Sent: Saturday, March 9, 2013 8:37 AM
>>Subject: Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>> 
>>
>>I take it you're referring to the repl task? The rest of this email 
assumes that you are.
>>
>>
>>The ~/.inputrc file is where these settings are configured. If so, are 
there some keys that do work? Ctrl-p/ctrl-n/ctrl-r/arrows/ctrl-b/ctrl-f?
>>
>>
>>What exact lein version? 2.0.0 final?
>>
>>
>>
>>What output do you see when you set this environment variable? 
>>export JLINE_LOGGING=trace
>>
>>
>>Lein2 repl uses REPLy, which uses jline2, so there is more detail on 
their github page: https://github.com/jline/jline2
>>
>>
>>There is a known issue in 2.0.0 that sometimes 
>>prevents the home/end and arrow keys from 
>>doing the right thing by default on Ubuntu, but 
>>there's a fix for that in my patched jline release, 
>>and copying /etc/inputrc into ~/.inputrc is a 
>>workaround that has worked for others.
>>
>>
>>
>>
>>
>>
>>
>>
>>On Saturday, March 9, 2013, Charles Norton  wrote:
>>
>>I'm using lein on Linux, both CentOS and Red Hat.
>>>
>>>Lein2 works fine for me except neither delete nor the standard ctrl+a, 
control+k, control+e keys work at all. The control keys work fine using 
lein1.
>>>
>>>I am looking for suggestions on what to clean up. Should I purge the 
.lein directory? What else is their to try?
>>>
>>>
>>>I've tried upgrading existing lein users on my Linux box, and 
installing lein2 for a use

Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2

From:
Colin Jones
Date:
2013-03-09 @ 15:42
I'm not sure what you mean by installing jline2. Lein depends on REPLy
which depends on jline2. These are jarfiles that lein manages, not separate
installs. I don't know what ~/jline2 is.

On Saturday, March 9, 2013, Charles Norton wrote:

> Colin:
>
> I've deleted input_rc and installed jline2.
>
> How does jline2 interact with lein2?
>
> I've exported ~/jline2 it in .bashrc.
>
> What else should I do?
>
> Thanks for your help by the way.
>
> cmn
>
>
> Charles M Norton
> Database Programmer/Systems Integrator
>   ------------------------------
> *From:* Colin Jones <trptcolin@gmail.com <javascript:_e({}, 'cvml',
> 'trptcolin@gmail.com');>>
> *To:* leiningen@librelist.com <javascript:_e({}, 'cvml',
> 'leiningen@librelist.com');>
> *Sent:* Saturday, March 9, 2013 10:15 AM
> *Subject:* Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>
> My mistake, looks like that environment variable only works for standalone
> REPLy, so to try that out you'd need to clone
> https://github.com/trptcolin/reply, and run `lein trampoline run` in the
> REPLy directory. There should be *lots* of output, some errors that won't
> end up mattering, etc.
>
> If the output there is the same as usual, jline2 is most likely not on the
> classpath.
>
> Assuming you *do* see output, jline2 is doing its job, and there's further
> debugging you could do, things like hitting ctrl-a and seeing what jline
> has that mapped to.
>
> You could also try moving ~/.inputrc to a different filename and/or
> copying /etc/inputrc to ~/.inputrc
>
>
>
>
> On Saturday, March 9, 2013, Charles Norton wrote:
>
>  contents of .inputrc set blink-matching-paren on
> Exported JLINE_LOGGING=trace
> Where would I find the output?
>
>
>
> Charles M Norton
> Database Programmer/Systems Integrator
>    ------------------------------
> *From:* Colin Jones <trptcolin@gmail.com>
> *To:* leiningen@librelist.com
> *Sent:* Saturday, March 9, 2013 9:09 AM
> *Subject:* Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>
> Do you have JLINE_LOGGING=trace exported before starting the repl there?
> It doesn't look like it - or maybe you have an old version of jline on
> your classpath, either via project.clj or other means?
>
> What's in your ~/.inputrc?
>
>
>
> On Saturday, March 9, 2013, Charles Norton wrote:
>
> Sorry, I forgot to mention the control key problems are with lein repl.
>
> Here is version and repl information.
> cnorton@steamboy:~/projects/clojure/addr-verify$ lein version
> Leiningen 2.0.0 on Java 1.6.0_27 OpenJDK Client VM
> cnorton@steamboy:~/projects/clojure/addr-verify$
>
> nREPL server started on port 43109
> REPL-y 0.1.9
> Clojure 1.2.1
>     Exit: Control+D or (exit) or (quit)
> Commands: (user/help)
>     Docs: (doc function-name-here)
>           (find-doc "part-of-name-here")
>   Source: (source function-name-here)
>           (user/sourcery function-name-here)
>  Javadoc: (javadoc java-object-or-class-here)
> Examples from clojuredocs.org: [clojuredocs or cdoc]
>           (user/clojuredocs name-here)
>           (user/clojuredocs "ns-here" "name-here")
>
>
>
>
> Charles M Norton
> Database Programmer/Systems Integrator
>    ------------------------------
> *From:* Colin Jones <trptcolin@gmail.com>
> *To:* leiningen@librelist.com
> *Sent:* Saturday, March 9, 2013 8:37 AM
> *Subject:* Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>
> I take it you're referring to the repl task? The rest of this email
> assumes that you are.
>
> The ~/.inputrc file is where these settings are configured. If so, are
> there some keys that do work? Ctrl-p/ctrl-n/ctrl-r/arrows/ctrl-b/ctrl-f?
>
> What exact lein version? 2.0.0 final?
>
> What output do you see when you set this environment variable?
> export JLINE_LOGGING=trace
>
> Lein2 repl uses REPLy, which uses jline2, so there is more detail on their
> github page: https://github.com/jline/jline2
>
> There is a known issue in 2.0.0 that sometimes
> prevents the home/end and arrow keys from
>
>

-- 
Colin Jones
@trptcolin

Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2

From:
Charles Norton
Date:
2013-03-09 @ 17:03
jline2 is in your post. I git-cloned and mvn installed according to the 
instructions up at git hum.


 
Charles M Norton
Database Programmer/Systems Integrator


________________________________
 From: Colin Jones <trptcolin@gmail.com>
To: leiningen@librelist.com 
Sent: Saturday, March 9, 2013 10:42 AM
Subject: Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
 

I'm not sure what you mean by installing jline2. Lein depends on REPLy 
which depends on jline2. These are jarfiles that lein manages, not 
separate installs. I don't know what ~/jline2 is.

On Saturday, March 9, 2013, Charles Norton  wrote:

Colin:
>
>I've deleted input_rc and installed jline2.
>
>How does jline2 interact with lein2? 
>
>I've exported ~/jline2 it in .bashrc. 
>
>What else should I do?
>
>Thanks for your help by the way.
>
>cmn
>
>
>

>Charles M Norton
>Database Programmer/Systems Integrator
>
>
>________________________________
> From: Colin Jones <trptcolin@gmail.com>
>To: leiningen@librelist.com 
>Sent: Saturday, March 9, 2013 10:15 AM
>Subject: Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
> 
>
>My mistake, looks like that environment variable only works for 
standalone REPLy, so to try that out you'd need to 
clone https://github.com/trptcolin/reply, and run `lein trampoline run` in
the REPLy directory. There should be *lots* of output, some errors that 
won't end up mattering, etc.
>
>
>
>If the output there is the same as usual, jline2 is most likely not on 
the classpath.
>
>Assuming you *do* see output, jline2 is doing its job, and there's 
further debugging you could do, things like hitting ctrl-a and seeing what
jline has that mapped to.
>
>
>You could also try moving ~/.inputrc to a different filename and/or 
copying /etc/inputrc to ~/.inputrc
>
>
>
>
>
>
>On Saturday, March 9, 2013, Charles Norton  wrote:
>
>contents of .inputrc set blink-matching-paren on
>>Exported JLINE_LOGGING=trace
>>Where would I find the output?
>>
>>
>>
>>
>> 
>>Charles M Norton
>>Database Programmer/Systems Integrator
>>
>>
>>________________________________
>> From: Colin Jones <trptcolin@gmail.com>
>>To: leiningen@librelist.com 
>>Sent: Saturday, March 9, 2013 9:09 AM
>>Subject: Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>> 
>>
>>Do you have JLINE_LOGGING=trace exported before starting the repl there?
It doesn't look like it - or maybe you have an old version of jline on 
your classpath, either via project.clj or other means?
>>
>>
>>What's in your ~/.inputrc? 
>>
>>
>>
>>
>>On Saturday, March 9, 2013, Charles Norton  wrote:
>>
>>Sorry, I forgot to mention the control key problems are with lein repl.
>>>
>>>Here is version and repl information.
>>>cnorton@steamboy:~/projects/clojure/addr-verify$ lein version
>>>Leiningen 2.0.0 on Java 1.6.0_27 OpenJDK Client VM
>>>cnorton@steamboy:~/projects/clojure/addr-verify$ 
>>>
>>>nREPL server started on port 43109
>>>REPL-y 0.1.9
>>>Clojure 1.2.1
>>>    Exit: Control+D or (exit) or (quit)
>>>Commands: (user/help)
>>>    Docs: (doc function-name-here)
>>>          (find-doc "part-of-name-here")
>>>  Source: (source function-name-here)
>>>          (user/sourcery function-name-here)
>>> Javadoc: (javadoc java-object-or-class-here)
>>>Examples from clojuredocs.org: [clojuredocs or cdoc]
>>>          (user/clojuredocs name-here)
>>>          (user/clojuredocs "ns-here" "name-here")
>>>
>>>
>>>
>>>
>>>
>>> 
>>>Charles M Norton
>>>Database Programmer/Systems Integrator
>>>
>>>
>>>________________________________
>>> From: Colin Jones <trptcolin@gmail.com>
>>>To: leiningen@librelist.com 
>>>Sent: Saturday, March 9, 2013 8:37 AM
>>>Subject: Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>>> 
>>>
>>>I take it you're referring to the repl task? The rest of this email 
assumes that you are.
>>>
>>>
>>>The ~/.inputrc file is where these settings are configured. If so, are 
there some keys that do work? Ctrl-p/ctrl-n/ctrl-r/arrows/ctrl-b/ctrl-f?
>>>
>>>
>>>What exact lein version? 2.0.0 final?
>>>
>>>
>>>
>>>What output do you see when you set this environment variable? 
>>>export JLINE_LOGGING=trace
>>>
>>>
>>>Lein2 repl uses REPLy, which uses jline2, so there is more detail on 
their github page: https://github.com/jline/jline2
>>>
>>>
>>>There is a known issue in 2.0.0 that sometimes 
>>>prevents the home/end and arrow keys from 

-- 
Colin Jones
@trptcolin

Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2

From:
Colin Jones
Date:
2013-03-09 @ 17:23
Let's take this off-list. Emailing you separately, and if/when we find the
solution we can report back to this thread.


On Sat, Mar 9, 2013 at 11:03 AM, Charles Norton
<old_road_farm@verizon.net>wrote:

> jline2 is in your post. I git-cloned and mvn installed according to the
> instructions up at git hum.
>
>
>
> Charles M Norton
> Database Programmer/Systems Integrator
>   ------------------------------
> *From:* Colin Jones <trptcolin@gmail.com>
> *To:* leiningen@librelist.com
> *Sent:* Saturday, March 9, 2013 10:42 AM
>
> *Subject:* Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>
> I'm not sure what you mean by installing jline2. Lein depends on REPLy
> which depends on jline2. These are jarfiles that lein manages, not separate
> installs. I don't know what ~/jline2 is.
>
> On Saturday, March 9, 2013, Charles Norton wrote:
>
> Colin:
>
> I've deleted input_rc and installed jline2.
>
> How does jline2 interact with lein2?
>
> I've exported ~/jline2 it in .bashrc.
>
> What else should I do?
>
> Thanks for your help by the way.
>
> cmn
>
>
> Charles M Norton
> Database Programmer/Systems Integrator
>   ------------------------------
> *From:* Colin Jones <trptcolin@gmail.com>
> *To:* leiningen@librelist.com
> *Sent:* Saturday, March 9, 2013 10:15 AM
> *Subject:* Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>
> My mistake, looks like that environment variable only works for standalone
> REPLy, so to try that out you'd need to clone
> https://github.com/trptcolin/reply, and run `lein trampoline run` in the
> REPLy directory. There should be *lots* of output, some errors that won't
> end up mattering, etc.
>
> If the output there is the same as usual, jline2 is most likely not on the
> classpath.
>
> Assuming you *do* see output, jline2 is doing its job, and there's further
> debugging you could do, things like hitting ctrl-a and seeing what jline
> has that mapped to.
>
> You could also try moving ~/.inputrc to a different filename and/or
> copying /etc/inputrc to ~/.inputrc
>
>
>
>
> On Saturday, March 9, 2013, Charles Norton wrote:
>
>  contents of .inputrc set blink-matching-paren on
> Exported JLINE_LOGGING=trace
> Where would I find the output?
>
>
>
> Charles M Norton
> Database Programmer/Systems Integrator
>    ------------------------------
> *From:* Colin Jones <trptcolin@gmail.com>
> *To:* leiningen@librelist.com
> *Sent:* Saturday, March 9, 2013 9:09 AM
> *Subject:* Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>
> Do you have JLINE_LOGGING=trace exported before starting the repl there?
> It doesn't look like it - or maybe you have an old version of jline on
> your classpath, either via project.clj or other means?
>
> What's in your ~/.inputrc?
>
>
>
> On Saturday, March 9, 2013, Charles Norton wrote:
>
> Sorry, I forgot to mention the control key problems are with lein repl.
>
> Here is version and repl information.
> cnorton@steamboy:~/projects/clojure/addr-verify$ lein version
> Leiningen 2.0.0 on Java 1.6.0_27 OpenJDK Client VM
> cnorton@steamboy:~/projects/clojure/addr-verify$
>
> nREPL server started on port 43109
> REPL-y 0.1.9
> Clojure 1.2.1
>     Exit: Control+D or (exit) or (quit)
> Commands: (user/help)
>     Docs: (doc function-name-here)
>           (find-doc "part-of-name-here")
>   Source: (source function-name-here)
>           (user/sourcery function-name-here)
>  Javadoc: (javadoc java-object-or-class-here)
> Examples from clojuredocs.org: [clojuredocs or cdoc]
>           (user/clojuredocs name-here)
>           (user/clojuredocs "ns-here" "name-here")
>
>
>
>
> Charles M Norton
> Database Programmer/Systems Integrator
>    ------------------------------
> *From:* Colin Jones <trptcolin@gmail.com>
> *To:* leiningen@librelist.com
> *Sent:* Saturday, March 9, 2013 8:37 AM
> *Subject:* Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>
> I take it you're referring to the repl task? The rest of this email
> assumes that you are.
>
> The ~/.inputrc file is where these settings are configured. If so, are
> there some keys that do work? Ctrl-p/ctrl-n/ctrl-r/arrows/ctrl-b/ctrl-f?
>
> What exact lein version? 2.0.0 final?
>
> What output do you see when you set this environment variable?
> export JLINE_LOGGING=trace
>
> Lein2 repl uses REPLy, which uses jline2, so there is more detail on their
> github page: https://github.com/jline/jline2
>
> There is a known issue in 2.0.0 that sometimes
> prevents the home/end and arrow keys from
>
>
>
> --
> Colin Jones
> @trptcolin
>
>
>


-- 
Colin Jones
@trptcolin

Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2

From:
Colin Jones
Date:
2013-03-09 @ 20:38
For posterity, here is the JLine ticket that's coming out of this:
https://github.com/jline/jline2/issues/79


On Sat, Mar 9, 2013 at 11:23 AM, Colin Jones <trptcolin@gmail.com> wrote:

> Let's take this off-list. Emailing you separately, and if/when we find the
> solution we can report back to this thread.
>
>
> On Sat, Mar 9, 2013 at 11:03 AM, Charles Norton <old_road_farm@verizon.net
> > wrote:
>
>> jline2 is in your post. I git-cloned and mvn installed according to the
>> instructions up at git hum.
>>
>>
>>
>> Charles M Norton
>> Database Programmer/Systems Integrator
>>   ------------------------------
>> *From:* Colin Jones <trptcolin@gmail.com>
>> *To:* leiningen@librelist.com
>> *Sent:* Saturday, March 9, 2013 10:42 AM
>>
>> *Subject:* Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>>
>> I'm not sure what you mean by installing jline2. Lein depends on REPLy
>> which depends on jline2. These are jarfiles that lein manages, not separate
>> installs. I don't know what ~/jline2 is.
>>
>> On Saturday, March 9, 2013, Charles Norton wrote:
>>
>> Colin:
>>
>> I've deleted input_rc and installed jline2.
>>
>> How does jline2 interact with lein2?
>>
>> I've exported ~/jline2 it in .bashrc.
>>
>> What else should I do?
>>
>> Thanks for your help by the way.
>>
>> cmn
>>
>>
>> Charles M Norton
>> Database Programmer/Systems Integrator
>>   ------------------------------
>> *From:* Colin Jones <trptcolin@gmail.com>
>> *To:* leiningen@librelist.com
>> *Sent:* Saturday, March 9, 2013 10:15 AM
>> *Subject:* Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>>
>> My mistake, looks like that environment variable only works for
>> standalone REPLy, so to try that out you'd need to clone
>> https://github.com/trptcolin/reply, and run `lein trampoline run` in the
>> REPLy directory. There should be *lots* of output, some errors that won't
>> end up mattering, etc.
>>
>> If the output there is the same as usual, jline2 is most likely not on
>> the classpath.
>>
>> Assuming you *do* see output, jline2 is doing its job, and there's
>> further debugging you could do, things like hitting ctrl-a and seeing what
>> jline has that mapped to.
>>
>> You could also try moving ~/.inputrc to a different filename and/or
>> copying /etc/inputrc to ~/.inputrc
>>
>>
>>
>>
>> On Saturday, March 9, 2013, Charles Norton wrote:
>>
>>  contents of .inputrc set blink-matching-paren on
>> Exported JLINE_LOGGING=trace
>> Where would I find the output?
>>
>>
>>
>> Charles M Norton
>> Database Programmer/Systems Integrator
>>    ------------------------------
>> *From:* Colin Jones <trptcolin@gmail.com>
>> *To:* leiningen@librelist.com
>> *Sent:* Saturday, March 9, 2013 9:09 AM
>> *Subject:* Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>>
>> Do you have JLINE_LOGGING=trace exported before starting the repl there?
>> It doesn't look like it - or maybe you have an old version of jline on
>> your classpath, either via project.clj or other means?
>>
>> What's in your ~/.inputrc?
>>
>>
>>
>> On Saturday, March 9, 2013, Charles Norton wrote:
>>
>> Sorry, I forgot to mention the control key problems are with lein repl.
>>
>> Here is version and repl information.
>> cnorton@steamboy:~/projects/clojure/addr-verify$ lein version
>> Leiningen 2.0.0 on Java 1.6.0_27 OpenJDK Client VM
>> cnorton@steamboy:~/projects/clojure/addr-verify$
>>
>> nREPL server started on port 43109
>> REPL-y 0.1.9
>> Clojure 1.2.1
>>     Exit: Control+D or (exit) or (quit)
>> Commands: (user/help)
>>     Docs: (doc function-name-here)
>>           (find-doc "part-of-name-here")
>>   Source: (source function-name-here)
>>           (user/sourcery function-name-here)
>>  Javadoc: (javadoc java-object-or-class-here)
>> Examples from clojuredocs.org: [clojuredocs or cdoc]
>>           (user/clojuredocs name-here)
>>           (user/clojuredocs "ns-here" "name-here")
>>
>>
>>
>>
>> Charles M Norton
>> Database Programmer/Systems Integrator
>>    ------------------------------
>> *From:* Colin Jones <trptcolin@gmail.com>
>> *To:* leiningen@librelist.com
>> *Sent:* Saturday, March 9, 2013 8:37 AM
>> *Subject:* Re: [leiningen] Fw: Steps To Get Control Keys To Work On Lein2
>>
>> I take it you're referring to the repl task? The rest of this email
>> assumes that you are.
>>
>> The ~/.inputrc file is where these settings are configured. If so, are
>> there some keys that do work? Ctrl-p/ctrl-n/ctrl-r/arrows/ctrl-b/ctrl-f?
>>
>> What exact lein version? 2.0.0 final?
>>
>> What output do you see when you set this environment variable?
>> export JLINE_LOGGING=trace
>>
>> Lein2 repl uses REPLy, which uses jline2, so there is more detail on
>> their github page: https://github.com/jline/jline2
>>
>> There is a known issue in 2.0.0 that sometimes
>> prevents the home/end and arrow keys from
>>
>>
>>
>> --
>> Colin Jones
>> @trptcolin
>>
>>
>>
>
>
> --
> Colin Jones
> @trptcolin
>



-- 
Colin Jones
@trptcolin