curses windows - a problem

GriffithsL> lxg at cs.bham.ac.uk
Sat Sep 1 00:17:30 AEST 1990




	I have a problem using curses on a Sun 3/60 and if anybody could
	help me I would be very grateful.

	I have a simple routine which creates two curses windows. The
	problem arises when I reach the bottom of the window. Anything
	I type reappears on the bottom line as the window scrolls, which
	produces an effect something like this

_______________________________________________________________________________

	
	aaaaa      - Before scrolling

	aaaaa      - After scrolling
        aaaaa

_______________________________________________________________________________


	If I type along the bottom line it overwrites this "echo". Also, if
	I type a carriage return the window scrolls and the echo disappears.
	
	The windows are open in crmode(), noraw() with noecho(), scrollok(), 
	and nl() set TRUE.

	I realise that I'm asking a bit much, but if this is a well known
	bug in our implementation of curses rather that something stupid
	that I am doing (which is obviously more likely), it would save
	me a bit of time to know about it.

	Cheers

	Griff, Univ. Of Birmingham, GB.

	(PS - we are running a fairly antiquated version of SunOS)

	(PPS - If this is the wrong group to post this type of question
	       sorry - I couldn't find comp.curses.questions.)
_______________________________________________________________________________
_______________________________________________________________________________



More information about the Comp.unix.questions mailing list