Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!caen.engin.umich.edu!news From: news@caen.engin.umich.edu (CAEN Netnews) Newsgroups: comp.sys.ti.explorer Subject: Serial IO question Keywords: Mcaintosh, Serial, IO, TI Message-ID: <486df92f.a590@news.engin.umich.edu> Date: 3 Feb 90 21:46 GMT Reply-To: arie@eecs.umich.edu (Arie Covrigaru) Organization: caen Lines: 15 Hi, I am working on a project that uses a TI Explorer and a Mac to communicate with an external device (a robot) and for that I had to implement my own serial IO interface on the Mac (in MACL). When doing that I found out that the TI, when reading a line from the serial port with read-line, consumes the character #\Newline and also the character #\Linefeed that follows it. The Mac's read-line, on the other hand, doesn't. The definition of the function read-line is to read until a #\Newline is encountered. My question is, what is happening on the TI behind the scenes that causes the #\Linefeed to be consumed? Is the definition of the read-line function on the TI different than on the Mac? Thanks,