From mi@aldan.saturn.net  Wed Apr  3 07:29:26 1996
Received: from janus.saturn.net (root@janus.saturn.net [206.42.0.10])
          by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id HAA00793
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 3 Apr 1996 07:29:24 -0800 (PST)
Received: from aldan.saturn.net (aldan.saturn.net [206.42.1.73]) by janus.saturn.net (8.7.4/8.6.9) with ESMTP id KAA20831 for <FreeBSD-gnats-submit@freebsd.org>; Wed, 3 Apr 1996 10:32:14 -0500
Received: (from root@localhost) by aldan.saturn.net (8.6.12/8.6.12) id KAA08808; Wed, 3 Apr 1996 10:29:48 -0500
Message-Id: <199604031529.KAA08808@aldan.saturn.net>
Date: Wed, 3 Apr 1996 10:29:48 -0500
From: mi@aldan.saturn.net
Reply-To: mi@aldan.saturn.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: vi's `>>' commands do not work as expected if tabs!=8
X-Send-Pr-Version: 3.2

>Number:         1114
>Category:       bin
>Synopsis:       If tabs is set to smth other then 8, block shifts work wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr  3 07:30:01 PST 1996
>Closed-Date:    Wed Apr 3 11:06:53 PST 1996
>Last-Modified:  Wed Apr  3 19:00:02 PST 1996
>Originator:     Mikhail Teterin
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
>Environment:


>Description:

	If I do `set tabs=4', `>>' commands (`>}', `>G', etc.) will still
	shift 8 positions at a time, thus, putting two \t symbols. If tabs
	is set to 3, there will be 1 \t and 5 spaces. It is so consistent,
	it looks like this should be a "change-request" rather the "sw-bug".

>How-To-Repeat:

	Editing any text in vi:
		:set tabs=4
		>>
		:set tabs=8

	See your beatifully formatted text misformatted...

>Fix:
	
	Do not use non-8 tabs, inconvinient to some programmers.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: fenner 
State-Changed-When: Wed Apr 3 11:06:53 PST 1996 
State-Changed-Why:  
There is a seperate variable for setting how much the ">" or "<" command 
shifts.  Try "set tabs=4 shiftwidth=4" (or "sw=4"). 

From: Brian Tao <taob@io.org>
To: mi@aldan.saturn.net
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/1114: vi's `>>' commands do not work as expected if tabs!=8
Date: Wed, 3 Apr 1996 21:55:42 -0500 (EST)

 On Wed, 3 Apr 1996 mi@aldan.saturn.net wrote:
 >
 > >Synopsis:       If tabs is set to smth other then 8, block shifts work wrong
 
     This isn't a bug.  See the "shiftwidth" variable setting (set sw).
 --
 Brian Tao (BT300, taob@io.org)
 System and Network Administrator, Internex Online Inc.
 "Though this be madness, yet there is method in't"
 
>Unformatted:
