delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/15/11:18:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-ID: <4C3F26B5.5000606@bonhard.uklinux.net>
Date: Thu, 15 Jul 2010 16:18:13 +0100
From: Fergus <fergus AT bonhard DOT uklinux DOT net>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Cygwin ML <cygwin AT cygwin DOT com>
CC: Fergus <fergus AT bonhard DOT uklinux DOT net>
Subject: Re: Colours used in mintty
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

 >> 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?

Thank you.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019