Use of move() and refresh() in curses

Matt D. Robinson yakker at stengel.ucr.edu
Tue May 8 04:23:26 AEST 1990


I am trying to do a number of things in curses, without too much
luck.  So, I thought I could ask a few questions here that hopefully
someone could answer:

1.  When I do a move(ypos, xpos) in curses, how to I REALLY get the
	cursor to the proper position?  (I tried to refresh() the screen,
	but it didn't seem to work properly.  The cursor kept going all
	over the place.)

2.  When I try to highlight a space on the screen (Like a spreadsheet
	does on a field when it passes over it), how do I

		A)  Get the termcap entry?
		B)  Print out the termcap entry?
		C)  Turn the highlighting off?

3.  How do tgetnum, tgetstr, etc.  really work?  (The manual is pretty
	abstract.)

and finally,

4.  Are there any known bugs (or difficult workarounds) in curses that
	I should know about?

Thanks for all the help...

____________________________________________________________________________
Matt Robinson, UC Riverside (yakker at ucrmath.ucr.edu, ..!ucsd!ucrmath!yakker)



More information about the Comp.unix.questions mailing list