Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 beta 3/9/83; site cca.UUCP Path: utzoo!watmath!clyde!akgua!mcnc!decvax!cca!z From: z@cca.UUCP (Steve Zimmerman) Newsgroups: net.bugs.4bsd Subject: Bug in tset(1) Message-ID: <376@cca.UUCP> Date: Sun, 29-Apr-84 14:29:57 EDT Article-I.D.: cca.376 Posted: Sun Apr 29 14:29:57 1984 Date-Received: Mon, 30-Apr-84 05:21:22 EDT Organization: Computer Corp America, Cambridge Lines: 33 Description: tset(1) does not initialize tabs correctly on terminals with settable tab stops. Specifically, it does not set a tab at column 0, so that a tab given from column 72 on a terminal with auto wrap will incorrectly tab to column 8 on the next line, instead of column 0. Repeat-By: Take a terminal with settable tab stops and auto wrap and issue the tset(1) command. Put the terminal in local mode and keep hitting the tab key; notice that after column 72 the next tab stop is at column 8. Fix: *** tset.c~ Tue Apr 3 00:26:01 1984 --- tset.c Sun Apr 29 14:21:11 1984 *************** *** 1291,1297 tputs(clear_tabs, 0, prc); } if (set_tab) { ! for (c=8; c