naive question about turning off cursor

Michael Lam lam at uicbert.eecs.uic.edu
Tue Mar 26 06:47:23 AEST 1991


Does anyone know how to turn off the cursor while using
the curses package (after compiling with -lcurses -ltermcap 
and calling initscr)?

>From the curses manual, there are 3 functions that are supposed
to do this:

setsyx
curs_set
leaveok

When I tried it, first two were not found by ld (I included both
stdio.h and curses.h), and leaveok didn't work (I called by
leaveok(stdscr,TRUE) and leaveok(stdscr,FALSE))

Any comment will be very much appreciated.

-Michael Lam
 U of Illinois at Chicago



More information about the Comp.unix.internals mailing list