Re: Windows default editor for psql \e

From: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: General PostgreSQL List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Windows default editor for psql \e
Date: 2006-11-29 05:11:14
Message-ID: 20061129051114.41748.qmail@web31814.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Richard Broersma Jr wrote:
> > > Sure, see the psql manual page, but setting EDITOR is the easiest way.
> > > This works on Win32 too.
> >
> > c:\set EDITOR="c:\Program Files\Vim\vim70\gvim.exe"
> >
> > Thanks Bruce, this worked like a charm!
> >
> > And sorry to drag this, but does anyone know the windows (xp) equivalent to:
> > /etc/rc.conf for *nix? i.e. the place that windows uses to store system wide variables from
> future
> > use? Is still the autoexec.bat? :o)
>
> OK, I am freaked out that I know the answer to this, but it My
> Computer/Properties/Advanced/Environment Variables.

:-) Thanks.
Just as a side note. When I specified the path string to gvim, I had leave it without quotation.
However, I need the quotations when I specified the path from the DOS prompt.

Once again thanks for the help.

Regards,

Richard Broersma Jr.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ashish Karalkar 2006-11-29 05:17:16 Please help.-- unable to load xxid.so
Previous Message Bruce Momjian 2006-11-29 03:59:42 Re: Windows default editor for psql \e