creps@silver.bacs.indiana.edu (Steve Creps) (01/24/88)
While porting a program which uses Curses from Unix to MS-DOS I ran into a problem with the last line of a window not being printed. I finally traced it down to figure out that the newwin routine is not giving the fields window->maxx and window->maxy the same value as the Unix version does. What is happening is that the Unix version gives maxy and maxx the exact values that are passed to newwin, whereas PC Curses gives maxy and maxx these values decremented by one. I would tend to favor the Unix version as being the correct version, so an easy fix is to change lines 62 and 63 of newwin.c to remove the " - 1"'s. - - - - - - - - - Steve Creps on the VAX 8650 running Ultrix 2.0-1 at Indiana University. creps@silver.bacs.indiana.edu, ...iuvax!silver!creps, creps@iubacs.bitnet "F-14 Tomcat! There IS no substitute."