Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* how to change vi temporary directory??
@ 1994-07-01 15:34 Ravi Subramaniam
  1994-07-06 18:47 ` John McNulty
  1994-07-06 20:12 ` Brad Daniels
  0 siblings, 2 replies; 5+ messages in thread
From: Ravi Subramaniam @ 1994-07-01 15:34 UTC (permalink / raw)


How do I change the default directory where "vi" places temporary
work files?  This is in an Ultrix operating system.

Thanks in advance,
Ravi Subramaniam
(subraman@soma.umdnj.edu)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to change vi temporary directory??
  1994-07-01 15:34 how to change vi temporary directory?? Ravi Subramaniam
@ 1994-07-06 18:47 ` John McNulty
  1994-07-07 14:11   ` Andy "speed-racer" Wagliardo
  1994-07-06 20:12 ` Brad Daniels
  1 sibling, 1 reply; 5+ messages in thread
From: John McNulty @ 1994-07-06 18:47 UTC (permalink / raw)




> 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"

If you're having problems because /tmp isn't big enough, I'd advise you
find a spare partition from somewhere big enough for your needs, and mount 
it over /tmp.  You could soft link /tmp to somewhere else, but that has
a draw back at single user mode.

-- 
John McNulty		      
Digital Equipment Corporation 
CSC/UK Unix Support Group	      



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to change vi temporary directory??
  1994-07-01 15:34 how to change vi temporary directory?? Ravi Subramaniam
  1994-07-06 18:47 ` John McNulty
@ 1994-07-06 20:12 ` Brad Daniels
  1 sibling, 0 replies; 5+ messages in thread
From: Brad Daniels @ 1994-07-06 20:12 UTC (permalink / raw)


In article <Cs9pwu.JA6@umdnj.edu>,
Ravi Subramaniam <subraman@soma.UMDNJ.EDU> wrote:
>How do I change the default directory where "vi" places temporary
>work files?  This is in an Ultrix operating system.

On most systems, you can just set "TMPDIR" to point somewhere else.
Ultrix may not do that, though.  Another alternative is to get
a copy of elvis, which is a pretty decent vi clone modulo a few quirks.
I think it's from GNU, but any archie server should be able to tell
you definitively.

- Brad
-------------------------------------------------------------------
+ Brad Daniels                  | "Oh, I know you did...          +
+ Biles and Associates          |  but let's pretend you didn't." +
+ These are my views, not B&A's |           - Darkman             +
-------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to change vi temporary directory??
  1994-07-06 18:47 ` John McNulty
@ 1994-07-07 14:11   ` Andy "speed-racer" Wagliardo
  1994-07-07 20:52     ` Jerry Leslie
  0 siblings, 1 reply; 5+ messages in thread
From: Andy "speed-racer" Wagliardo @ 1994-07-07 14:11 UTC (permalink / raw)


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               (


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to change vi temporary directory??
  1994-07-07 14:11   ` Andy "speed-racer" Wagliardo
@ 1994-07-07 20:52     ` Jerry Leslie
  0 siblings, 0 replies; 5+ messages in thread
From: Jerry Leslie @ 1994-07-07 20:52 UTC (permalink / raw)


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."




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1994-07-07 20:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-01 15:34 how to change vi temporary directory?? Ravi Subramaniam
1994-07-06 18:47 ` John McNulty
1994-07-07 14:11   ` Andy "speed-racer" Wagliardo
1994-07-07 20:52     ` Jerry Leslie
1994-07-06 20:12 ` Brad Daniels

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox