home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!munnari.oz.au!newsroom.utas.edu.au!tasman.cc.utas.edu.au!dermoudy
- From: dermoudy@tasman.cc.utas.edu.au (Julian Dermoudy)
- Subject: Re: Help! How do I suppress vi tab substitution?
- Message-ID: <dermoudy.726900670@tasman>
- Keywords: vi tab hate
- Sender: news@newsroom.utas.edu.au
- Reply-To: J.R.Dermoudy@cs.utas.edu.au
- Organization: University of Tasmania, at Hobart.
- References: <1993Jan11.202024.10292@elsouth.uucp>
- Date: Wed, 13 Jan 1993 04:51:10 GMT
- Lines: 26
-
- In <1993Jan11.202024.10292@elsouth.uucp> john@elsouth.uucp (John White) writes:
-
- > I'm in Unix Sys V Rel 3.0 Ver 4 and my vi editor has the
- >annoying habit of substituting 8 spaces for 1 tab. This is cute,
- >but since my indenting is based on 3 spaces and that doesn't
- >divide cleanly into 8, I'm often more annoyed than fond of this
- >"feature". Is there a way to tunr this off? I never had this problem
- >with the BSD or SunOS versions of vi. Is it Sys V dependent?
- >
-
- From within the vi/ex I use (SunOS 4.1.2) I can type:
-
- :set tabstop=3
-
- And all tab characters in the file become three spaces wide, and my <TAB>
- key moves me across three-space wide tab stops. It works for me.
-
- > Thanks, john (john%elsouth@concert.net)
-
- -Julian.
-
- --
- Julian Dermoudy AARNet: J.R.Dermoudy@cs.utas.edu.au
- Department of Computer Science, 'Phone: +61 02 202962
- University of Tasmania, Fax : +61 02 202913
- GPO Box 252C Hobart, Tasmania, AUSTRALIA, 7001.
-