X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Message-ID: <4C3F296B.7060404@bonhard.uklinux.net> Date: Thu, 15 Jul 2010 16:29:47 +0100 From: Fergus User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Cygwin ML , Fergus 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; format=flowed Content-Transfer-Encoding: 7bit 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 >>> 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