From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 10 10:06:42 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27D9F1065679 for ; Sat, 10 Oct 2009 10:06:42 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-exrelay3.uni-muenster.de (ZIVM-EXRELAY3.UNI-MUENSTER.DE [128.176.192.20]) by mx1.freebsd.org (Postfix) with ESMTP id B2DAD8FC16 for ; Sat, 10 Oct 2009 10:06:41 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.44,536,1249250400"; d="scan'208";a="15546383" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER01.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay3.uni-muenster.de with ESMTP; 10 Oct 2009 12:06:40 +0200 Received: by ZIVMAILUSER01.UNI-MUENSTER.DE (Postfix, from userid 149459) id 10DBE1B0763; Sat, 10 Oct 2009 12:06:40 +0200 (CEST) Date: Sat, 10 Oct 2009 12:06:39 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: sysinstall colours X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2009 10:06:42 -0000 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