delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Reply-To: | <litterio AT pyxsys DOT net> |
From: | "Francis Litterio" <litterio AT pyxsys DOT net> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Escape sequence "^[[1m" no longer makes console text bright |
Date: | Fri, 18 May 2001 16:26:59 -0400 |
Message-ID: | <000901c0dfd8$e4947b40$4500f98c@EMMAROSE> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
Importance: | Normal |
I upgraded from Cygwin 1.1.6 to 1.3.1 (under Windows 2000), and I notice that the console escape sequence generated by "tput bold" is no longer making text bright. Here's what I see: bash$ echo $TERM cygwin bash$ echo "hello $(tput bold)foo$(tput sgr0) there" hello foo there <== "foo" is normal; was bright in 1.1.6. bash$ tput bold | od -c 0000000 033 [ 1 m 0000004 bash$ tput sgr0 | od -c 0000000 033 [ 0 ; 1 0 m 0000007 I think this may be related to why I see all the highlighted keywords in man pages in half-bright mode instead of bright mode. I'm not using a personal TERMINFO database -- just the one in /usr/share/terminfo. I could swear that this is the same escape sequence for "bold" that worked fine under Cygwin 1.1.6. Could the Cygwin library be initializing the console differently somehow, so that the console interprets the "^[[1m" differently now? -- Francis Litterio litterio AT pyxsys DOT omit-this DOT net -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |