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 Date: Wed, 14 Feb 2001 16:09:51 -0500 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Re: unknown commands in \033[xx;yy;zzm aren't ignored Message-ID: <20010214160951.A18991@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com References: <2943025 DOT 20010214235759 AT logos-m DOT ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <2943025.20010214235759@logos-m.ru>; from deo@logos-m.ru on Wed, Feb 14, 2001 at 11:57:59PM +0300 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