[comp.unix.questions] CURSES under XENIX

deutsch@jplgodo.UUCP (Michael Deutsch ) (12/31/87)

I need help from a CURSES hacker preferably under XENIX.

I am using the standard CURSES interface in my application
and I've run into the following problems.

1.	I am unable to locate "wattrset()" function, nor are the
	constant attributes A_STANDOUT, A_UNDERLINE, A_BLANK, etc.
	defined anywhere i've tried, such as: "curses.h" or
	"term.h".  All I've found is "wstandout()" and
	"wstandend()"......  And I'd like to avoid using
	lower level variables such as: SO, SE, US, UE, etc.

2.	For some strange reasons the "wcleartoel()" does not
	work in all cases, although it is clear that it is being
	executed, by the way I do "wrefresh(win)" after I try
	to clear to end of line.  I found that "nl()", crbreak(),
	etc. can cause some strange results, but I was unable to
	solve the "wcleartoel()" problem yet.

3.	The output on my WYSE-50 terminal looks like you know
	what, while when I use "vi()" and some other cursor
	addressing programs things seem to be normal.  The
	problem I've noticed is that the column addressing
	seems to be brain damaged, while rows seem to make
	sense.  The output on the XENIX monitor is O.K.

4.	If you have solved these problems or know the solution
	please reply by E-mail or you may call collect
	
	Mike at:	(619) 452 - 8711

	Your TIME and help are greatly appreciated.

brad@bradley.UUCP (01/02/88)

Sounds like your version of curses is V7 based not System V.  Given
this one could write a new wclrtoeol() function.  The other things
you mention don't apply to V7 curess (like the attribute stuff)

brad