home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / editors / 3035 < prev    next >
Encoding:
Text File  |  1992-12-14  |  993 b   |  31 lines

  1. Newsgroups: comp.editors
  2. Path: sparky!uunet!mcsun!sun4nl!sci.kun.nl!cs.kun.nl!hansm
  3. From: hansm@cs.kun.nl (Hans Mulder)
  4. Subject: Re: vi temporary files
  5. Message-ID: <Bz9A07.4nz@sci.kun.nl>
  6. Sender: news@sci.kun.nl (News owner)
  7. Nntp-Posting-Host: zeus.cs.kun.nl
  8. Organization: University of Nijmegen, The Netherlands
  9. References: <Bz92Hw.1Kp@sci.kun.nl> <1992Dec14.133348.7652@alw.nih.gov>
  10. Date: Mon, 14 Dec 1992 15:36:06 GMT
  11. Lines: 18
  12.  
  13. In <1992Dec14.133348.7652@alw.nih.gov> weisen@alw.nih.gov (Neil Weisenfeld) writes:
  14.  
  15. >Or, move vi to vi.prog and write a shell script called vi that appends
  16. >this to the EXINIT.
  17.  
  18. Don't do that.  If you set EXINIT, vi will ignore $HOME/.exrc.
  19. Users will notice, and put alias vi=vi.prog in their .chsrc files.
  20.  
  21. >Come to think of it, Vi might listen to the env.
  22. >variable TMPDIR, so you could try that, too.
  23.  
  24. Have you tried it?  Does it work with your version of vi?
  25. Vi Version SVR3.1 doesn't listen to TMPDIR.
  26.  
  27. --
  28. Hope this helps,
  29.  
  30. Hans Mulder            hansm@cs.kun.nl
  31.