From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,f1938d33615cbacc X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-07-07 07:20:41 PST Path: bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!MathWorks.Com!solaris.cc.vt.edu!csugrad.cs.vt.edu!not-for-mail From: awagliar@csugrad.cs.vt.edu (Andy "speed-racer" Wagliardo) Newsgroups: comp.sys.dec Subject: Re: how to change vi temporary directory?? Date: 7 Jul 1994 10:11:48 -0400 Organization: Virginia Tech Computer Science Dept, Blacksburg, VA Distribution: world Message-ID: <2vh2f4$gkt@csugrad.cs.vt.edu> References: <2veu8q$j4n@decuk.uvo.dec.com> NNTP-Posting-Host: csugrad.cs.vt.edu X-Newsreader: TIN [version 1.2 PL2] John McNulty (jm@moonbase.uvo.dec.com) wrote: : > How do I change the default directory where "vi" places temporary : > work files? This is in an Ultrix operating system. : You can't. It's hard coded ... : #define TMP "/tmp" Just for the record, sure you can. The best way to do this, IMHO, is to use "set dir=/path/to/new/tmp/dir" in your .exrc file. It is also possible through "setenv EXINIT 'dir=/path/to/new/tmp/dir'" in your .cshrc file. Or you could get the sources for vi :) and change the aforementioned variable. Or even compile [elvis|cvi|dvi]. -- ) Andy "speed-racer" Wagliardo "Now is the Windows of our disk contents ( ( awagliar@csugrad.cs.vt.edu Made glorious SimEarth by this son of Zork" ) ) Virginia Polytechnic Institute -- Richard v3.0 (