🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #2689

Re: Preventing tabs (was Question on tab stops in vi)

#2689
From: Dave Wolfe
Date: Thu, 23 May 1991 19:49
20 lines
1449 bytes
In <163509@felix.UUCP> asylvain@felix.UUCP (Alvin "the Chipmunk" Sylvain) writes:

>*MY* problem is that vi automagically replaces every 8 spaces with a
>_real_ hardtab (^I), which, at least for posting to the net, I'd like 
>to be able to turn off.  So far, if I use indents for anything, I 
>double-check at the end with (:%s/^I/        /g).

>Does anybody know how to turn _this_ "feature" off?

You can set "tabstop" to some value larger than any number of
contiguous spaces you'd expect (like 80) so that the criteria for tab
substitution won't occur.  Note that if you do type in a tab you get 80
"spaces" displayed; also if an existing file you're editing has tabs.
I find that it usually isn't worth the risk.

-- 
Dave Wolfe (dwolfe@oakhill.sps.mot.com)		| Motorola Incorporated
"[RISC is] like obscenity,			| MMTG (formerly MPG)
 we all know what RISC is when we see it,	| Austin, Texas  78735-8598
 but no one can define it."	Chris Torek	| m/d OE112  (512)891-3246
Technical Details
Message-ID: <1991May23.194923.17038@oakhill.sps.mot.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!oakhill!dwolfe
References: <1991May09.190644.13627@Kesa.COM> <163509@felix.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!oakhill!dwolfe
From: dwolfe@oakhill.sps.mot.com (Dave Wolfe)
Newsgroups: comp.editors
Subject: Re: Preventing tabs (was Question on tab stops in vi)
Keywords: vi tabs
Message-ID: <1991May23.194923.17038@oakhill.sps.mot.com>
Date: 23 May 91 19:49:23 GMT
References: <1991May09.190644.13627@Kesa.COM> <163509@felix.UUCP>
Organization: Motorola Inc., Austin, Texas
Lines: 20