Re: [SQL] Changing the editor for the \e option

Поиск
Список
Период
Сортировка
От Brett W. McCoy
Тема Re: [SQL] Changing the editor for the \e option
Дата
Msg-id Pine.BSI.3.91.990422210144.2444A-100000@access1.lan2wan.com
обсуждение исходный текст
Ответ на Changing the editor for the \e option  ("G. Anthony Reina" <reina@nsi.edu>)
Список pgsql-sql
On Thu, 22 Apr 1999, G. Anthony Reina wrote:

> Is there a way to change the editor that is used for psql when you use
> the \e (edit last command)? The current editor looks like Vi (which I
> hate). Is there a way to have psql use another?

Yes.  You use your shell's EDITOR variable.  I have mine set to pico.

Brett W. McCoy                                                   http://www.lan2wan.com/~bmccoy
-----------------------------------------------------------------------
... and furthermore ... I don't like your trousers.



В списке pgsql-sql по дате отправления:

Предыдущее
От: Michael J Davis
Дата:
Сообщение: RE: [SQL] SELECT TOP X -- part 2 -- parse error?
Следующее
От: "John M. Flinchbaugh"
Дата:
Сообщение: Re: [SQL] Changing the editor for the \e option