Colours used in mintty

Fergus fergus@bonhard.uklinux.net
Thu Jul 15 15:45:00 GMT 2010


>>> Is there a way of changing the default text colours
>>> used by mintty for directories, links, executables, etc?

 >>  From man mintty: use
>>  echo $'\e]4;3;255,255,0\a'
>>  and similarly, in a script.

> I am using
>   echo $'\e]4;3;255,  0,  0\a' # color3 for devices
>   echo $'\e]4;6;139, 69, 19\a' # color6 for links
> in .bashrc with the consequence that each new mintty terminal starts 
> with 2 blank lines. Is there a way I can set the colors but suppress the 
> newlines?

Use echo -n.
(Sorry for public soliloquy.)

Fergus


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list