[ale] Wanted: trivial minicom-type function
Christopher Fowler
cfowler at outpostsentinel.com
Mon Mar 13 10:55:48 EST 2006
Create a config file for each port that describes its termios settings:
http://www.easysw.com/~mike/mxml/
Write a very simple network -> serial port piece of software.
http://beej.us/guide/bgnet/
Then use termios to setup the serial port correctly and use select() to
pass data from the tty to the socket and back again.
On Mon, 2006-03-13 at 10:48 -0500, Christopher Fowler wrote:
> On Mon, 2006-03-13 at 10:37 -0500, Mills, John M. wrote:
> > Christopher -
> >
> > 'robin' looks like I need - I'll start with it as-written, then maybe
> > 'dumb it down' a bit.
> >
> > In a bit more detail, I'm going to wrap the comm function in 'nc', to
> > export two ttys from our embedded Linux environment as TCP/IP sockets. I
> > will then use a complementary MsWin package to remap them as "COMx:" and
> > "COMy:" so I can run a MsWin app that accesses hardware attached to the
> > ttys: (Rube Goldberg, eat your heart out!)
>
> Remember that the Win32 package can not set the termios settings.
> You'll have to set that directly on the "terminal server". A few years
> back I wrote a program called 'ttyd' that would basically listen on a
> tcp port and connect that with a serial port.
>
>
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list