Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!purdue!bu-cs!dartvax!othello.dartmouth.edu!pete From: pete@othello.dartmouth.edu (Pete Schmitt) Newsgroups: comp.sys.ibm.pc Subject: pccurses v1.3 mvwin() problem Message-ID: <16679@dartvax.Dartmouth.EDU> Date: 10 Nov 89 00:55:16 GMT Sender: news@dartvax.Dartmouth.EDU Reply-To: pete@othello.dartmouth.edu (Pete Schmitt) Organization: Dartmouth College, Hanover, NH Lines: 38 The following code works correctly on BSD. It rotates three small windows that everlap each other. But under pccurses (compiled with Turbo-C 1.5) the three small windows don't move from the upper left corner of the screen. Does anyone have this working? ==============================cut here============================== #include main() { WINDOW *win; int i; initscr(); box(stdscr,'*','-'); refresh(); sleep(2); win = newwin(10, 20, 3, 3); for(i=1;i<10;i++) { mvwin(win,3,3); box(win,'*','*'); overlay(win,stdscr); refresh(); sleep(1); box(win,'.','.'); mvwin(win,5,5); overlay(win,stdscr); refresh(); sleep(1); box(win,'+','+'); mvwin(win,2,8); overlay(win,stdscr); move(15,1); refresh(); sleep(1); } endwin(); }