Closed GoogleCodeExporter closed 9 years ago
Original comment by andy.koppe
on 27 May 2009 at 6:36
Would be better if user can configure the whole set of terminal color.
Originally, I use rxvt in cygwin, which allow the setting done via .Xdefaults.
Original comment by zar...@gmail.com
on 22 Oct 2009 at 6:24
You can, using control sequences. From the manual:
Changing the ANSI colours
A number of settings can be controlled through terminal control
sequences, including the colour values for the 16 ANSI colours. Here
is the xterm sequence for this, whereby num stands for the ANSI number
and rrggbb stands for a hexadecimal RGB colour value.
^[]4;num;#rrggbb^G
The -e option to the echo command is useful for emitting control
sequences. For example, to turn yellow (colour 3) up to its full
brightness:
echo -e "\e]4;3;#FFFF00\a"
Sequences such as this can be included in scripts or on the mintty com-
mand line with the help of sh -c.
Original comment by andy.koppe
on 22 Oct 2009 at 6:34
alright, this is suffix for my needs :)
I think this issue can be closed.
Original comment by zar...@gmail.com
on 22 Oct 2009 at 9:10
Hmm, yep, those predefined colour schemes wouldn't add much, given that picking
the
foreground, background and cursor colours is straightforward enough.
Original comment by andy.koppe
on 4 May 2010 at 5:49
Original issue reported on code.google.com by
andy.koppe
on 9 May 2009 at 7:35