X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Escape colour codes Date: Mon, 19 Mar 2007 11:44:30 -0000 Lines: 32 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/2.70.2067 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 Hi, I'm having a problem with colour escape codes for prompts in different applications and terminals. Basically it is like this. lftp and yafc show a wrong prompt in the following terminals: cmd, 4nt, console and far manager. Basically each coloured part of the prompt is surrounded by two "funny faces" - the first is white and the second has the desired colour. Let's say my prompt is "user AT host:directory" where "directory" is cyan. Then the prompt looks like this[1]: user AT host:[FW][FC]directory[FC][FW] The interesting thing is that the coloured prompts /do/ work in bash, zsh and screen[2] with cmd, 4nt, console and FAR manager. Also the coloured prompts from lftp and yafc show correctly in rxvt. They also show correctly in Linux and Konsole so the syntax of the coloured prompt is correct. What can I do to solve this problem? $ uname -rv 1.7.0s(0.167/4/2) 20070316 16:11:46 Thorsten [1] [FW] = "Funny Face white", [FC] = "Funny Face Cyan" [2] Bash and Zsh use more or less the same syntax for colour escape prompts as lftp and yafc -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/