delorie.com/archives/browse.cgi | search |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: cprinf REdirected |
Date: | 17 Jul 2000 17:28:54 GMT |
Organization: | Aachen University of Technology (RWTH) |
Lines: | 16 |
Message-ID: | <8kvfom$n6l$1@nets3.rz.RWTH-Aachen.DE> |
References: | <9bf6nsseur50auc08a2u1pb61in2oum79j AT 4ax DOT com> |
NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
X-Trace: | nets3.rz.RWTH-Aachen.DE 963854934 23765 137.226.32.75 (17 Jul 2000 17:28:54 GMT) |
X-Complaints-To: | abuse AT rwth-aachen DOT de |
NNTP-Posting-Date: | 17 Jul 2000 17:28:54 GMT |
Originator: | broeker@ |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Radical NetSurfer <radsmail AT juno DOT com> wrote: > I was wondering if anyone out there knew how to get the proper > behavior from cprinf such that when DOS re-direction is used, > the ascii text (no attribute of course) is STILL CAPTURED, as if > ordinary printf was used. No way. cprintf() and redirection don't mix. Nor is there any useful gain from using cprintf() over printf() if you're going to redirect. I.e. if you want to redirect, don't use cprintf(). -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |