Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ncoast.UUCP Path: utzoo!watmath!clyde!burl!hou3c!hocda!houxm!ihnp4!zehntel!dual!amd!decwrl!decvax!cwruecmp!atvax!ncoast!bsa From: bsa@ncoast.UUCP (The WITNESS) Newsgroups: net.unix-wizards Subject: Re: Have you improved 'vi' for terminals with character deletion? Message-ID: <333@ncoast.UUCP> Date: Sun, 16-Sep-84 22:25:14 EDT Article-I.D.: ncoast.333 Posted: Sun Sep 16 22:25:14 1984 Date-Received: Tue, 25-Sep-84 06:13:10 EDT References: <1219@elsie.UUCP> Organization: North Coast XENIX, Cleveland Lines: 18 [gollum :-)] > From: ado@elsie.UUCP (Arthur David Olson) > If I type the command > awk 'BEGIN { printf "xxx\t01234567890123456789\n" }' /dev/null > file > then > vi file > and tap the x key to delete the first of the three x's, > 'vi' ends up retransmitting everything on the line that follows the tab. > > Has anyone out there taught vi how to do this better? Try setting the :in: characteristic in your termcap (Insert Null; usually a tab will stay in place on smart terminals). Other than that, there isn't an easier way becuase one would break many terminals. --bsa