Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!clyde.concordia.ca!mcgill-vision!quiche!quiche.cs.mcgill.ca From: adr@quiche.cs.mcgill.ca (Alain DURAND) Newsgroups: comp.unix.questions Subject: help needed with curses... Message-ID: <5460@quiche.cs.mcgill.ca> Date: 1 Nov 90 20:10:37 GMT Sender: adr@quiche.cs.mcgill.ca Distribution: na Organization: SOCS - Mcgill University, Montreal, Canada Lines: 23 Hi, I'm desesperatly looking for help with some low-level curses functions. This is my problem: i'm using curses in a program that spawnl (fork, exec) to another one that should also write on the same screen. But i do not want the screen to be redrawn from scratch (as the second program is short and called very ofen, the result is that the screen is flashing all the time...). So i'm using some low-level curses functions known as: scr_dump, scr_restore and scr_init. In the sun doc curses(3v), it's said that i shall use endwin(); scr_dump() in the master pgm and initscr() scr_init() in the slave one. i tried and failled. i tried with scr_restore, it works, but i've to perform a refresh or a wnoutrefresh before, which means that the screen is ereased before the scr_restore and i've a flash on the screen...too bad. i'd like to have some help from people that have used succesfully those functions... thanks a lot, alain Durand, ps: please reply by E-mail at: adr@quiche.cs.mcgill.ca