Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!IRO.UMontreal.CA!ouareau.IRO.UMontreal.CA!babin From: babin@IRO.UMontreal.CA (Gilbert Babin) Newsgroups: comp.unix.programmer Subject: problem with screen update optimization in curses Keywords: C, curses, multiple windows Message-ID: <1991Jan23.202536.1406@IRO.UMontreal.CA> Date: 23 Jan 91 20:25:36 GMT Sender: news@IRO.UMontreal.CA Reply-To: babin@IRO.UMontreal.CA (Gilbert Babin) Organization: Universite de Montreal Lines: 21 I am currently writing a package using curses to implement simple windowing objects, i.e. menu, submenu, dialogboxes, etc... I developed part of it on VMS, but I'm trying to get the same result on UNIX (SUN). Unfortunately, when refreshing the screen in Unix, it optimizes the flow of characters sent to the screen, which does not occur under VMS, which will always completely refresh. I tried using touchwin() before refreshing evry window, but for each window update the 3 or 4 layered windows flicker. This becomes annoying when it occurs every time you type a character... Is there any way to go around this optimization without having the screen flickering, and without having to redraw each window every time it has to be refreshed? -- ----------------------------------------------------------------------- Gilbert Babin Rensselaer Polytechnic Institute babin@iro.umontreal.CA Decision Sciences & Engineering Systems (514)382-3863 Troy, NY, USA, 12180-3590