Re: How do I change the default editor in psql

Поиск
Список
Период
Сортировка
От rafal.nospam@paputek.decsoft.com.pl (Rafal Slubowski)
Тема Re: How do I change the default editor in psql
Дата
Msg-id 38e89323.17004971@news.tpnet.pl
обсуждение исходный текст
Ответ на How do I change the default editor in psql  ("anonymous" <xx@yy.zz>)
Список 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 по дате отправления:

Предыдущее
От: Michael Ansley
Дата:
Сообщение: RE: Embedded SQL -- ecpg
Следующее
От: "Horst Herb"
Дата:
Сообщение: extern transaction logging