🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #1154

Re: Formulated unclear : Re: Redirection of STDERR ??

#1154
From: Mark J. Restifo
Date: Sat, 25 Nov 1995 20:48
20 lines
1036 bytes
voyageur@solar.sky.net () recently put forth:


>| The only way I know of redirecting STDERR is to write an INT 21h 
>| handler.  STDERR is File Handle 0002, and STDOUT is 0001.  You would need 
>| to intercept AH=40h writes to Handle 0002, change BX=0001, call the 
>| previous INT 21h handler, and switch BX back to 0002.

	There are specific INT 21H functions to do this, namely, funct 45h &
46h.




--
Mark R.
===========================
mrestifo@wizvax.net
102444,3171@compuserve.com
===========================
Technical Details
Message-ID: <497vve$i5@mserv.wizvax.net>
Path: arc1-ca.pugleaf.net!mserv.wizvax.net!news
References: <DI3BnA.JF5@news.zippo.com> <DI50nF.AwH@news.zippo.com> <48ttrt$1f8@alpha.sky.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!mserv.wizvax.net!news
From: mrestifo@wizvax.net (Mark J. Restifo)
Newsgroups: alt.msdos.programmer,comp.lang.c,comp.msdos.programmer
Subject: Re: Formulated unclear : Re: Redirection of STDERR ??
Date: Sat, 25 Nov 1995 20:48:47 GMT
Organization: Wizvax Communications
Message-ID: <497vve$i5@mserv.wizvax.net>
References: <DI3BnA.JF5@news.zippo.com> <DI50nF.AwH@news.zippo.com> <48ttrt$1f8@alpha.sky.net>
NNTP-Posting-Host: restifo.wizvax.net
X-Newsreader: Forte Free Agent 1.0.82