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

From: "Brett W(dot) McCoy" <bmccoy(at)lan2wan(dot)com>
To: "G(dot) Anthony Reina" <reina(at)nsi(dot)edu>
Cc: "pgsql-sql(at)postgreSQL(dot)org" <pgsql-sql(at)postgreSQL(dot)org>
Subject: Re: [SQL] Changing the editor for the \e option
Date: 1999-04-23 01:03:22
Message-ID: Pine.BSI.3.91.990422210144.2444A-100000@access1.lan2wan.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Chris Bitmead 1999-04-23 02:00:03 Re: [SQL] Finding the "most recent" rows
Previous Message Tom Lane 1999-04-23 00:45:06 Re: [SQL] Finding the "most recent" rows