Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site pegasus.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!ihnp4!pegasus!naiman
From: naiman@pegasus.UUCP (Ephrayim J. Naiman)
Newsgroups: net.bugs.4bsd,net.bugs.usg
Subject: Curses question
Message-ID: <1378@pegasus.UUCP>
Date: Sun, 3-Jun-84 14:23:56 EDT
Article-I.D.: pegasus.1378
Posted: Sun Jun  3 14:23:56 1984
Date-Received: Tue, 5-Jun-84 19:33:33 EDT
Organization: AT&T Information Systems, Lincroft NJ
Lines: 25

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