Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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.20010214160719.00a901d0@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:08:04 -0500 To: Egor Duda , cygwin-developers AT cygwin DOT com From: "Larry Hall (RFK Partners Inc)" Subject: Re: unknown commands in \033[xx;yy;zzm aren't ignored In-Reply-To: <2943025.20010214235759@logos-m.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 03:57 PM 2/14/01, 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? > >Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 Forgive my stupidity, but what's wrong with this code and why would your example land you here? 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