🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #1234

Changing the color of dos text output.

#1234
From: Douglas A. Bell
Date: Fri, 31 May 1991 19:13
16 lines
994 bytes
Does any one know of a way to change the color of standard output
via C or assemble?

I don't want to use ansi or write directly to screen memory.

Is there a dos interupt call that can accomplish this? 

(a short example of code would be nice.)

Thanks,

Doug
-- 
Douglas Bell         "... but that's not important, that's just numbers."   
dab6@po.cwru.edu               Dr. Wu,  Math Professor
Technical Details
Message-ID: <1991May31.191343.4472@usenet.ins.cwru.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!po.CWRU.Edu!dab6

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.ibm.pc.programmer
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!po.CWRU.Edu!dab6
From: dab6@po.CWRU.Edu (Douglas A. Bell)
Subject: Changing the color of dos text output.
Message-ID: <1991May31.191343.4472@usenet.ins.cwru.edu>
Sender: news@usenet.ins.cwru.edu
Nntp-Posting-Host: cwns6.ins.cwru.edu
Reply-To: dab6@po.CWRU.Edu (Douglas A. Bell)
Organization: Case Western Reserve University, Cleveland, OH (USA)
Date: Fri, 31 May 91 19:13:43 GMT
Lines:       17