home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / admin / 7063 < prev    next >
Encoding:
Text File  |  1993-01-13  |  1.4 KB  |  40 lines

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