Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!caip!princeton!allegra!ulysses!mhuxr!mhuxt!houxm!ihnp4!inuxc!pur-ee!uiucdcs!uiucuxc!hamilton From: hamilton@uiucuxc.CSO.UIUC.EDU Newsgroups: net.micro.amiga Subject: Re: Picking a terminal emulator Message-ID: <148600124@uiucuxc> Date: Tue, 12-Aug-86 17:20:00 EDT Article-I.D.: uiucuxc.148600124 Posted: Tue Aug 12 17:20:00 1986 Date-Received: Thu, 14-Aug-86 21:14:56 EDT References: <232@neoucom.UUCP> Lines: 35 Nf-ID: #R:neoucom.UUCP:232:uiucuxc:148600124:000:1657 Nf-From: uiucuxc.CSO.UIUC.EDU!hamilton Aug 12 16:20:00 1986 >>1) Use the SDCMD_QUERY for the serial device, to find out how many >> characters the device has waiting, then get exactly that number. >> > >Do you mean that I can open up my ports to the serial device and do an >SDCMD_QUERY without having done a SendIO or DoIO first, and it will tell >me how many characters it has in its read buffer? SDCMD_QUERY is an i/o command just like READ, WRITE, or SETPARAMS, so you would do a DoIO() with io_Command = SDCMD_QUERY. the resulting io_Actual is the number of bytes ready to read (like ioctl FIONREAD, if you know what i mean). >>AmigaTerm (our terminal program, soon to be shipped with the modem >>for the Amiga, and maybe seperately) has a slightly higher throughput >>than a DEC VT101 (but slightly lower than a CIT-101). > >I'm not sure this is all that impressive (sorry, Andy). A VT100 has only >a 64 character buffer, which fills up pretty quickly at 9600 baud. The >real question is, what is the maximum baud rate for which AmigaTerm doesn't >need flow control? that could depend... unlike the vt100, the amiga has many kilobytes available for buffering. use enough, and even long bursts of data won't overrun before statistics average the rate down. just set the io_RBufLen field while you're setting baud rate, etc, in a SDCMD_SETPARAMS. default is 512, so there's plenty of room for improvement there. wayne hamilton U of Il and US Army Corps of Engineers CERL UUCP: {ihnp4,pur-ee,convex}!uiucdcs!uiucuxc!hamilton ARPA: hamilton%uiucuxc@a.cs.uiuc.edu USMail: Box 476, Urbana, IL 61801 CSNET: hamilton%uiucuxc@uiuc.csnet Phone: (217)333-8703 CIS: [73047,544] PLink: w hamilton