home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / editors / 3033 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.9 KB

  1. Path: sparky!uunet!lhdsy1!nntpserver.chevron.com!gruc19.nor.chevron.com!hjiwa
  2. From: hjiwa@gruc19.nor.chevron.com (Jeff Wang)
  3. Newsgroups: comp.editors
  4. Subject: Re: vi temporary files
  5. Message-ID: <1992Dec14.080030@gruc19.nor.chevron.com>
  6. Date: 14 Dec 92 14:00:30 GMT
  7. References: <1992Dec13.230411.16440@doug.cae.wisc.edu>
  8. Sender: news@nntpserver.chevron.com (USENET News System)
  9. Organization: Chevron Petroleum Technology Company
  10. Lines: 27
  11.  
  12. saunders@luther.che.wisc.edu (Brian E. Saunders) writes:
  13. |> Whenever you use vi, a temporary file gets created on the /tmp directory.
  14. |> If one has their disc partitioned in the manner that UNIX discs often get
  15. |> partitioned, the "/" partition, which includes /tmp, does not have a whole
  16. |> lot of space.  One person editing a huge file (multiple megabytes) will
  17. |> fill the partition, and make it impossible to do other things that are
  18. |> necessary from time to time, i.e. mail, other vi sessions, etc...
  19. |> 
  20. |> Is there a way to force vi to write the temporary files to the users home
  21. |> directory?  I know emacs does this, and I probably will encourage people
  22. |> editing large files to use emacs if I can't find a solution to the vi temp
  23. |> files.
  24.  
  25. To redirect where vi will store its temporary buffer files, put in your .exrc,
  26.  
  27. set dir=home_dir
  28.  
  29. where "home_dir" is the path to the user's home directory.
  30.  
  31. -- 
  32.  #====}==) #===(==}  #====}==) #===(==}  {==)===# (=={====#  {==)===# (=={====#
  33. >> Jeff Wang                             Net   : hjiwa@gruc19.nor.chevron.com <<
  34. >> Chevron Petroleum Technology Company  Profs : hjiwa (hovmb)                <<
  35. >> Geophysical/Geological Applications   Phone : (504) 592-6162               <<
  36. >> 935 Gravier Street, Room 1006         Fax   : (504) 592-6958               <<
  37. >> New Orleans, Louisiana 70112          Valeo,vales. Die dulci fruimini!! :) <<
  38.  #===(==}      What if no one ever asked a hypothetical question?      {==)===#
  39.