From: Brett W. McCoy <bmccoy@lan2wan.com>
To: G. Anthony Reina <reina@nsi.edu>
Cc: pgsql-sql@postgreSQL.org <pgsql-sql@postgreSQL.org>
Subject: Re: [SQL] Changing the editor for the \e option
Date: Thu, 22 Apr 1999 21:03:22 -0400 (EDT)
Message-ID: <Pine.BSI.3.91.990422210144.2444A-100000@access1.lan2wan.com> (raw)
In-Reply-To: <371F98CE.2933217C@nsi.edu>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: bmccoy@lan2wan.com, reina@nsi.edu
Subject: Re: [SQL] Changing the editor for the \e option
In-Reply-To: <Pine.BSI.3.91.990422210144.2444A-100000@access1.lan2wan.com>
References: <371F98CE.2933217C@nsi.edu> <Pine.BSI.3.91.990422210144.2444A-100000@access1.lan2wan.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox