Subject: SIGNALs from a ttyv (serial port)
To: 'NetBSD kernel group' <IMCEASMTO-tech-kern+40netbsd+2Eorg@cat.co.za>
From: Thomas Page <ThomasP@cat.co.za>
List: tech-kern
Date: 04/15/1999 17:24:00
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------ =_NextPart_001_01BE8753.FCF315C0
Content-Type: text/plain

Hi    (hope this is the correct group!)

I am trying to set up signals which originate from chars
received or change of state of a serial port (modem). I have
tried SIGIO and SIGURG, but when I use the F_SETOWN fcntl, I
get the error "Inappropriate ioctl for device".

Are these the correct signals? If not, which are and where
can I find more info?


Much thanks

Thomas Page
CAT (Pty) Ltd - Advanced security Technology
thomasp@cat.co.za   (tompage@hotmail.com) +27 31 560 6556

"The proper 'office' of a friend is to side with you when
you are wrong. Nearly everyone will side with you when you
are right."	Mark Twain


------ =_NextPart_001_01BE8753.FCF315C0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.0.1460.9">
<TITLE>SIGNALs from a ttyv (serial port)</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi&nbsp;&nbsp;&nbsp; (hope this is the =
correct group!)</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I am trying to set up signals which =
originate from chars received or change of state of a serial port =
(modem). I have tried SIGIO and SIGURG, but when I use the F_SETOWN =
fcntl, I get the error &quot;Inappropriate ioctl for =
device&quot;.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Are these the correct signals? If not, =
which are and where can I find more info?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">Much thanks</FONT>
</P>

<P><FONT FACE=3D"Tahoma">Thomas Page<I></I></FONT><I></I>
<BR><I><FONT COLOR=3D"#000000" SIZE=3D5 FACE=3D"Arial =
Black">CAT</FONT></I><FONT COLOR=3D"#000000" SIZE=3D1 =
FACE=3D"Arial"></FONT><I> <FONT COLOR=3D"#000000" SIZE=3D1 =
FACE=3D"Arial">(Pty) Ltd</FONT></I><FONT COLOR=3D"#000000" SIZE=3D1 =
FACE=3D"Arial"> -</FONT><I> <FONT COLOR=3D"#000000" SIZE=3D1 =
FACE=3D"Arial">Advanced security Technology</FONT></I>
<BR><FONT SIZE=3D1 FACE=3D"Tahoma">thomasp@cat.co.za&nbsp;&nbsp; =
(tompage@hotmail.com) +27 31 560 6556</FONT>
</P>

<P ALIGN=3DCENTER><FONT SIZE=3D1 FACE=3D"Tahoma">&quot;The proper =
'office' of a friend is to side with you when you are wrong. Nearly =
everyone will side with you when you are =
right.&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mark =
Twain</FONT></P>

</BODY>
</HTML>
------ =_NextPart_001_01BE8753.FCF315C0--