delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/29/09:00:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: gobo AT gobo-net DOT de
To: cygwin AT cygwin DOT com
Subject: csh color codes
X-Sender-IP: 143.164.98.120
Message-Id: <E1AmCi6-00009G-00@mrelay00.kundenservices.net>
Date: Thu, 29 Jan 2004 14:59:58 +0100

Dear all,

I am running the latest Cygwin on my Win2k and I'm using csh as the
standard shell. The color mode for XTerm is enabled and works fine, e.g.
with "ls --color".

However I have a problem to figure out how to generate the appropriate
control (escape) sequences to included colors in shell script outputs. I
have some shell scripts here which originate from a HP-UX based csh.
There, the escape sequences are generated by pressing "Ctrl + V" + "Esc" +
"[" + 'code', where 'code' is e.g. "1m" for bold or "32m" for green (=
^[[32m).
However, these codes don't work within the Cygwin-csh. 

Does anyone know the correct sequences here?

Thanks,
Jochen =8-)

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

- Raw text -


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