Redirect serial port to file
Hello, list!
I need some help in setting up a serial port redirection to a file, that works from dosemu.
I have an old Dos app that sends data to a serial port only. Because I do not have an appropriate device to connect to the port, and because I need to view the output data, I need some sort of low level redirection. The Dos app should send data to com1 and the data should be written to a file. Do someone have an idea how to do this?
Thanks and regards,
Lars
Quoted 5 lines · On Fri, 24 Jun 2011 09:01:08 +0200 [email protected] (Lars Bjørndal) wrote:
I have an old Dos app that sends data to a serial port only. Because I do not have an appropriate device to connect to the port, and because I need to view the output data, I need some sort of low level redirection. The Dos app should send data to com1 and the data should be written to a file. Do someone have an idea how to do this?
Look for some program that spies on the serial port in Linux - something like
http://linux.softpedia.com/downloadTag/Serial+Spy
http://freshmeat.net/projects/linuxserialsniffer/
Then you can just go and use dosemu normally
John
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html