🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #6493

DOS call 46H

#6493
From: Ted Holden
Date: Sun, 11 May 1986 00:13
18 lines
1194 bytes


I would appreciate any info regarding DOS call 46 from anyone who has
used it.  Is this the basis of the normal stdin and stdout redirections in
MS-DOS?  Peter Norton (Programmer's Guide to the PC pp 313-314) says

    "If the second handle refers to an open file, the file is closed before
    any action occurs..."


He then goes on to describe a manner for redirecting printer (as an example)
output to a file, presumably a closed one, if that makes any sense to anyone.
My own experiments with DOS call 46 have been less than successful.  I would
appreciate also a listing for key-fake.asm if anyone has one as that might
shed some light on the matter.  Thanks in advance.

Ted Holden, IMS
Technical Details
Message-ID: <546@imsvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!princeton!orsvax1!pyrnj!caip!nike!styx!lll-crg!seismo!elsie!imsvax!ted

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!princeton!orsvax1!pyrnj!caip!nike!styx!lll-crg!seismo!elsie!imsvax!ted
From: ted@imsvax.UUCP (Ted Holden)
Newsgroups: net.micro.pc
Subject: DOS call 46H
Message-ID: <546@imsvax.UUCP>
Date: Sat, 10-May-86 20:13:24 EDT
Article-I.D.: imsvax.546
Posted: Sat May 10 20:13:24 1986
Date-Received: Tue, 13-May-86 03:29:55 EDT
Organization: IMS Inc, Rockville MD
Lines: 18