Article View: comp.editors
Article #2506Re: vi temporary files
From: Jeff Wang
Date: Mon, 14 Dec 1992 14:00
Date: Mon, 14 Dec 1992 14:00
27 lines
1957 bytes
1957 bytes
saunders@luther.che.wisc.edu (Brian E. Saunders) writes:
|> Whenever you use vi, a temporary file gets created on the /tmp directory.
|> If one has their disc partitioned in the manner that UNIX discs often get
|> partitioned, the "/" partition, which includes /tmp, does not have a whole
|> lot of space. One person editing a huge file (multiple megabytes) will
|> fill the partition, and make it impossible to do other things that are
|> necessary from time to time, i.e. mail, other vi sessions, etc...
|>
|> Is there a way to force vi to write the temporary files to the users home
|> directory? I know emacs does this, and I probably will encourage people
|> editing large files to use emacs if I can't find a solution to the vi temp
|> files.
To redirect where vi will store its temporary buffer files, put in your .exrc,
set dir=home_dir
where "home_dir" is the path to the user's home directory.
--
#====}==) #===(==} #====}==) #===(==} {==)===# (=={====# {==)===# (=={====#
>> Jeff Wang Net : hjiwa@gruc19.nor.chevron.com <<
>> Chevron Petroleum Technology Company Profs : hjiwa (hovmb) <<
>> Geophysical/Geological Applications Phone : (504) 592-6162 <<
>> 935 Gravier Street, Room 1006 Fax : (504) 592-6958 <<
>> New Orleans, Louisiana 70112 Valeo,vales. Die dulci fruimini!! :) <<
#===(==} What if no one ever asked a hypothetical question? {==)===#
Technical Details
Message-ID:
<1992Dec14.080030@gruc19.nor.chevron.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!lhdsy1!nntpserver.chevron.com!gruc19.nor.chevron.com!hjiwaReferences:
<1992Dec13.230411.16440@doug.cae.wisc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!lhdsy1!nntpserver.chevron.com!gruc19.nor.chevron.com!hjiwa From: hjiwa@gruc19.nor.chevron.com (Jeff Wang) Newsgroups: comp.editors Subject: Re: vi temporary files Message-ID: <1992Dec14.080030@gruc19.nor.chevron.com> Date: 14 Dec 92 14:00:30 GMT References: <1992Dec13.230411.16440@doug.cae.wisc.edu> Sender: news@nntpserver.chevron.com (USENET News System) Organization: Chevron Petroleum Technology Company Lines: 27