Xref: utzoo comp.lang.c:28425 comp.unix.wizards:21790 comp.sys.att:9496 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucsd!usc!samsung!umich!sharkey!teemc!ka3ovk!irscscm!rshwake From: rshwake@irscscm (Ray Shwake) Newsgroups: comp.lang.c,comp.unix.wizards,comp.sys.att Subject: Re: Curses library on Univ V 3.1 Summary: Window attribute setting may have been changed Keywords: wattrset, curses Message-ID: <1990May1.161630.19419@irscscm> Date: 1 May 90 16:16:30 GMT References: <90115.143514SHANLEY@MAINE.BITNET> Reply-To: rshwake@irscscm.UUCP (Ray Shwake) Distribution: na Organization: Internal Revenue Service, Washington, DC Lines: 25 In article <90115.143514SHANLEY@MAINE.BITNET> SHANLEY@MAINE.BITNET writes: >Problem: I programmed some c code using the curses library under > Unix V 3.0 and the c language that come with that Unix ver. > This code did some highlighting on a terminal. > > I upgraded to Unix V 3.1. > > When I re-comply my old c code under the new os, I lose my > highlighting. > > Old c code compiled under unix V 3.0 highlights just fine > under the new os. I ran into a similar problem with an upgrade last year (I believe to the SCO Xenix 2.3 SDS). It involved a redefinition of the window attribute set command, wattrset, which was redefined in the curses.h or tinfo.h file to something like: #define wattrset w32attrset Like you, some highlighting in one particular application disappeared. I corrected it in the appropriate source file by undefining the define: Perhaps someone can expound on the otherwise undocumented changes that took place in curses.