delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Rugxulo <rugxulo AT gmail DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: redirect stderr to stdout/file in djgpp 2.x |
Date: | Thu, 8 Apr 2010 13:47:11 -0700 (PDT) |
Organization: | http://groups.google.com |
Lines: | 20 |
Message-ID: | <57a05b96-b688-4c09-93b5-f2bd3d2501a1@r18g2000yqd.googlegroups.com> |
References: | <97e7dd63-3c51-4796-a5ba-c8a1cddaabbc AT w17g2000yqj DOT googlegroups DOT com> |
<E1NztLP-0001Fs-6b AT fencepost DOT gnu DOT org> | |
NNTP-Posting-Host: | 65.13.115.246 |
Mime-Version: | 1.0 |
X-Trace: | posting.google.com 1270759632 9004 127.0.0.1 (8 Apr 2010 20:47:12 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | Thu, 8 Apr 2010 20:47:12 +0000 (UTC) |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | r18g2000yqd.googlegroups.com; posting-host=65.13.115.246; |
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO | |
User-Agent: | G2/1.0 |
X-HTTP-UserAgent: | Opera/9.80 (Windows NT 5.1; U; en) Presto/2.5.22 |
Version/10.51,gzip(gfe) | |
Bytes: | 1997 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hi, On Apr 8, 9:08=A0am, Eli Zaretskii <e DOT DOT DOT AT gnu DOT org> wrote: > > No. =A0With DJGPP v1.x, it was possible because the extender was running > the DJGPP program, so it was possible to use the DOS file handle > inheritance to provide this feature. =A0In v2.x, the "extender" is just > a DPMI server, and the program runs independently of it. =A0Therefore, > file handles are not (and can not) be inherited. I think it was Rod P. a year or so ago that mentioned the following tiny TSR in one of his posts. So thanks, Rod! ;-) http://johnsantic.com/comp/tsr.html Example: "ls *.xyz > blah.txt" Normally, it will make a 0-byte file that still errors out on the screen. But with the TSR loaded, you get to save all of it to file. (Obviously useless here, but you get the idea.)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |