Re: How do I change the default editor in psql

From: rafal(dot)nospam(at)paputek(dot)decsoft(dot)com(dot)pl (Rafal Slubowski)
To: pgsql-questions(at)postgresql(dot)org
Subject: Re: How do I change the default editor in psql
Date: 2000-04-03 12:54:16
Message-ID: 38e89323.17004971@news.tpnet.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 31 Mar 2000 15:20:29 GMT, "anonymous" <xx(at)yy(dot)zz> wrote:

>The default editor when i invoke "\e" in "psql" it is "vi". How can I
>replace the
>editor with something else?
> Thanks,
> Rafael.

Maybe setting system variable EDITOR should help.
Try:

$ export EDITOR=pico

BTW, I'd rather learn vi ;-)

--
Rafal Slubowski \\
rafal(at)paputek(dot)decsoft(dot)com(dot)pl /O `----.
www.slubek.w.pl * (_.-. )\
*|* rs //--// X

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Horst Herb 2000-04-03 13:52:36 extern transaction logging
Previous Message Moray McConnachie 2000-04-03 12:09:29 Re: doing backups