Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2010 09:13:07 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Paul Thornton <prt@prt.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Problem detecting and reacting to serial break
Message-ID:  <B6614C81-EF88-475E-AA6C-75F5C649819E@gsoft.com.au>
In-Reply-To: <4C66D2CF.9040408@prt.org>
References:  <4C66D2CF.9040408@prt.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail-33-726993049
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On 15/08/2010, at 3:00, Paul Thornton wrote:
> So according to the documentation, the effect of the break should be =
to
> flush the input and output buffers, and send a SIGINT to my process. =
The
> buffer doesn't seem to get flushed, and I don't get sent the SIGINT.

It does sounds like it's ignoring your request :(

However you won't get a SIGINT unless the serial port is the controlling =
terminal of your process (which it won't be if you just open()'d it)

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C







--Apple-Mail-33-726993049--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B6614C81-EF88-475E-AA6C-75F5C649819E>