Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!att!linac!unixhub!slacvm!leif From: LEIF@SLACVM.SLAC.STANFORD.EDU Newsgroups: comp.sys.handhelds Subject: "LineInput" from ser port? Message-ID: <91089.184240LEIF@SLACVM.SLAC.STANFORD.EDU> Date: 31 Mar 91 02:42:40 GMT Organization: Stanford Linear Accelerator Center Lines: 13 I am working on a project for the HP48SX for which I need to accept data from the serial port as soon as it receives a carriage return, no sooner. This is, I think, similar to one of the uses of BASIC's "LineInput" statement. Does anyone have any suggestions as to how this could be implemented using the low-level IO functions available on the 48? Note that data will be incoming periodically on the serial wire, and that I would like to force the buffer to be SRECV'ed *ONLY* when a CR is received, signaling the end of the transmission of any given packet. Thanks in advance for any help, input, suggestions, or whatever! Leif Johnson Leif@SLACVM.SLAC.STANFORD.EDU