X-Spam-Check-By: sourceware.org Date: Thu, 15 Mar 2007 23:46:35 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Vinod Gupta cc: cygwin AT cygwin DOT com Subject: Re: Escape sequences are not interpreted In-Reply-To: <45F9CFA5.1050305@princeton.edu> Message-ID: References: <45F9CFA5 DOT 1050305 AT princeton DOT edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Thu, 15 Mar 2007, Vinod Gupta wrote: > 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? Sure. A Google search for "cygwin man esc" produces quite a few hits with a fix for this. In particular, the most recent suggestions are to check the values of PAGER and MANPAGER (which we would have seen had you followed > Problem reports: http://cygwin.com/problems.html and attached the output of "cygcheck -svr" for your system). HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for "nothing left to lose"... -- Janis Joplin -- 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/