Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA6379 ; Fri, 08 Jan 93 22:09:28 EST Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!mcsun!fuug!kiae!demos!newsserv From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su> Newsgroups: comp.unix.bsd Subject: [386bsd] Patch #4 for 8-bit curses, for standard curses too! Date: Mon, 11 Jan 93 12:46:42 +0300 Distribution: world Organization: Ha-oh-lahm Yetzirah Message-ID: <bI28KKhSt3@astral.msk.su> Sender: news-service@newcom.kiae.su Reply-To: ache@astral.msk.su Lines: 58 Oh, NO! This curses are really buggy! This small patch fix following problem: [ assumed scrollok(stdscr, TRUE) ] when addch(ch) at lower right corner of screen, curses are realy gone mad instead if simple scrolling... Curses code assumed that this will be done correctly, but implement it with two bugs. *** addbytes.c.was2 Sun Jan 10 20:01:17 1993 --- addbytes.c Mon Jan 11 11:29:09 1993 *************** *** 115,124 **** newline: if (++y >= win->_maxy) if (win->_scroll) { SYNCH_OUT(); scroll(win); SYNCH_IN(); - --y; } else return ERR; --- 115,124 ---- newline: if (++y >= win->_maxy) if (win->_scroll) { + --y; SYNCH_OUT(); scroll(win); SYNCH_IN(); } else return ERR; *** deleteln.c.was1 Fri Jan 8 16:00:59 1993 --- deleteln.c Mon Jan 11 12:13:16 1993 *************** *** 67,73 **** temp = win->_y[y]; for (end = &temp[win->_maxx]; temp < end; ) *temp++ = ' '; ! touchline(win, win->_cury, 0, win->_maxx - 1); if (win->_orig == NULL) _id_subwins(win); return OK; --- 67,73 ---- temp = win->_y[y]; for (end = &temp[win->_maxx]; temp < end; ) *temp++ = ' '; ! touchline(win, y, 0, win->_maxx - 1); if (win->_orig == NULL) _id_subwins(win); return OK; -- In-This-Life: Andrew A. Chernov | "Hay mas dicha, mas contento Internet: ache@astral.msk.su | "Que adorar una hermosura Organization: The RELCOM Corp., | "Brujuleada entre los lejos Moscow, Russia | "De lo imposible?!" (Calderon)