Path: utzoo!attcan!uunet!husc6!rutgers!cmcl2!phri!marob!daveh From: daveh@marob.masa.com (Dave Hammond) Newsgroups: comp.unix.xenix Subject: Re: Terminfo question Message-ID: <24AA1B48.28510@marob.masa.com> Date: 29 Jun 89 12:51:18 GMT References: <255@spcc386.UUCP> Reply-To: daveh@marob.masa.com (Dave Hammond) Organization: ESCC, New York City Lines: 20 In article <255@spcc386.UUCP> stefan@spcc386.UUCP (Stefan Posthuma) writes: >[... re: cursor visbility control ...] >But now I want to use these capabilities in my program. I haven't found any >standard Terminfo routines to do this, and I don't know how to read the >Terminfo database directly without a lot of trouble. The AT&T man entry (sorry, no Xenix manuals handy) for terminfo defines the function `curs_set': curs_set(visibility) The cursor state is set to invisible, normal, or very visibile for _visibility_ equal to 0, 1, or 2. The previous visibility is returned (or -1 for terminals w/out the required support). BTW, a quick `nm -ng /lib/386/Slibtinfo.a' shows entry points for curs_set(). Documented or not, the function exists in the Xenix terminfo. -- Dave Hammond daveh@marob.masa.com