Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KKdRn-0003G1-T6 for mharc-grub-devel@gnu.org; Sun, 20 Jul 2008 14:15:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KKdRm-0003Ei-07 for grub-devel@gnu.org; Sun, 20 Jul 2008 14:15:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KKdRh-0003B1-WA for grub-devel@gnu.org; Sun, 20 Jul 2008 14:15:49 -0400 Received: from [199.232.76.173] (port=41807 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKdRh-0003Au-OB for grub-devel@gnu.org; Sun, 20 Jul 2008 14:15:45 -0400 Received: from smtp-vbr5.xs4all.nl ([194.109.24.25]:2404) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KKdRh-0002Hp-A6 for grub-devel@gnu.org; Sun, 20 Jul 2008 14:15:45 -0400 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id m6KIFh4Z071838 for ; Sun, 20 Jul 2008 20:15:44 +0200 (CEST) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <89CD688385DC46C0B8A1049A6C2B14F4@fz> Mail-Copies-To: mgerards@xs4all.nl Date: Sun, 20 Jul 2008 20:16:30 +0200 In-Reply-To: <89CD688385DC46C0B8A1049A6C2B14F4@fz> (Felix Zielcke's message of "Sun, 20 Jul 2008 15:47:32 +0200") Message-ID: <873am4ju9t.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: [PATCH] make assumed terminal width on cmd help dynamic 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: Sun, 20 Jul 2008 18:15:50 -0000 "Felix Zielcke" writes: > Thanks to nyu and daChaac on IRC By default with gfxterm loaded and > gfxmode set to 640*480 help command produces empty lines see [0] help > command assumes a fixed width of 80 but gfxterm in 640*480 has only 77 > > This is a patch to fix it. Here is the changelog entry from the other mail (just resend the patch if you have a new changelog entry): Felix Zielcke * commands/help.c: Include . (TERM_WIDTH): Redefined to GRUB_TERM_WIDTH. (two newlines instead of one) It would be better to replace all users of TERM_WIDTH to use GRUB_TERM_WIDTH, like you mentioned. Only ugly thing is that this is actually a function... -- Marco