delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/01/22:09:21

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
Date: Fri, 1 Jun 2001 22:08:59 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Escape sequence "^[[1m" no longer makes console text bright
Message-ID: <20010601220859.C7592@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <000901c0dfd8$e4947b40$4500f98c AT EMMAROSE>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <000901c0dfd8$e4947b40$4500f98c@EMMAROSE>; from litterio@pyxsys.net on Fri, May 18, 2001 at 04:26:59PM -0400

On Fri, May 18, 2001 at 04:26:59PM -0400, Francis Litterio wrote:
>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?

I just tried this and ^[[1m correctly turned bold on for me.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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