X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4C3F28E6.6090607@bopp.net> Date: Thu, 15 Jul 2010 10:27:34 -0500 From: Jeremy Bopp User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Colours used in mintty References: <4C3F26B5 DOT 5000606 AT bonhard DOT uklinux DOT net> In-Reply-To: <4C3F26B5.5000606@bonhard.uklinux.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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