[PATCH] Fix minor breakage on Cygwin: auth-passwd.c andsession.c
Corinna Vinschen
vinschen at redhat.com
Tue Aug 12 00:55:17 EST 2003
On Mon, Aug 11, 2003 at 11:17:16PM +1000, Darren Tucker wrote:
> Corinna Vinschen wrote:
> > > On Mon, Aug 11, 2003 at 11:52:00PM +1000, Darren Tucker wrote:
> > > You mean tcsendbreak?
> >
> > No, I meant tcflow(), but I'm not sure if it shoudn't be TCIOFF/TCION
> > instead of TCOOFF/TCOON.
>
> Either way, won't that just stop sending data (or send an XOFF/XON) rather
> than than a real break (ie continuous +12V)?
I'm not sure what you mean. tcsendbreak() might send data as well (from
SUSv3):
"If the terminal is using asynchronous serial data transmission,
tcsendbreak() shall cause transmission of a continuous stream of
zero-valued bits for a specific duration."
so it's not always a break in the sense of not sending data at all. Even
on synchronous IO:
"If the terminal is not using asynchronous serial data transmission,
it is implementation-defined whether tcsendbreak() sends data to
generate a break condition or returns without taking any action."
Perhaps I don't sufficiently understand serial IO?
Corinna
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen at redhat.com
More information about the openssh-unix-dev
mailing list