delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/15/17:59:12

X-Spam-Check-By: sourceware.org
Message-ID: <45F9CFA5.1050305@princeton.edu>
Date: Thu, 15 Mar 2007 18:58:45 -0400
From: Vinod Gupta <vinod AT Princeton DOT EDU>
User-Agent: Thunderbird 1.5.0.10 (X11/20070304)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Escape sequences are not interpreted
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

When I look at a man page in a bash window under cygwin, I see that 
video escape sequences are not interpreted. My TERM is set to "xterm" in 
an xterm window and "cygwin" in a DOS window. LANG variables are set to 
en_US. As an example, here are a few lines from the screen dump of "man 
cygwin"

INTRO(3)                            Cygwin                            
INTRO(3)

ESC[1mNAMEESC[0m
     ESC[1mintro ESC[22m- Introduction to the Cygwin API

ESC[1mDESCRIPTIONESC[0m
     ESC[1mCygwin  ESC[22mis  a  Linux-like  environment  for Windows. 
It consists of two parts:
...
...

If I "echo ${ESCSEQ} some-text" then the escape sequence is correctly 
interpreted. Problem occurs only during man pages.

Any suggestions?
Vinod

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