public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Redirect serial port to file
@ 2011-06-24  7:01 Lars Bjørndal
  2011-07-21 17:20 ` John Coppens
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Bjørndal @ 2011-06-24  7:01 UTC (permalink / raw)
  To: linux-msdos

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Redirect serial port to file
  2011-06-24  7:01 Redirect serial port to file Lars Bjørndal
@ 2011-07-21 17:20 ` John Coppens
  0 siblings, 0 replies; 2+ messages in thread
From: John Coppens @ 2011-07-21 17:20 UTC (permalink / raw)
  To: Lars Bjørndal; +Cc: linux-msdos

On Fri, 24 Jun 2011 09:01:08 +0200
lars@lamasti.net (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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-21 17:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-24  7:01 Redirect serial port to file Lars Bjørndal
2011-07-21 17:20 ` John Coppens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox