Hello!

> in the .mc/ini file I'm able to change all colors without problems. But
> is there an ability to change a color to bold? Example:
>
> [Colors]
> Eterm=directory=white_bold,blue
>
> or something else...
>
> Is this possible? If not, would it be easy to change this in the
> sources?

The "bold" attribute just makes the color bright.  The terminal can make
the font bold, but there is no interface in S-Lang and ncurses that would
allow you to have, for example, red, bright red, bold red and bold right
red on the came screen.

You could try using the "underline" (or some other) attribute and then
modify the terminal to make it use a different font instead of
underlining.

If you want to do something like that I suggest that you write a little
test program and make sure that it's possible at all.  Test programs for
ncurses would be a good starting point.

Once you know that it's possible, modifying mc shouldn't be very hard.
The array for keeping additional attributes already exists - it's called
attr_pairs.  It's only used when mc is compiled with ncurses.  Read the
attributes from the config file and put them into that array.

-- 
Regards,
Pavel Roskin
_______________________________________________
Mc mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/mc
  • bold colors Andreas Volz
    • Re: bold colors Pavel Roskin

Reply via email to