Re: How do I change the default editor in psql - Mailing list pgsql-general

From rafal.nospam@paputek.decsoft.com.pl (Rafal Slubowski)
Subject Re: How do I change the default editor in psql
Date
Msg-id 38e89323.17004971@news.tpnet.pl
Whole thread Raw
In response to How do I change the default editor in psql  ("anonymous" <xx@yy.zz>)
List pgsql-general
On Fri, 31 Mar 2000 15:20:29 GMT, "anonymous" <xx@yy.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@paputek.decsoft.com.pl      /O `----.
    www.slubek.w.pl            * (_.-.     )\
                              *|* rs //--//  X

pgsql-general by date:

Previous
From: Michael Ansley
Date:
Subject: RE: Embedded SQL -- ecpg
Next
From: "Horst Herb"
Date:
Subject: extern transaction logging