[ 
https://issues.apache.org/jira/browse/GUACAMOLE-470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16309109#comment-16309109
 ] 

Jim Chen commented on GUACAMOLE-470:
------------------------------------

So a typical xterm config file might look like this,

{code}
*background: rgb:00/00/00
*foreground: rgb:ff/ff/ff
*color0:     rgb:00/00/00
*color1:     rgb:d3/62/65
*color2:     rgb:ae/ce/91
*color3:     rgb:e7/e1/8c
*color4:     rgb:7a/7a/b0
*color5:     rgb:96/3c/59
*color6:     rgb:41/81/79
*color7:     rgb:be/be/be
*color8:     rgb:66/66/66
*color9:     rgb:ef/81/71
*color10:    rgb:e5/f7/79
*color11:    rgb:ff/f7/96
*color12:    rgb:41/86/be
*color13:    rgb:ef/9e/be
*color14:    rgb:71/be/be
*color15:    rgb:ff/ff/ff
{code}

That's what I was trying to emulate. I guess they aren't "commands" per-se, 
just key-values.

> Make individual terminal colors configurable through "color-scheme" parameter
> -----------------------------------------------------------------------------
>
>                 Key: GUACAMOLE-470
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-470
>             Project: Guacamole
>          Issue Type: Improvement
>          Components: SSH, Telnet, Terminal
>            Reporter: Jim Chen
>
> I'd be happy to work on this feature if the maintainers think it's a good 
> idea.
> Currently, the "color-scheme" parameter in the configuration xml can only 
> choose one of four color schemes. It would be nice if it can also configure 
> individual colors, so that more customized color schemes can be chosen.
> I propose to make the "color-scheme" parameter a series of semicolon 
> separated commands, e.g. "{{black-white; color2: rgb:cc/33/22; ...}}", where 
> each command specifies a color-set or a single color. This new format would 
> be backward-compatible with the previous format, because previous values like 
> "{{black-white}}" would be interpreted as a single command.
> Possible color-set commands are same as before: "{{black-white}}", 
> "{{gray-black}}", "{{green-black}}", and "{{white-black}}". These commands 
> set the foreground-background colors to existing values.
> The single-color commands are "{{foreground: <color>}}", "{{background: 
> <color>}}", and "{{color<n>: <color>}}", where {{<n>}} is a number from 0 to 
> 255, and {{<color>}} is a color value in the format {{rgb:RR/GG/BB}}, which 
> matches the format used by xterm. These commands set the specified color to 
> new values.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to