🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix
Article #578

using curses attributes

#578
From: Paul Virgo
Date: Thu, 30 Mar 1989 02:14
25 lines
1123 bytes
Hi folks...
 so for once I REALLY have a problem:

 Can't seem to use the attrset() command in a screen I designed.
 here's the sample format:


 attrset(A_BOLD);
 mvwaddstr(<win>,<y>,<x>,<string>);
 attrset(0);

 Problem is, the string isn't highlighted at all...
 so what am I doing wrong?? Am I close?

 E-mail or posted solutions will be appreciated,til then I'll keep 
 plugging...


					      Paul'MAD'Virgo

                    -----------------------------------------
		    * I think it may be always seen,
		      a poem as lovely as a screen..........
                    -----------------------------------------
Technical Details
Message-ID: <907@altos86.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!voder!pyramid!nsc!icldata!altnet!altos86!dtynan

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!voder!pyramid!nsc!icldata!altnet!altos86!dtynan
From: pvirgo@cucstud.UUCP (Paul Virgo)
Newsgroups: comp.unix
Subject: using curses attributes
Keywords: attrset(); whynowork??
Message-ID: <907@altos86.UUCP>
Date: 30 Mar 89 02:14:29 GMT
Sender: dtynan@altos86.UUCP
Organization: Columbia Union College; Takoma Park, MD 20912
Lines: 25
Approved: dtynan@zorba.Tynan.COM