This is the mail archive of the cygwin-developers@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: unknown commands in \033[xx;yy;zzm aren't ignored


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@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX
                                        


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]