From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JbwQK-0004Ei-AB for qemu-devel@nongnu.org; Wed, 19 Mar 2008 07:25:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JbwQG-0004D3-9O for qemu-devel@nongnu.org; Wed, 19 Mar 2008 07:25:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbwQF-0004Cz-Vr for qemu-devel@nongnu.org; Wed, 19 Mar 2008 07:25:32 -0400 Received: from os.inf.tu-dresden.de ([141.76.48.99]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JbwQF-000415-GM for qemu-devel@nongnu.org; Wed, 19 Mar 2008 07:25:31 -0400 Received: from [2002:8d4c:3001:48::80] (helo=erwin.inf.tu-dresden.de) by os.inf.tu-dresden.de with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) id 1JbwQC-0002bB-Cv for qemu-devel@nongnu.org; Wed, 19 Mar 2008 12:25:28 +0100 Received: from kauer by erwin.inf.tu-dresden.de with local (Exim 4.63) (envelope-from ) id 1JbwQC-0000lf-3e for qemu-devel@nongnu.org; Wed, 19 Mar 2008 12:25:28 +0100 Date: Wed, 19 Mar 2008 12:25:28 +0100 From: Bernhard Kauer Subject: Re: [Qemu-devel] [PATCH] fix ncurses output Message-ID: <20080319112528.GA568@erwin.inf.tu-dresden.de> References: <20080225174806.GI3136@chrom.inf.tu-dresden.de> <20080312003404.GA5018@volta.aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080312003404.GA5018@volta.aurel32.net> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Wed, Mar 12, 2008 at 01:34:04AM +0100, Aurelien Jarno wrote: > On Mon, Feb 25, 2008 at 06:48:06PM +0100, Bernhard Kauer wrote: > > The ncurses console uses mvwaddchnstr() to print a line of output > > to a ncurses pad. Unfortunately this routine stops to print further > > chars if a zero-char is seen in the line. This has the effect that > > parts of a line are never redraw. > > Do you have a simple testcase (program to run, code, ...). I have been > unable to reproduce this problem here. I didnot have an easy testcase yet, but it will happen if someone clears the VGA screen with zeros and tries to display a char later on the line. For the behaviour of the mvwaddchnstr() function see the ncurses source. Bernhard