From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VmJA6-0001R0-1e for mharc-grub-devel@gnu.org; Fri, 29 Nov 2013 03:10:54 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmJ9u-0001My-Ut for grub-devel@gnu.org; Fri, 29 Nov 2013 03:10:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VmJ9m-0003i5-Hp for grub-devel@gnu.org; Fri, 29 Nov 2013 03:10:42 -0500 Received: from mail-lb0-x229.google.com ([2a00:1450:4010:c04::229]:45652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmJ9m-0003hy-A7 for grub-devel@gnu.org; Fri, 29 Nov 2013 03:10:34 -0500 Received: by mail-lb0-f169.google.com with SMTP id y6so6973064lbh.28 for ; Fri, 29 Nov 2013 00:10:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=xyWcwIEy9SysaJYtH4TYLQgWfgGG00oxurKxI28H3K4=; b=TnTW7PGEWUF4sPhu/BHd/52Xlhw4uSDKNicqu0zOjHfeDXmVNkV8jh+G9UCv4loCLj J7x2TKiWYrfhMlqm2Rd4ZkzFcUwCVLKmYlerPX3SH0AAffHvYpmI5LCRQZvFe4d20vZa tW4RRyJjPziLrDaxpuwZx6E/UT9prQ7oWLiJSKusIiIDfDePPDGhhPYEh5lqSLMxT5lA 8S4l5oAubcTib5gskyF3ymt+bagOapuK+GX7bTh75kLpaTP1SDkJDBL8kMp7gZi0pS9v eehaRKc2fnUcmlkCQwppvj7k2GYpHMNsKH13Qo14QqvqMWtrqowywYH9a0gg6IN42vJJ TF+g== X-Received: by 10.152.28.161 with SMTP id c1mr7778325lah.24.1385712633274; Fri, 29 Nov 2013 00:10:33 -0800 (PST) Received: from localhost.localdomain (ppp91-76-134-134.pppoe.mtu-net.ru. [91.76.134.134]) by mx.google.com with ESMTPSA id np10sm28645508lbb.7.2013.11.29.00.10.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Nov 2013 00:10:32 -0800 (PST) From: Andrey Borzenkov To: grub-devel@gnu.org Subject: [PATCH] use light-gray as default color in normal.mod for consistency Date: Fri, 29 Nov 2013 12:10:27 +0400 Message-Id: <1385712627-31628-1-git-send-email-arvidjaar@gmail.com> X-Mailer: git-send-email 1.8.1.4 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::229 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2013 08:10:51 -0000 As we are in clean up stage ... annoyed me for quite some time. Defalut font color on PC console seems to be light-gray; this is what user also gets in rescue prompt and what is defined as GRUB_TERM_DEFAULT_NORMAL_COLOR. But normal.mod defaults to white. This makes unpleasant visual effect as colors are changed after kernel is booted. Use the same color eveywhere for consistency and default to light-gray as this is also what at least Linux kernel is using by default. --- grub-core/normal/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c index ad36273..644e916 100644 --- a/grub-core/normal/main.c +++ b/grub-core/normal/main.c @@ -572,8 +572,8 @@ GRUB_MOD_INIT(normal) grub_env_export ("color_highlight"); /* Set default color names. */ - grub_env_set ("color_normal", "white/black"); - grub_env_set ("color_highlight", "black/white"); + grub_env_set ("color_normal", "light-gray/black"); + grub_env_set ("color_highlight", "black/light-gray"); for (i = 0; i < ARRAY_SIZE (features); i++) { -- tg: (69ca97c..) u/default-color (depends on: master)