You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Patrick (JIRA)" <ji...@apache.org> on 2017/01/18 20:50:26 UTC

[jira] [Created] (CASSANDRA-13134) Cqlsh doesn't support 24-bit console color

Patrick created CASSANDRA-13134:
-----------------------------------

             Summary: Cqlsh doesn't support 24-bit console color
                 Key: CASSANDRA-13134
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13134
             Project: Cassandra
          Issue Type: Bug
         Environment: Windows 10 with Anniversary update
            Reporter: Patrick
            Priority: Minor


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:

{code}
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>
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)