*BSD News Article 29450


Return to BSD News archive

Xref: sserve comp.unix.programmer:16333 comp.unix.questions:48175 comp.unix.bsd:13732
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!darwin.sura.net!gatech!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!msuinfo!netnews.upenn.edu!hodgkin.med.upenn.edu!blackman
From: blackman@hodgkin.med.upenn.edu (David Blackman)
Newsgroups: comp.unix.programmer,comp.unix.questions,comp.unix.bsd
Subject: get status of XON/XOFF from terminal driver?
Date: 17 Apr 1994 00:54:43 GMT
Organization: University of Pennsylvania
Lines: 14
Distribution: world
Message-ID: <2oq1cj$5nk@netnews.upenn.edu>
NNTP-Posting-Host: hodgkin.med.upenn.edu

I am working on a project using SunOS 4.1.3 iand the ttya and ttyb
serial ports and ioctl's defined in termios.h.  I have programmed the
serial I/O channels to employ XON/XOFF handshaking.  My question is:
what code will find out the last flow control character received by the
Sun serial driver, i.e.  did it receive an XOFF and is currently
paused?  or did it get an XON and is/can send out characters.

Thanks for any tips.  Please respond directly to:

-- 
David Blackman
blackman@hodgkin.med.upenn.edu
(215) 572-1141