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 14:01:15 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!news.uh.edu!uuneo.neosoft.com!igate.dmccorp.com!jleslie From: jleslie@dmccorp.com (Jerry Leslie) Newsgroups: comp.sys.dec Subject: Re: how to change vi temporary directory?? Date: 7 Jul 1994 20:52:19 GMT Organization: NeoSoft Internet Services +1 713 684 5969 Distribution: world Message-ID: <2vhpu3$dpv@uuneo.neosoft.com> References: <2veu8q$j4n@decuk.uvo.dec.com> <2vh2f4$gkt@csugrad.cs.vt.edu> NNTP-Posting-Host: igate.dmccorp.com X-Newsreader: TIN [version 1.2 PL2] Andy "speed-racer" Wagliardo (awagliar@csugrad.cs.vt.edu) wrote: : 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]. Or replace 'vi' with 'ed'... 'ed' is a public domain editor patterned after DEC VMS' EDT editor, but with many extensions, such as box-mode cut-and-paste, editing of binary files, remote editing via ftp. 'ed' runs on: MS-DOS, OS/2, Windows-NT, VMS VAX, VMS AXP. It runs on every Unix the co-author could get access to: AIX, HP-UX, OSF/1, NeXT, BSD/386, Linux, Ultrix, SunOS (don't know about SCO). 'ed' can be imbedded in elm and tin, where it's being used to write this post. 'ed' includes online help, for those who need some reminders. 'ed' should not be confused with the ed line-mode editor on some dialects of Unix. A copy of the email announcement follows. --Gerald (Jerry) R. Leslie Staff Engineer Dynamic Matrix Control Corporation (my opinions are my own) P.O. Box 721648 9896 Bissonnet Houston, Texas 77272 Houston, Texas, 77036 713/272-5065 713/272-5200 (fax) gleslie@isvsrv.enet.dec.com jleslie@dmccorp.com ============================================================================= "This note is being sent to you since you have stated interest in ED or are a current user. If you would like to be removed from this list or have someone added, let me know. V1.5.7 of ED fixes many bugs and adds a few enhancements requested by you, the user group, of ED. The primary FTP site remains riceng.rice.edu, username rhrsoft, password rhrsoft. The DOS binary distribution and the source distribution (which builds everywhere) as also been installed on Simtel mirrors (Oak.Oakland.edu for example) in ZIP format as pub/msdos/editor/edrhr15*.zip for those of you needing anonymous FTP or a well known site. Below is the announcement from the Simtel update. ED v1.5.7 is an editor with a VMS/EDT like user interface, but provides significantly enhanced features. Multiple windows allow you to display many files on the screen simultaneously. Additional enhancements include a file manager interface, ability to save key definitions, editing by wildcards, an imbedded calculator, automatic program identation, parenthesis matching, box/column editing features, insert/overstrike modes, and sorting functions. ED has no file size limits and can edit binary files also. The source distribution will build on virtually any platform, which allows you to have the same editor on all systems. ED can be used immediately without training by EDT users, and they can use the enhanced features at their own pace. For systems with a supported TCP/IP package, ED can be used as a file manager and editor across the network to remote nodes. There is also a simple, fast imbedded news reader included with TCP/IP support."