Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!lll-lcc!styx!ames!ptsfa!ihnp4!vax135!cjp From: cjp@vax135.UUCP Newsgroups: comp.sys.amiga Subject: Re: Text file tab utility Message-ID: <1815@vax135.UUCP> Date: Tue, 24-Mar-87 13:57:01 EST Article-I.D.: vax135.1815 Posted: Tue Mar 24 13:57:01 1987 Date-Received: Thu, 26-Mar-87 01:48:40 EST References: <8703240644.AA00426@cory.Berkeley.EDU> Reply-To: cjp@vax135.UUCP (Charles Poirier) Organization: AT&T Bell Labs, Holmdel, NJ Lines: 12 Keywords: shiftwidth Summary: vi In article <8703240644.AA00426@cory.Berkeley.EDU> dillon@CORY.BERKELEY.EDU (Matt Dillon) writes: > > Both VI and Z have the same problem... namely that there is only one >type of 'tab'. When you set tabs to 4 in either VI or Z, it writes out >to the file using the tab character but assuming it's 4 rather than 8. Are we speaking of the same vi? On 4.2BSD, :set shiftwidth=4, then use ^T to shift line right, ^D to shift left (insert mode), or >>, << command mode. You get all (8-space) tabs except the rightmost 4 spaces every other shift. (I like this arrangement by the way.) Charles Poirier