home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!pipex!doc.ic.ac.uk!cc.ic.ac.uk!imperial.ac.uk!vulture
- From: vulture@imperial.ac.uk (Thomas Sippel - Dau)
- Subject: Re: Help! How do I suppress vi tab substitution?
- Message-ID: <1993Jan12.152036.26697@cc.ic.ac.uk>
- Keywords: vi tab hate
- Sender: vulture@carrion.cc.ic.ac.uk (Thomas Sippel - Dau)
- Nntp-Posting-Host: cscgc
- Reply-To: cmaae47@imperial.ac.uk
- Organization: Imperial College of Science, Technology and Medicine
- References: <1993Jan11.202024.10292@elsouth.uucp>
- Date: Tue, 12 Jan 93 15:20:36 GMT
- Lines: 21
-
- In article <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?
- -
- - Thanks, john (john%elsouth@concert.net)
-
- Try playing with stty -tabs, and the tab settings in the files /etc/termcap
- or /usr/lib/terminfo/your-terminal.ti. The most difficult bit is to find
- out where the actual control is.
-
- Thomas
- --
- *** This is the operative statement, all previous statements are inoperative.
- * email: cmaae47 @ ic.ac.uk (Thomas Sippel - Dau) (uk.ac.ic on Janet)
- * voice: +44 71 589 5111 x4937 or 4934 (day), or +44 71 823 9497 (fax)
- * snail: Imperial College of Science, Technology and Medicine
- * The Center for Computing Services, Kensington SW7 2BX, Great Britain
-