Received: from access1.lan2wan.com (bmccoy@access1.lan2wan.com [205.177.8.10]) by hub.org (8.9.3/8.9.1) with ESMTP id SAA24605 for ; Thu, 22 Apr 1999 18:00:26 -0400 (EDT) (envelope-from bmccoy@access1.lan2wan.com) Received: (from bmccoy@localhost) by access1.lan2wan.com (8.8.5/) id VAA02521; Thu, 22 Apr 1999 21:03:22 -0400 (EDT) Date: Thu, 22 Apr 1999 21:03:22 -0400 (EDT) From: "Brett W. McCoy" To: "G. Anthony Reina" cc: "pgsql-sql@postgreSQL.org" Subject: Re: [SQL] Changing the editor for the \e option In-Reply-To: <371F98CE.2933217C@nsi.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.