home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.atari.st.tech
- Path: sparky!uunet!world!mgm
- From: mgm@world.std.com (michael g moncur)
- Subject: I/O redirection
- Message-ID: <C0pEJp.Dt@world.std.com>
- Organization: The World Public Access UNIX, Brookline, MA
- Date: Mon, 11 Jan 1993 19:09:25 GMT
- Lines: 18
-
- I've been living with "redirection" for some time. Command shells allow
- you to redirect the output of a command, and even to redirect a device
- permanently...
-
- Outside of a CLI, and inside of a 'C' program (Mark Williams), how do I
- accomplish this? Specifically, I would like to be able to redirect "con:"
- to "aux:" and vice versa, or redirect "aux" to the printer.
-
- Thanks. I would appreciate any info, and code examples in assembly or
- preferably C. There's a brief mention of it in the Mark Williams C
- manual, but it's terribly unclear.
-
- Please reply via e-mail, as I don't keep up too well on this newsgroup. I
- will, however, post a summary of replies to this group.
-
- --
- ~`~`michael moncur - mgm@world.std.com / sysop@onlybbs.via.mind.org ~`~`
-
-