Redirect output from curses application

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
TheCheat
Posts: 1
Joined: 22 Jul 2008 08:21

Redirect output from curses application

#1 Post by TheCheat » 22 Jul 2008 08:26

I'm running MS DOS 6.22, and am using a curses based application. I need to redirect the information to a text file. So I tried using output stream character:

Code: Select all

C:\> myCursesProgram > 1.txt
However, that didn't work, which I expected it not to. Is there some way to get the information it's displaying to a text file?

I think there's an option to have the information output to a floppy as well. So if there's a way to redirect the stream going to the floppy to a text file instead, that would also be great.

Odder93
Posts: 11
Joined: 15 Jul 2008 12:43
Contact:

#2 Post by Odder93 » 23 Jul 2008 11:04

First of all, I'm not sure I did understand the half of it xD but I will give it a try ;)

This will type the program code to somewhere.ext

Code: Select all

type myCursesProgram >> somewhere.ext


This will type the progams outputs in somewhere.ext

Code: Select all

start myCursesProgram >> somewhere.ext


That's the best I can do (right now) :P

Post Reply