Quoting Sander Striker <striker@apache.org>:
> > > Date: Thu, 24 Jan 2002 14:07:30 +0100 (MET)
> > > From: Daniel Stenberg <daniel@haxx.se>
> > > To: dev@subversion.tigris.org
> > > Subject: issue #604 report
> > >
> > > * If no commit message is given, it fires up an editor for you.
> The editor
> > > is picked from environment variables, and they're tried in
> this order:
> > > SVN_EDITOR, EDITOR, VISUAL and if none of them are set,
> notepad.exe
> > > is used on win32 machines and /bin/vi on all other.
> >
> > roman@roman ~ > which vi
> > /usr/bin/vi
> > roman@roman ~ > ls /bin
> > [ df ln rcp stty
> > cat domainname ls realpath sync
> > chio echo ls-orig red tcsh
> > chmod ed mkdir rm test
> > cp expr mv rmail unlink
> > csh hostname pax rmdir zsh
> > date kill ps sh
> > dd link pwd sleep
> > roman@roman ~ > uname -a
> > FreeBSD roman.mobil.cz 4.4-STABLE FreeBSD 4.4-STABLE #0: Wed
> Dec 26
> > 12:45:18 CET 2001
> > root@roman.mobil.cz:/usr/obj/usr/src/sys/CRUDPUPPY_3 i386
>
> Hmmm, I don't know about you, but when I only can mount / because
> /usr is busted: I want my vi. But, you have a point. vi cannot be
> trusted to be in /bin. However, in that unfortunate case, you've
> had three chances to specify the correct path: SVN_EDITOR, EDITOR and
> VISUAL.
A thought -- is env in a standard location enough such that using
the "/usr/bin/env vi" trampoline would be more portable?
Owen
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:59 2006