Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ames!uhccux!hale.ifa.hawaii.edu From: denault@hale.ifa.hawaii.edu (Tony Denault) Newsgroups: comp.unix.programmer Subject: Need Help with curses Message-ID: <11350@uhccux.uhcc.Hawaii.Edu> Date: 7 Feb 91 03:56:33 GMT Sender: news@uhccux.uhcc.Hawaii.Edu Organization: Institute For Astronomy, Hawaii Lines: 23 I trying to write an application using the curses library (for the first time). My application will fork & exec two process. One will use curses to output on a 80 by 22 cell window. The other will accept key strokes and output on an 80 by 2 window. My terminal size is 80 by 24. Basicly I want to divide the screen into 2 parts. I think each application will need to create a stdscr of 80 by 24 and then create a sub-windows & position is sub-window correctly. Is this the way for two processes can share the screen? How can I prevent the cursor from jumping around while the user is type when another process is updating the screen? Thanks Tony D. -- /------------------------------------------------------------------------\ | Tony Denault, Institute for Astronomy, | denault@uhifa.ifa.hawaii.edu | | 2680 Woodlawn Drive, Honolulu, HI 96789 | (808) 956-8101 | \------------------------------------------------------------------------/