Cassandra
  1. Cassandra
  2. CASSANDRA-3597

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Fix Version/s: 1.2.0 beta 2
    • Component/s: Tools
    • Labels:
    • Environment:

      Cqlsh, run under a Mac OS X-bundled Python installation (also possibly some types of BSD installation).

      Description

      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 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.

      1. CASSANDRA-3597-1.2.txt
        3 kB
        Aleksey Yeschenko
      2. CASSANDRA-3597-1.1.txt
        3 kB
        Aleksey Yeschenko

        Activity

        paul cannon created issue -
        Jonathan Ellis made changes -
        Field Original Value New Value
        Assignee paul cannon [ thepaul ] Aleksey Yeschenko [ iamaleksey ]
        Aleksey Yeschenko made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Aleksey Yeschenko made changes -
        Attachment CASSANDRA-3597-1.1.txt [ 12549078 ]
        Aleksey Yeschenko made changes -
        Attachment CASSANDRA-3597-1.2.txt [ 12549079 ]
        Aleksey Yeschenko made changes -
        Status In Progress [ 3 ] Patch Available [ 10002 ]
        Brandon Williams made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Reviewer brandon.williams
        Fix Version/s 1.2.0 beta 2 [ 12323284 ]
        Resolution Fixed [ 1 ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12645117 ] patch-available, re-open possible [ 12753259 ]
        Gavin made changes -
        Workflow patch-available, re-open possible [ 12753259 ] reopen-resolved, no closed status, patch-avail, testing [ 12755969 ]

          People

          • Assignee:
            Aleksey Yeschenko
            Reporter:
            paul cannon
            Reviewer:
            Brandon Williams
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development