henry@utzoo.UUCP (Henry Spencer) (03/27/85)
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