From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 10 08:50:22 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 2D1E71065670 for ; Sat, 10 Oct 2009 08:50:22 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-bw0-f223.google.com (mail-bw0-f223.google.com [209.85.218.223]) by mx1.freebsd.org (Postfix) with ESMTP id AE9068FC12 for ; Sat, 10 Oct 2009 08:50:21 +0000 (UTC) Received: by bwz23 with SMTP id 23so1081837bwz.43 for ; Sat, 10 Oct 2009 01:50:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=7i04fX0YUo0aH8t676wLE/KygD698z3kquZx9ljsvG0=; b=jsyvmJMEdJVeMrJDpVwHxIQg+MpaIjthniRtw7kl4tBIdtdLQpH39IK7YZvpeWce+X P4XLswHjRIkmW6XIDSa7n5nHL0usR8hZMU3M/CsEVTLVxYqVkNFkWkvGoAhy8+a978J9 YkqA99FyUKT22I3EsxmtyO/Mez7CCnv/qBO9c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=PxG2C6ODBBOOEjeOMNTkoXZzbkRlJBbEGy8tgfiInThC83KQXHXikRzzMkReozqhgM MG5rIwYiRhwM7li6F9iQMJloPmKLnASXnNYipRhiWQIGiQODhXdjFJQGWSSGaL5XNUzA HBnpL+a23MGgdm34uQzADLAJF4obF3RxcRwFk= MIME-Version: 1.0 Received: by 10.103.78.7 with SMTP id f7mr1472300mul.95.1255164620192; Sat, 10 Oct 2009 01:50:20 -0700 (PDT) In-Reply-To: References: Date: Sat, 10 Oct 2009 08:50:20 +0000 Message-ID: <3a142e750910100150g7459e037u7b84b4b4bbc2bf8@mail.gmail.com> From: Paul B Mahol To: Alexander Best Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org 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 08:50:22 -0000 On 10/9/09, Alexander Best 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.