From: Radical NetSurfer Newsgroups: comp.os.msdos.djgpp Subject: cprinf REdirected Date: Mon, 17 Jul 2000 13:12:58 -0400 Message-ID: <9bf6nsseur50auc08a2u1pb61in2oum79j@4ax.com> X-Newsreader: Forte Agent 1.8/32.548 X-No-Archive: yes MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 216.202.134.159 X-Original-NNTP-Posting-Host: 216.202.134.159 X-Trace: 17 Jul 2000 13:15:35 -0400, 216.202.134.159 Lines: 18 X-Original-NNTP-Posting-Host: 64.31.79.51 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com This is the second time I've posted this (it wasn't noticed; or no response given the first time): 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. I get the impression by looking over the material in the libc docs, and/or GCC docs that this is (could be) possible given the proper set up, system inter-ception, etc. of the re-direction and cprintf text "trapping" if re-direction is detected.... IF SOMEONE knows how to accomplish this, PLEASE provide a working example either posted here or send it to me via Email thanks! Email:radsmail AT juno DOT com http://members.tripod.com/~RadSurfer/