Re: termios, setting stopbits question

2007-10-04 Thread Alexey Vatchenko
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

Re: termios, setting stopbits question

2007-10-04 Thread Christian Weisgerber
Alexey Vatchenko <[EMAIL PROTECTED]> wrote: > How is it possible to set 1.5 stopbits in tcsetattr(3) ? > The only thing that i found related to stopbits is CSTOPB (2 stopbits). > But iirc 5 databits can be used in conjunction with 1 or 1.5 stopbits. UARTs derived from the Intel 8250 (i.e., PC "CO

termios, setting stopbits question

2007-10-04 Thread Alexey Vatchenko
Hi guys! I'm adding serial port support to my ``netfwd'' (http://www.bsdua.org/netfwd.html) and faced a problem. How is it possible to set 1.5 stopbits in tcsetattr(3) ? The only thing that i found related to stopbits is CSTOPB (2 stopbits). But iirc 5 databits can be used in conjunction with 1 o