Subject: Curses bug
To: None <port-pc532@sun-lamp.cs.berkeley.edu>
From: Julian H Stacey <Julian.H.Stacey@regent.e-technik.tu-muenchen.de>
List: port-pc532
Date: 10/19/1994 00:55:32
> From: leo@marco.de (Matthias Pfaller)
> Date: Tue, 16 Aug 1994 11:47:23 +0200
> I finally found the bug in curses that prevented my from displaying blanks
> in standout mode as the last character in a line. Could someone forward this
> to the correct mailing list?
> 
> 	Thank's - Matthias

This patch of Mathias hasn't made it into the tree yet,
probably 'cos the source has changed, so the patch aborted.
I haven't bothered to try to understand the source, but
have restructured it so it applies OK to sources of 94 10 14

Perhaps Phil may want to commit it ?

=======
*** old/src/lib/libcurses/refresh.c	Tue Oct 18 01:07:23 1994
--- new/src/lib/libcurses/refresh.c	Tue Oct 18 01:14:50 1994
***************
*** 298,304 ****
  
  			if (ce != NULL &&
  			    win->maxx + win->begx == curscr->maxx &&
! 			    wx >= nlsp && nsp->ch == ' ' && nsp->attr == 0) {
  				/* Check for clear to end-of-line. */
  				cep = &curscr->lines[wy]->line[win->maxx - 1];
  				while (cep->ch == ' ' && cep->attr == 0)
--- 298,304 ----
  
  			if (ce != NULL &&
  			    win->maxx + win->begx == curscr->maxx &&
! 			    wx > nlsp && nsp->ch == ' ' && nsp->attr == 0) {
  				/* Check for clear to end-of-line. */
  				cep = &curscr->lines[wy]->line[win->maxx - 1];
  				while (cep->ch == ' ' && cep->attr == 0)
========

Julian Stacey <stacey@freefall.cdrom.com>