delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/02/14/16:19:39

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Message-Id: <5.0.2.1.0.20010214161458.00a85ad0@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Wed, 14 Feb 2001 16:16:03 -0500
To: cygwin-developers AT cygwin DOT com, cygwin-developers AT cygwin DOT com
From: "Larry Hall (RFK Partners Inc)" <lhall AT rfk DOT com>
Subject: Re: unknown commands in \033[xx;yy;zzm aren't ignored
In-Reply-To: <20010214160951.A18991@redhat.com>
References: <2943025 DOT 20010214235759 AT logos-m DOT ru>
<2943025 DOT 20010214235759 AT logos-m DOT ru>
Mime-Version: 1.0

At 04:09 PM 2/14/01, Christopher Faylor wrote:
>On Wed, Feb 14, 2001 at 11:57:59PM +0300, Egor Duda wrote:
>>Hi!
>>
>>currently,
>>
>>echo -e "\033[1;666mhey, i'm bold!"
>>
>>command  don't  switch to bold on cygwin console. it does so on linux,
>>however. the reason is this fragment
>>
>>    default:
>>      fg = default_color & (FOREGROUND_BLUE | FOREGROUND_GREEN |
>>                            FOREGROUND_RED);
>>      bg = default_color & (BACKGROUND_BLUE | BACKGROUND_GREEN |
>>                            BACKGROUND_RED | BACKGROUND_INTENSITY);
>>      bold = default_color & FOREGROUND_INTENSITY;
>>      break;
>>
>>in fhandler_console::char_command. shouldn't this code be eliminated?
>
>Are you saying that the 666 is causing incorrect behavior?  If so, I think
>I agree.  Why should cygwin be setting any defaults at all if it doesn't
>understand the numeric code?
>
>cgf


Probably because I did it years ago and I don't know any better!;-)
If you or someone want me to submit a patch which removes these lines
of code, let me know.


Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX
                                        

- Raw text -


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