Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!gatech!usenet.ins.cwru.edu!ysub!psuvm!blekul11!ffaac09 From: FFAAC09@cc1.kuleuven.ac.be (Nicole Delbecque & Paul Bijnens) Newsgroups: comp.unix.questions Subject: Re: hide cursor in the curses? Message-ID: <91113.114037FFAAC09@cc1.kuleuven.ac.be> Date: 23 Apr 91 11:38:37 GMT References: <3104@sparko.gwu.edu> <1991Apr23.011203.4813@cbnewsk.att.com> Distribution: na Organization: K.U.Leuven - Academic Computing Center Lines: 29 In article <1991Apr23.011203.4813@cbnewsk.att.com>, jfv@cbnewsk.att.com (j.f.van valkenburg) says: > >In article <3104@sparko.gwu.edu>, srcan@seas.gwu.edu (Srcan Osmanagich) >writes: >> Is there any routine in the curses library that will 'hide' text cursor. >> > >The attron,attroff, and attrset can use the attribute A_BLANK which >will blank out the cursor. > >I think this is what you were asking about. I think he asked for the function curs_set() curs_set(0) is cursor invisible, curs_set(1) is cursor normal, curs_set(2) is cursor very visible. However, this function is (as far as I know) only available in the curses-package in Unix V.3 (ans SunOS S5-curses). The function is absent in V.2-curses or BSD-curses. And... many terminals cannot make their cursor invisible (insufficient hardware support); and... many terminfo-databases, as delivered don't include the control sequences (terminfo: civis, cnorm, cvvis; termcap: vi, ve, vs), so you may have to add them to your terminfo/termcap database. -- Polleke (Paul Bijnens) Linguistics dept., K. University Leuven, Belgium FFAAC09@cc1.kuleuven.ac.be