[jira] [Comment Edited] (CASSANDRA-7577) cqlsh: CTRL-R history search not working on OSX

2014-08-18 Thread Jeremiah Jordan (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14101053#comment-14101053
 ] 

Jeremiah Jordan edited comment on CASSANDRA-7577 at 8/18/14 6:44 PM:
-

7577-proper.txt works fine for me and I do not have readline.  The 7577-2.0.txt 
prints out the warning saying I don't have it.

+1 on the fix


was (Author: jjordan):
7577-proper.txt works fine for me and I do not have readline.  The 7577-2.0.txt 
prints out the warning saying I don't have it.

 cqlsh: CTRL-R history search not working on OSX
 ---

 Key: CASSANDRA-7577
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7577
 Project: Cassandra
  Issue Type: Bug
 Environment: OSX - plain Terminal program
 C* 2.0.x, 2.1, trunk
Reporter: Robert Stupp
Assignee: Aleksey Yeschenko
Priority: Minor
 Fix For: 2.0.11, 2.1.1

 Attachments: 7577-2.0.txt, 7577-2.1.txt, 7577-proper.txt, 
 ctrl-r-libedit.png, ctrl-r-readline.png


 _recursive-history-search_ via ctrl-R does not work in cqlsh. The history 
 itself works via cursor up/down.
 It works on Linux (and I guess on Windows with cygwin) but not on my Mac.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Comment Edited] (CASSANDRA-7577) cqlsh: CTRL-R history search not working on OSX

2014-08-17 Thread Robert Stupp (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14100068#comment-14100068
 ] 

Robert Stupp edited comment on CASSANDRA-7577 at 8/17/14 7:12 PM:
--

bq. configure libedit to enable recursive search

nope - neither {{bind ^R em-inc-search-prev}} in {{\~/.editrc}} nor 
{{readline.parse_and_bind(bind ^R em-inc-search-prev)}} in {{\~/.pystartup}} 
or in {{cqlsh}} work.
Recommendation on https://pypi.python.org/pypi/readline is to ??As the 
alternatives to GNU readline do not have fully equivalent functionality, it is 
useful to add proper readline support to these platforms.??


was (Author: snazy):
bq. configure libedit to enable recursive search

nope - neither {{bind ^R em-inc-search-prev}} in {{~/.editrc}} nor 
{{readline.parse_and_bind(bind ^R em-inc-search-prev)}} in {{~/.pystartup}} 
or in {{cqlsh}} work.
Recommendation on https://pypi.python.org/pypi/readline is to ??As the 
alternatives to GNU readline do not have fully equivalent functionality, it is 
useful to add proper readline support to these platforms.??

 cqlsh: CTRL-R history search not working on OSX
 ---

 Key: CASSANDRA-7577
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7577
 Project: Cassandra
  Issue Type: Bug
 Environment: OSX - plain Terminal program
 C* 2.0.x, 2.1, trunk
Reporter: Robert Stupp
Assignee: Robert Stupp
Priority: Minor
 Fix For: 2.0.11, 2.1.1

 Attachments: 7577-2.0.txt, 7577-2.1.txt


 _recursive-history-search_ via ctrl-R does not work in cqlsh. The history 
 itself works via cursor up/down.
 It works on Linux (and I guess on Windows with cygwin) but not on my Mac.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Comment Edited] (CASSANDRA-7577) cqlsh: CTRL-R history search not working on OSX

2014-08-17 Thread Robert Stupp (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14100113#comment-14100113
 ] 

Robert Stupp edited comment on CASSANDRA-7577 at 8/17/14 9:10 PM:
--

Sure you don't have a readline in /Library/Python/2.7/site-packages ?
What does {{print readline.__doc__}} tell on your machine?


was (Author: snazy):
Sure you don't have a readline in /Library/Python/2.7/site-packages ?


 cqlsh: CTRL-R history search not working on OSX
 ---

 Key: CASSANDRA-7577
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7577
 Project: Cassandra
  Issue Type: Bug
 Environment: OSX - plain Terminal program
 C* 2.0.x, 2.1, trunk
Reporter: Robert Stupp
Assignee: Robert Stupp
Priority: Minor
 Fix For: 2.0.11, 2.1.1

 Attachments: 7577-2.0.txt, 7577-2.1.txt, 7577-proper.txt


 _recursive-history-search_ via ctrl-R does not work in cqlsh. The history 
 itself works via cursor up/down.
 It works on Linux (and I guess on Windows with cygwin) but not on my Mac.



--
This message was sent by Atlassian JIRA
(v6.2#6252)