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

  1. Newsgroups: comp.editors
  2. Path: sparky!uunet!usc!cs.utexas.edu!sun-barr!ames!saimiri.primate.wisc.edu!doug.cae.wisc.edu!luther.che.wisc.edu!saunders
  3. From: saunders@luther.che.wisc.edu (Brian E. Saunders)
  4. Subject: Re: vi temporary files
  5. Organization: University of Wisconsin - Madison
  6. Date: 14 Dec 92 13:29:07 CST
  7. Message-ID: <1992Dec14.132908.13152@doug.cae.wisc.edu>
  8. References: <1992Dec13.230411.16440@doug.cae.wisc.edu> <Bz92Hw.1Kp@sci.kun.nl>
  9. Lines: 19
  10.  
  11. In article <Bz92Hw.1Kp@sci.kun.nl> hansm@cs.kun.nl (Hans Mulder) writes:
  12. >In <1992Dec13.230411.16440@doug.cae.wisc.edu> saunders@luther.che.wisc.edu (Brian E. Saunders) writes:
  13. >>Is there a way to force vi to write the temporary files to the users home
  14. >>directory?  I know emacs does this, and I probably will encourage people
  15. >>editing large files to use emacs if I can't find a solution to the vi temp
  16. >>files.
  17. >
  18. >Maybe you could ask the offending user to add the line
  19. >
  20. >    set directory=/their/home/directory
  21. >
  22. >to the .exrc file in that directory.
  23.  
  24. I did just that, and it works great.  What a simple solution; had I paid
  25. more attention to the variables in vi, I probably could have figured this
  26. out, but this was so much easier.  Thanks a lot.
  27. -- 
  28.  
  29. Brian E. Saunders            saunders@luther.che.wisc.edu
  30.