[WestTLUG] writing to another machine's /dev/ttyS0... how?

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Mon Sep 11 18:39:28 UTC 2006


On Mon, Sep 11, 2006 at 01:33:57PM -0400, bob wrote:
> What exactly are you trying to do?   Are you trying to exchange
> information between machines over a serial link?    Do you want to do
> this inside some custom scripting?    If so you can readily open up a
> serial port from inside a Tcl/Tk script and read and write much as you
> would to a file.

Ideally, I want to do something like

    cat ... > 192.168.1.2:/dev/ttyS0

Of course, it would be better if I don't have to keep opening/closing
the connections; but, that's minor point.

-- 
William Park <opengeometry-FFYn/CNdgSA at public.gmane.org>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
	   http://home.eol.ca/~parkw/thinflash.html
BashDiff: Super Bash shell
	  http://freshmeat.net/projects/bashdiff/
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list