This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Colours used in mintty
- From: Jeremy Bopp <jeremy at bopp dot net>
- To: cygwin at cygwin dot com
- Date: Thu, 15 Jul 2010 10:27:34 -0500
- Subject: Re: Colours used in mintty
- References: <4C3F26B5.5000606@bonhard.uklinux.net>
On 7/15/2010 10:18 AM, Fergus wrote:
>>> 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?
Have you tried using "echo -n"?
-Jeremy
--
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