Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!umcp-cs!cvl!umd5!louie From: louie@umd5 (Louis Mamakos) Newsgroups: net.micro.amiga Subject: Re: RKM and serial reads Message-ID: <1160@umd5> Date: Mon, 28-Jul-86 20:27:29 EDT Article-I.D.: umd5.1160 Posted: Mon Jul 28 20:27:29 1986 Date-Received: Mon, 28-Jul-86 22:38:58 EDT References: <15028@ucbvax.BERKELEY.EDU> Reply-To: louie@umd5.umd.edu (Louis Mamakos) Organization: University of Maryland, College Park Lines: 17 Keywords: SDCMD_QUERY Summary: Use SDCMD_QUERY In article <15028@ucbvax.BERKELEY.EDU> robinson@shadow.Berkeley.EDU (Michael Robinson) writes: > > What is the officially sanctioned method for determining how many > characters are available for reading in the serial input buffer? > >ARPA: robinson@ernie.berkeley.edu >USENET: ucbvax!ernie!robinson The way that I do this in my terminal program is to use the SDCMD_QUERY function to the serial driver. This will return the number of buffered input characters in the IOSer.io_Actual field of the I/O request. Works in 1.1 and 1.2 beta 4. -- Louis A. Mamakos WA3YMH University of Maryland, Computer Science Center Internet: louie@trantor.umd.edu UUCP: {seismo!umcp-cs, ihnp4!rlgvax}!cvl!umd5!louie