This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Escape sequences are not interpreted


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]