Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LQjQa-00084H-TA for mharc-grub-devel@gnu.org; Sat, 24 Jan 2009 09:24:04 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQjQY-000847-Tv for grub-devel@gnu.org; Sat, 24 Jan 2009 09:24:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQjQX-00083j-LR for grub-devel@gnu.org; Sat, 24 Jan 2009 09:24:02 -0500 Received: from [199.232.76.173] (port=56703 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQjQX-00083g-Hl for grub-devel@gnu.org; Sat, 24 Jan 2009 09:24:01 -0500 Received: from 197.red-80-32-81.staticip.rima-tde.net ([80.32.81.197]:36764 helo=mail.pina.cat) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LQjQX-0001Qp-2f for grub-devel@gnu.org; Sat, 24 Jan 2009 09:24:01 -0500 Received: from pinux (unknown [192.168.0.78]) by mail.pina.cat (Postfix) with ESMTP id 1E13F288FBA3E for ; Sat, 24 Jan 2009 15:24:00 +0100 (CET) Received: by pinux (Postfix, from userid 1000) id D79F2C605E; Sat, 24 Jan 2009 15:23:57 +0100 (CET) Date: Sat, 24 Jan 2009 15:23:57 +0100 From: Carles Pina i Estany To: grub-devel@gnu.org Message-ID: <20090124142357.GA27695@pina.cat> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: grub/grub-mkconfig export LANG=C 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: Sat, 24 Jan 2009 14:24:03 -0000 Hello, Doing some testing with gettext patch I see that grub-mkconfig is (usually) overriding LANG variable to LANG=c Actually there is some relevant parts: ---------- # XXX: should this be deprecated at some point? if [ "x${GRUB_TERMINAL}" != "x" ] ; then GRUB_TERMINAL_INPUT="${GRUB_TERMINAL}" GRUB_TERMINAL_OUTPUT="${GRUB_TERMINAL}" fi echo "x${grub_prefix}/gfxterm.mod" case x${GRUB_TERMINAL_OUTPUT} in x) # If this platform supports gfxterm, try to use it. if test -e ${grub_prefix}/gfxterm.mod ; then GRUB_TERMINAL_OUTPUT=gfxterm fi ;; xconsole | xserial | xofconsole | xgfxterm) ;; *) echo "Invalid output terminal \"${GRUB_TERMINAL_OUTPUT}\"" >&2 ; exit 1 ;; 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 ---------- Since it starts saying that maybe it's deprecated, do you think that now it's time to redo this part using another way? I think that, last months, has been some changes or patches about terminal output and I don't know if there is something pending in grub-mkconfig. Thanks, -- Carles Pina i Estany GPG id: 0x17756391 http://pinux.info