lam@uicbert.eecs.uic.edu (Michael Lam) (03/26/91)
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
stan@Dixie.Com (Stan Brown) (03/28/91)
lam@uicbert.eecs.uic.edu (Michael Lam) writes:
=>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.
On my system (ancient) the low level functions vi & ve turn it
of and back on respectivly
--
Stan Brown P. C. Design 404-363-2303 Ataanta Ga.
(emory|gatech|uunet) rsiatl!sdba!stan "vi forever"
"Operating Systems, Like Editors Are Religions" -- Armando Stettner
rbj@uunet.UU.NET (Root Boy Jim) (03/28/91)
In article <1991Mar25.204723.8003@uicbert.eecs.uic.edu> lam@uicbert.eecs.uic.edu (Michael Lam) writes: >Does anyone know how to turn off the cursor... Sure, you just XOR it with itself and... No, wait a minute, that's patented. Lessee, oh yeah, use the backing store... Uh no, that too... Oh well... -- [rbj@uunet 1] stty sane unknown mode: sane