From: Adrien Hernot Newsgroups: comp.os.msdos.djgpp Subject: Re: pdcurses question Date: Thu, 24 Apr 1997 16:06:24 +0200 Organization: Universite Paris-Sud, France. Lines: 18 Message-ID: <335F68E0.41C67EA6@obspm.fr> References: NNTP-Posting-Host: gin.obspm.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Eneko Lacunza wrote: > > Hello All! > > I'm trying to write some 8-bit >127 characters with the addch function > of PDCurses... but although I don't say to, the character appears blinking, > bold, and with all other attributes set. It simply ignores the current attributes. > If I use addstr, all goes fine, but I what I want to do is write a LOT of chars > separately, so I need addch or a function like it. Ok, I am just begining with curses. But before writing to a window, you must set the current attributes (colors bg/fg, blinking, highlight ...) via function attrset(), attron() and attroff(). What versions of PDCurses do you use ? I think the latest is 2.2. Adrien