X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Fri, 15 Feb 2002 08:45:00 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-Id: <1225-Fri15Feb2002084500+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <3C6C735D.A6D16719@yahoo.com> (message from CBFalconer on Fri, 15 Feb 2002 03:09:18 GMT) Subject: Re: Malloc/free DJGPP code References: <3C6C735D DOT A6D16719 AT yahoo DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: CBFalconer > Newsgroups: comp.os.msdos.djgpp > Date: Fri, 15 Feb 2002 03:09:18 GMT > > > > > I changed the output strings to terminate in \r\n, and now I get > > > bright patches of blue on the screen, with no output! > > > > Does your program call some conio functions to set the screen colors? If > > not, you should have see the normal white on black output from cprintf. > > > > Can you show the fragment which calls cprintf? > > These are the only locations enabled (with DEBUG1). I took the > \r's out again so it doesn't destroy the screen now. I don't see anything wrong with the code you posted. Does it help to put textbackground (BLACK); textcolor (LIGHTGRAY); before the cprintf?