Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: hacknews Subject: Tatung terminal follies Message-ID: <5349@utzoo.UUCP> Date: Tue, 26-Mar-85 19:43:48 EST Article-I.D.: utzoo.5349 Posted: Tue Mar 26 19:43:48 1985 Date-Received: Tue, 26-Mar-85 19:43:48 EST Organization: U of Toronto Zoology Lines: 13 Some work with the Tatung terminal exposed a latent bug in the way termcap and getty interact to initialize tab stops on vt100-ish terminals. The initialization sequence for vt100ish things assumes that newline moves the cursor back to column 1, so tab stops can be set properly. Not so in raw mode, which is what getty is using. (The notion of having getty work in cbreak mode surfaces again...) The effect showed up only if one signed off with a control-D, since the "bye" command has the cursor in column 1 anyway when the shell dies. For the moment, I have "fixed" the problem by stuffing a CR into the right place in the initialization sequence. -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry