From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MZO99-00031c-LZ for mharc-grub-devel@gnu.org; Fri, 07 Aug 2009 08:02:07 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZO97-0002zt-67 for grub-devel@gnu.org; Fri, 07 Aug 2009 08:02:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZO92-0002v9-0M for grub-devel@gnu.org; Fri, 07 Aug 2009 08:02:04 -0400 Received: from [199.232.76.173] (port=46630 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZO91-0002v0-HQ for grub-devel@gnu.org; Fri, 07 Aug 2009 08:01:59 -0400 Received: from mx20.gnu.org ([199.232.41.8]:59789) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MZO90-000528-Bu for grub-devel@gnu.org; Fri, 07 Aug 2009 08:01:58 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MZO8y-0003hE-Oe for grub-devel@gnu.org; Fri, 07 Aug 2009 08:01:57 -0400 Received: from [85.180.15.107] (e180015107.adsl.alicedsl.de [85.180.15.107]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MKv5w-1MZO8v1MOt-000bNV; Fri, 07 Aug 2009 14:01:53 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: <20090807113928.GM6695@thorin> References: <1249551551.3663.7.camel@fz.local> <20090807113928.GM6695@thorin> Content-Type: text/plain Date: Fri, 07 Aug 2009 14:02:52 +0200 Message-Id: <1249646572.3592.10.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.27.5 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/3wR6Ft0ka0aBJvI7tCusGbcmasaPqNkEzolV 4flc5ijjtXvheLaQNGDNCzUb8E/2xVI/JmqHookCCmu/rGE/hD nn00JKeoy6jGANbJrBUHw== X-Detected-Operating-System: by mx20.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: [PATCH] move functionality of font_path() directly to util/grub-mkconfig.in and prefer unicode.pf2 over ascii.pf2 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2009 12:02:05 -0000 Am Freitag, den 07.08.2009, 13:39 +0200 schrieb Robert Millan: > On Thu, Aug 06, 2009 at 11:39:11AM +0200, Felix Zielcke wrote: > > + for dir in ${pkgdatadir} /boot/grub /usr/share/grub ; do > > + for basename in unicode unifont ascii; do > > + path="${dir}/${basename}.pf2" > > + if is_path_readable_by_grub ${path} > /dev/null ; then > > + GRUB_FONT_PATH=${path} > > + else > > + continue > > + fi > > + if [ "${basename}" = "ascii"] ; then > > + # make sure all our children behave in conformance with ascii.. > > + export LANG=C > > + fi > > + break 2 > > + done > > + done > > + if [ -z "${GRUB_FONT_PATH}" ] ; then > > + # fallback to the native terminal for this platform > > + unset GRUB_TERMINAL_OUTPUT > > + fi > > fi > > ;; > > -esac > > - > > -# does our terminal support utf-8 ? > > -case ${GRUB_TERMINAL_OUTPUT} in > > - gfxterm) ;; > > *) > > # make sure all our children behave in conformance with ascii.. > > export LANG=C > > - ;; > > esac > > It seems that "export LANG=C" is issued twice? > Once if gfxterm gets used and once like before for all other output terminals. -- Felix Zielcke Proud Debian Maintainer