Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!math.fu-berlin.de!opal!unido!cat!incom!orfeo!hotb!escape!root From: root@escape.radig.de (0000-Admin(0000)) Newsgroups: comp.unix.questions Subject: Re: naive question about turning off cursor Message-ID: <1991Apr02.160346.1220@escape.radig.de> Date: 2 Apr 91 16:03:46 GMT References: <1991Mar26.172018.2133@uicbert.eecs.uic.edu> Distribution: comp Organization: Felix the double Helix Lines: 30 lam@uicbert.eecs.uic.edu (Michael Lam) writes: >Does anyone know how to turn off the cursor while running a >C program, maybe using curses.h. >Any comment will be very much appreciated. hi, i don't know of any CURSES way of turning the cursor on/off, however there is a termcap/terminfo capability, which you can use. it is: TERMINFO: civis - Make cursor invisible cvvis - Make cursor very visible cnorm - Make cursor normal the TERMCAP equivalents are: vs, vi, and ve. also, you might check whether your terminal has a "cursor is hard to see" glitch. You can find that out with the TERMINFO flag chts. there is no TERMCAP equivalent, though, so that flag might not be in the SUN-OS terminal description databases. hope that helps you. so long, felix -- Felix Gaehtgens, Homburger Str. 26, 6000 Frankfurt/main(argc, argv) 90, FRG EMAIL: felix@escape.radig.de or root@escape.radig.de