sysinstall colours

Paul B Mahol onemda at gmail.com
Sat Oct 10 08:50:22 UTC 2009


On 10/9/09, Alexander Best <alexbestms at math.uni-muenster.de> wrote:
> hi there,
>
> sysinstall is probably one of those ancient relics everybody tries to avoid
> dealing with from a developers point of view but i just found this beautiful
> screenie of a (probably) ncurse-based installer:
>
> http://www.phoronix.net/image.php?id=yoper_2009_beta&image=yoper_dresden_7_lrg
>
> i was surprised how much better it looks with those nice colours compared to
> sysinstall.
>
> is there any way the sysinstall colours could be adjusted (without a lot of
> work) to also feature such beautiful colours? i had a quick look at the
> sysinstall, libdialog and ncurses sources and to me it seems that to change
> sysinstall's colours the hardcoded values of
>
> COLOR_BLACK
> COLOR_RED
> COLOR_GREEN
> COLOR_YELLOW
> COLOR_BLUE
> COLOR_MAGENTA
> COLOR_CYAN
> COLOR_WHITE
>
> have to be changed in contrib/ncurses/ncurses/base/lib_color.c or is there
> an
> easier way? because this would of course affect all apps that are linked to
> ncurses.

This have nothing to do with ncurses, colors you like  simple can not
be displayed in current syscons(4) and making support for 256 colors
or even true bit color in sysinstall(so that it looks amazing in
konsole) is waste of time.


More information about the freebsd-hackers mailing list