You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2012/10/14 19:53:03 UTC

[jira] [Updated] (CASSANDRA-3597) cqlsh: use libedit when readline isn't available, if possible

     [ https://issues.apache.org/jira/browse/CASSANDRA-3597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksey Yeschenko updated CASSANDRA-3597:
-----------------------------------------

    Attachment: CASSANDRA-3597-1.2.txt
    
> 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: Aleksey Yeschenko
>            Priority: Minor
>              Labels: cqlsh
>         Attachments: CASSANDRA-3597-1.1.txt, CASSANDRA-3597-1.2.txt
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira