Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13134

Cqlsh doesn't support 24-bit console color

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Low
    • Resolution: Unresolved
    • None
    • Legacy/Tools
    • None
    • Windows 10 with Anniversary update

    • Low

    Description

      After updating my machine to the windows anniversary update which now supports 24-bit color, cqlsh is producing mangled output. Prior it was working fine.

      The codepage is 65001 which is UTF. This helped before the update.

      Output from logging in and selecting rows:

      C:\Users\xyz\Desktop\Utils\cassandra\bin>chcp 65001
      Active code page: 65001
      
      C:\Users\xyz\Desktop\Utils\cassandra\bin>cqlsh -u xyz --cqlversion=3.4.0 -C Cassandra-dev01.xyz.local
      Password:
      Connected to [0;1;34mxyz Development[0m at cassandra-dev01.xyz.local:9042.
      [cqlsh 5.0.1 | Cassandra 3.0.11.1485 | CQL spec 3.4.0 | Native protocol v4]
      Use HELP for help.
      xyz@cqlsh> use "xyz";
      xyz@cqlsh:xyz> select * from "DatabaseSetting" limit 1;
      
       [0;1;31mName[0m                                 | [0;1;35mValue[0m
      --------------------------------------+-------
       [0;1;33mcc38d7f8-821f-491e-8451-530c42ff61fc[0m |   [0;1;33mxyz[0m
      
      (1 rows)
      xyz@cqlsh:xyz>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Telavian Patrick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: