guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Jumper (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GUACAMOLE-278) Add support for xterm's 256-color control codes
Date Thu, 27 Apr 2017 05:21:04 GMT

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

Michael Jumper resolved GUACAMOLE-278.
--------------------------------------
       Resolution: Done
    Fix Version/s: 0.9.13-incubating

> Add support for xterm's 256-color control codes
> -----------------------------------------------
>
>                 Key: GUACAMOLE-278
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-278
>             Project: Guacamole
>          Issue Type: Improvement
>          Components: SSH, Telnet, Terminal
>            Reporter: Michael Jumper
>            Assignee: Michael Jumper
>             Fix For: 0.9.13-incubating
>
>         Attachments: guac-terminal-256-after.png, guac-terminal-256-before.png
>
>
> Guacamole currently only supports 16 colors in its terminal, whereas xterm and its various
other modern derivatives all support 256+ colors, as well as arbitrary RGB colors. This support
should be added to the Guacamole terminal, such that applications needing 256 colors have
console codes to work with.
> xterm's 256-color codes are defined at http://invisible-island.net/xterm/ctlseqs/ctlseqs.html.
There are code sequences which apply:
> * Set foreground to RGB color: {{CSI 38 ; 2 ; R ; G ; B}}
> * Set foreground to 256-color palette index N: {{CSI 38 ; 5 ; N}}
> * Set background to RGB color: {{CSI 48 ; 2 ; R ; G ; B}}
> * Set background to 256-color palette index N: {{CSI 48 ; 5 ; N}}
> There is an additional {{OSC}} sequence for redefining the 256-color palette, but that
can probably be omitted for now. We have similarly omitted the Linux-specific console code
for redefining the 16-color palette, even though we otherwise aim to support the same control
sequences as the Linux console.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message