Curses

Jeff Holmes jeff at questar.QUESTAR.MN.ORG
Fri Jan 12 06:34:39 AEST 1990


	I'm doing some work using curses and I was wondering
	if anyone could tell me if this is the correct way
	to test for funtion key presses.

	...
	keypad(w, TRUE);
	...
	c = getch();

	if(c == KEY_LEFT)
	...

	NOTE: I'm using a qvt101+ terminal and the termcap and terminfo
	      values for the left arrow key is ^H.

	Anyone know?

	Thanks
		Jeff
-- 
Jeff Holmes	                  DOMAIN: jeff at questar.mn.org 
Questar Data Systems                UUCP: amdahl!bungia!questar!jeff
St. Paul, MN 55121		    AT&T: +1 612 688 0089



More information about the Comp.unix.xenix mailing list