cqlsh: use libedit when readline isn't available, if possible
-------------------------------------------------------------

                 Key: CASSANDRA-3597
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3597
             Project: Cassandra
          Issue Type: Improvement
          Components: Tools
    Affects Versions: 1.0.3
         Environment: Cqlsh, run under a Mac OS X-bundled Python installation 
(also possibly some types of BSD installation).
            Reporter: paul cannon
            Assignee: paul cannon
            Priority: Minor


Cqlsh provides context-sensitive tab-completion functionality, but it's only 
available when the readline library is available, and this is not the case 
where readline's GPL license proves problematic. 
[libedit|http://www.thrysoee.dk/editline/] is a common replacement, which would 
be available to Mac OS X-bundled Python users, and the Python readline module 
makes libedit almost a drop-in replacement.

If possible, fallback to libedit functionality when providing tab completion.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to