Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OWCqx-0006jX-JQ for mharc-grub-devel@gnu.org; Tue, 06 Jul 2010 14:26:43 -0400 Received: from [140.186.70.92] (port=52680 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWCqv-0006ir-Hw for grub-devel@gnu.org; Tue, 06 Jul 2010 14:26:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWCqu-0004vG-3l for grub-devel@gnu.org; Tue, 06 Jul 2010 14:26:41 -0400 Received: from smarthost03.mail.zen.net.uk ([212.23.3.142]:48021) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWCqt-0004v4-RW for grub-devel@gnu.org; Tue, 06 Jul 2010 14:26:40 -0400 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost03.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1OWCqs-0000Y6-Dj for grub-devel@gnu.org; Tue, 06 Jul 2010 18:26:38 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1OWCqr-0000y1-00; Tue, 06 Jul 2010 19:26:37 +0100 Date: Tue, 6 Jul 2010 19:26:37 +0100 From: Colin Watson To: The development of GNU GRUB Message-ID: <20100706182637.GR21862@riva.ucam.org> References: <20100705124723.GD21862@riva.ucam.org> <4C327397.4030508@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4C327397.4030508@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost03-IP: [82.69.40.219] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: gfxterm/pager regression X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Tue, 06 Jul 2010 18:26:43 -0000 On Tue, Jul 06, 2010 at 02:06:47AM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 07/05/2010 02:47 PM, Colin Watson wrote: > > gfxterm is behaving very oddly for me with 'set pager=1' right now; the > > --MORE-- prompt appears after only a few lines of text have been output. > > It looks rather as if it is counting the number of output characters as > > if they were the number of output lines. This doesn't happen when the > > terminal output is an ordinary VGA console. > > > > Looking at normal/term.c:put_glyphs_terminal, it seems that it > > increments state->num_lines after every glyph. This seems pretty odd. > > Doesn't it need to do something a bit smarter than that? Vladimir, is > > this a regression from your bidi branch merge? > > Looks this way. Please test attached patch. This looks good and works much better. Thanks! -- Colin Watson [cjwatson@ubuntu.com]