naiman@pegasus.UUCP (Ephrayim J. Naiman) (06/03/84)
I am trying to write a curses program on systems that run on termcap (I'm used to terminfo). I've tried many times to have a '^L' clear and refresh the screen with the following code with no success : clearok (win,TRUE); wrefresh (win); The exact same code works on terminfo. I've tried this on a 4.1BSD and a 3.0 USG (I think that's what it's called). The only way I've been able to force a refresh is : clear(); refresh(); touchwin (win); wrefresh (win); Is that the only way to do it or am I doing something wrong ? Another question, how do I deal with ^Z on BSD systems ? All I get is a segment fault when I try to foreground the curses program. -- ==> Ephrayim J. Naiman @ AT&T Information Systems Laboratories (201) 576-6259 Paths: [ihnp4, allegra, ...]!pegasus!naiman