On 2007-10-04, Christian Weisgerber <[EMAIL PROTECTED]> wrote:
> So you just set five data bits, no parity, CSTOPB, and you'll be
> fine.  Just why you would need this is beyond me, though.  The only
> application that comes to mind is interfacing with 50-year-old
> teletype equipment.

Thanks for the answer. Actually, it's just an option for my program. A
lot of non-unix programs provide this option for ``stop bits''.
Now, my program allows to do the following (this functionality is not
released yet):
        sudo netfwd tcp 5555 cua /dev/cuaU0 115200,8,N,1,H

It accepts incoming TCP connections on port 5555 and redirect all data
to serial port (my phone in this example).
Then you can take one of the programs from
http://en.wikipedia.org/wiki/COM_port_redirector
and use your modems remotely :)

-- 
Alexey Vatchenko
http://www.bsdua.org
E-mail: [EMAIL PROTECTED]
JID: [EMAIL PROTECTED]

Reply via email to