From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 9 21:32:50 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 B9547106566B for ; Fri, 9 Oct 2009 21:32:50 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id 3E2698FC1A for ; Fri, 9 Oct 2009 21:32:49 +0000 (UTC) Received: by ewy18 with SMTP id 18so1442401ewy.43 for ; Fri, 09 Oct 2009 14:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; bh=CA0V5UWKKnB26drqImeu37HLxbJWzetARD7POn+2yls=; b=JSP73gMt8cJXxFlfbPD12+5v81vYB8m41IysASZuCjW9lPvoPVkgwq8Me6qbHJnoIq XVDKawIYJZGzGM9HEFVt/yCGW/w9WuawW+TYUcw6Pcs6n2oeoWimVSS5K2PAE4XAPl8B 56C4/XLq2NFW/IRdrTDlptc2g3N8zNg+70Y9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=KL3us2bB4izKKq8d9pY5wo0lXghjSLVKcobvqLAgIOZtnEh9Al08YWOTsrFV+JIb5c MXLPVmjPPIKEC1weXEwVDkds0g9L4QMwqJUaKxSkwOHqFT1gevoxwpaHyla45ELxCgb7 rEhlGdbk1gpBWVgiS5ygpY1uaewyQOS/kwyto= Received: by 10.216.88.8 with SMTP id z8mr1026271wee.109.1255123968390; Fri, 09 Oct 2009 14:32:48 -0700 (PDT) Received: from dimension.5p.local (adsl-99-19-46-114.dsl.klmzmi.sbcglobal.net [99.19.46.114]) by mx.google.com with ESMTPS id p10sm249695gvf.29.2009.10.09.14.32.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 09 Oct 2009 14:32:47 -0700 (PDT) Sender: "J. Hellenthal" Date: Fri, 9 Oct 2009 17:32:43 -0400 From: jhell To: Alexander Best In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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: Fri, 09 Oct 2009 21:32:50 -0000 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_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. > > 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