From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MZP0E-0003qn-C0 for mharc-grub-devel@gnu.org; Fri, 07 Aug 2009 08:56:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZP0C-0003p6-EY for grub-devel@gnu.org; Fri, 07 Aug 2009 08:56:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZP07-0003ju-66 for grub-devel@gnu.org; Fri, 07 Aug 2009 08:56:55 -0400 Received: from [199.232.76.173] (port=40439 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZP06-0003jK-7k for grub-devel@gnu.org; Fri, 07 Aug 2009 08:56:50 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:53746) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MZP05-0006v8-I4 for grub-devel@gnu.org; Fri, 07 Aug 2009 08:56:49 -0400 Received: from [85.180.15.107] (e180015107.adsl.alicedsl.de [85.180.15.107]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MKsym-1MZP041SkC-000XTe; Fri, 07 Aug 2009 14:56:48 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: <1249646572.3592.10.camel@fz.local> References: <1249551551.3663.7.camel@fz.local> <20090807113928.GM6695@thorin> <1249646572.3592.10.camel@fz.local> Content-Type: text/plain Date: Fri, 07 Aug 2009 14:57:47 +0200 Message-Id: <1249649867.3592.11.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.27.5 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18JigEiRCn4Pz427uXzsZACKuP1vC8CZ5rWL+9 fxJKplx2ZuboSo0jvP7swg5DC4ng5fnd2yIvXumoyuwnpNsm4V IUk9tglNN6FXKUuyFJqjBXRuC+mw2bs X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:56:56 -0000 Am Freitag, den 07.08.2009, 14:02 +0200 schrieb Felix Zielcke: > 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. I commited it now with an ack from Robert on IRC. -- Felix Zielcke Proud Debian Maintainer