Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 1996 10:29:48 -0500
From:      mi@aldan.saturn.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/1114: vi's `>>' commands do not work as expected if tabs!=8
Message-ID:  <199604031529.KAA08808@aldan.saturn.net>
Resent-Message-ID: <199604031530.HAA00982@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr  3 07:30:01 PST 1996
>Last-Modified:
>Originator:     Mikhail Teterin
>Organization:
>Release:        FreeBSD 2.1-STABLE i386
>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.
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604031529.KAA08808>