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

From: "John M(dot) Flinchbaugh" <glynis(at)butterfly(dot)hjsoft(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-22 22:01:43
Message-ID: Pine.LNX.4.10.9904221800210.29440-100000@butterfly.hjsoft.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?

just set the EDITOR environment variable to whatever editor you'd rather
use.

____________________}John Flinchbaugh{______________________
| -> glynis(at)hjsoft(dot)com <- john(at)cs(dot)millersv(dot)edu |
| glynis(at)netrax(dot)net http://www.hjsoft.com/~glynis/ |
~~Powered by Linux: Reboots are for hardware upgrades only~~

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message G. Anthony Reina 1999-04-22 22:13:20 Re: [SQL] Changing the editor for the \e option
Previous Message G. Anthony Reina 1999-04-22 21:46:54 Changing the editor for the \e option