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]

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


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@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19



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