Xref: utzoo comp.sys.amiga.tech:876 comp.sys.amiga:19568 Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!elroy!cit-vax!oberon!pollux.usc.edu!papa From: papa@pollux.usc.edu (Marco Papa) Newsgroups: comp.sys.amiga.tech,comp.sys.amiga Subject: Re: serial.device Message-ID: <9487@oberon.USC.EDU> Date: 1 Jun 88 01:56:30 GMT References: <3898@cbmvax.UUCP> Sender: news@oberon.USC.EDU Reply-To: papa@pollux.usc.edu (Marco Papa) Organization: Felsina Software, Los Angeles, CA Lines: 28 In article <3898@cbmvax.UUCP> bryce@cbmvax.UUCP (Bryce Nesbitt) writes: ||I'm using the serial.device, and I need to know if transmission is stopped ||due to having received XOFF. || So I did the obvious: if( IOSTF_XOFFREAD & InSer-|io_Status) { | |The problem is that those bit definitions refer to the HIGH ORDER BYTE |of the io_Status WORD. This is a bug, and will be fixed. ^^^^^^^^ ||#define IOSTB_XOFFREAD 4L ||#define IOSTF_XOFFREAD (1L<<4) | |/* change to */ |#define IOSTB_XOFFREAD (4+8)L |#define IOSTF_XOFFREAD (1L << IOSTB_XOFFREAD) | |That will work. ^^^^^^^^^ Bryce, What do you mean? Can we assume that the above fix will always work, even in 1.4 and above? That is, is the fix just properly documenting the current situation? -- Marco Papa 'Doc' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= uucp:...!pollux!papa BIX:papa ARPAnet:pollux!papa@oberon.usc.edu "There's Alpha, Beta, Gamma and Diga!" -- Leo Schwab [quoting Rick Unland] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=