Re: [SQL] Changing the editor for the \e option - Mailing list pgsql-sql

From Brett W. McCoy
Subject Re: [SQL] Changing the editor for the \e option
Date
Msg-id Pine.BSI.3.91.990422210144.2444A-100000@access1.lan2wan.com
Whole thread Raw
In response to Changing the editor for the \e option  ("G. Anthony Reina" <reina@nsi.edu>)
List 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 by date:

Previous
From: Michael J Davis
Date:
Subject: RE: [SQL] SELECT TOP X -- part 2 -- parse error?
Next
From: "John M. Flinchbaugh"
Date:
Subject: Re: [SQL] Changing the editor for the \e option