Date: Sat, 10 Oct 2009 12:06:39 +0200 (CEST) From: Alexander Best <alexbestms@math.uni-muenster.de> To: <freebsd-hackers@freebsd.org> Subject: Re: sysinstall colours Message-ID: <permail-20091010100639f0889e8400005d05-a_best01@message-id.uni-muenster.de> In-Reply-To: <alpine.BSF.2.00.0910091731010.2004@qvzrafvba.5c.ybpny>
next in thread | previous in thread | raw e-mail | index | archive | help
jhell schrieb am 2009-10-09: > On Fri, 9 Oct 2009 21:52 +0200, alexbestms@ 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_dre > >sden_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. > >cheers. > >alex > sysinstall looks like this too when it is ran in a gnome terminal or > some other terminal that is ran in a X environment. > -- > ;; dataix.net!jhell 2048R/89D8547E 2009-09-30 > ;; BSD since FreeBSD 4.2 Linux since Slackware 2.1 > ;; 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E i'm running sysinstall in xterm with $TERM set to xterm-color and the colors don't seem any different to me. but you have a point there, because i could edit ~/.Xdefaults and adjust some xterm resources to change the standard colours. alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-20091010100639f0889e8400005d05-a_best01>