This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Colours used in mintty


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]