Xref: utzoo alt.msdos.programmer:2273 comp.os.msdos.apps:707 comp.os.msdos.misc:722 Path: utzoo!utgpu!cs.utexas.edu!sun-barr!ames!haven!umbc3!umbc5.umbc.edu!cs202101 From: cs202101@umbc5.umbc.edu (cs202101) Newsgroups: alt.msdos.programmer,comp.os.msdos.apps,comp.os.msdos.misc Subject: Re: CTTY, substitute. Keywords: ctty Message-ID: <4619@umbc3.UMBC.EDU> Date: 5 Dec 90 07:49:15 GMT References: <1182@ncis.tis.llnl.gov> Sender: newspost@umbc3.UMBC.EDU Reply-To: cs202101@umbc5.umbc.edu.UUCP (cs202101) Organization: University of Maryland, Baltimore County Lines: 27 In article <1182@ncis.tis.llnl.gov> roott@tis.llnl.gov (Tom Root) writes: >In ms-dos an internal command called "ctty" redirects "most" console >activities to a com port (1 or 2). The problem is that it does NOT send >ALL output that would go to the screen to the com port (only non-graphic) > >I would like to know if anyone knows of a public domain or commercial program >that will "re-direct" ALL console and keyboard activity to the com (1or2) >port The easiest solution that I can think of is to write your own redirection program in C, using dup2 to redirect the i/o. Also, it sounds as though part of your problem might be that no redirection is being done for stderror. Robert Douglas Davis # Is reality real? Can you prove it? cs202101@umbc5.umbc.edu # Can you write an algorythm to prove it? Home: +1-301-744-7964 # Do you have a computer fast enough to compute it? BBS: +1-301-788-6663 # ---> REAL Education: The Benny Hill Show!