[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Re: raises hand for bite-sized issue #604

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2002-01-22 22:43:40 CET

On Tue, Jan 22, 2002 at 01:07:18PM -0800, Bill Tutt wrote:
> > From: Greg Stein [mailto:gstein@lyra.org]
> >
> > If you believe contrary, then outline what the EDITOR concept means on
> > Windows. "popping up an editor" just isn't normal Win32 behavior.
> >
>
> Yeah, this is real rats nest for Win32, the easiest way out is to just
> use notepad by default for the command line client, or a GUI that has a
> text editing control for the commit message. There's nothing wrong with
> using the EDITOR environment variable on Win32, it's just very unlikely
> that it's actually set to something.

as much as i hate notepad, at least it's always there on windows...

#ifndef WIN23
  editor = apr_getenv("EDITOR");
#else
  editor = "notepad.exe";
#end

would be my suggestion... at least for the command line client. should
also give some option (in the mythical .svnrc we don't have yet) to
specify a default editor of course.

-garrett

-- 
garrett rooney                     Unix was not designed to stop you from 
rooneg@electricjellyfish.net       doing stupid things, because that would  
http://electricjellyfish.net/      stop you from doing clever things.
---------------------------------------------------------------------
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:58 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.