Re: [GENERAL] Windows default editor for psql \e

2007-02-03 Thread Bruce Momjian
Joshua D. Drake wrote: > On Tue, 2006-11-28 at 22:59 -0500, Bruce Momjian wrote: > > 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" > > > >

Re: [GENERAL] Windows default editor for psql \e

2006-11-28 Thread Joshua D. Drake
On Tue, 2006-11-28 at 22:59 -0500, Bruce Momjian wrote: > 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 ch

Re: [GENERAL] Windows default editor for psql \e

2006-11-28 Thread Richard Broersma Jr
> 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 kn

Re: [GENERAL] Windows default editor for psql \e

2006-11-28 Thread Bruce Momjian
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

Re: [GENERAL] Windows default editor for psql \e

2006-11-28 Thread Richard Broersma Jr
> 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

Re: [GENERAL] Windows default editor for psql \e

2006-11-28 Thread Bruce Momjian
Richard Broersma Jr wrote: > Does anyone know how to change the default editor from NOTEPAD to something > link gVim? It would be > nice to use an editor with a little more smarts. Sure, see the psql manual page, but setting EDITOR is the easiest way. This works on Win32 too. -- Bruce Momjia

[GENERAL] Windows default editor for psql \e

2006-11-28 Thread Richard Broersma Jr
Does anyone know how to change the default editor from NOTEPAD to something link gVim? It would be nice to use an editor with a little more smarts. Regards, Richard Broersma jr. ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner