Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbatt!ihnp4!inuxc!pur-ee!j.cc.purdue.edu!h.cc.purdue.edu!pur-phy!mrstve!rjk From: rjk@mrstve.UUCP Newsgroups: comp.sys.att,comp.bugs.sys5 Subject: bug in 3b2 console driver? Message-ID: <681@mrstve.UUCP> Date: Thu, 23-Apr-87 15:49:33 EST Article-I.D.: mrstve.681 Posted: Thu Apr 23 15:49:33 1987 Date-Received: Sat, 25-Apr-87 09:03:41 EST Organization: Mr sTVe's, Lafayette IN Lines: 25 Xref: utgpu comp.sys.att:321 comp.bugs.sys5:109 I came across what looks like a bug in the console driver on the 3b2/400 running System 5.3. I've been trying to install Scheme (thanks Bob), and had severe problems with garbage on the screen (an AT&T 610 terminal). I thought it was either a problem with the way Scheme controled the terminal or a bad terminfo description, until I happened to try it on a 610 on a different port and it worked perfectly. After some tom-foolery we needn't go into now, I came up with the following: For messages to the console, Scheme does (essentialy) this: printf("message, no newline"); fflush(stdout); which seems to work perfectly on anything except the console. It works perfectly (so far) on the console if I add ioctl(fileno(stdout), TCSBRK, 1); /* wait for output to drain */ after the fflush(). Has anyone seen this before? As in, is it a 3b2 problem or System 5 problem? -- Rich Kuhns {ihnp4, decvax, etc...}!pur-ee!pur-phy!mrstve!rjk