From owner-freebsd-bugs Wed Apr 3 07:30:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA00994 for bugs-outgoing; Wed, 3 Apr 1996 07:30:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA00982 Wed, 3 Apr 1996 07:30:03 -0800 (PST) Resent-Date: Wed, 3 Apr 1996 07:30:03 -0800 (PST) Resent-Message-Id: <199604031530.HAA00982@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, mi@aldan.saturn.net 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 ; 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 ; 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 X-Send-Pr-Version: 3.2 Subject: bin/1114: vi's `>>' commands do not work as expected if tabs!=8 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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: