Re: How do I change the default editor in psql

From: Guido Goldstein <guido(at)gold(dot)siebend(dot)net>
To: pgsql-questions(at)postgresql(dot)org
Subject: Re: How do I change the default editor in psql
Date: 2000-03-31 17:16:37
Message-ID: ltsnx7f4jj.fsf@nathan.gold.siebend.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi!

On Fri, 31 Mar 2000 15:20:29 GMT
"anonymous" <xx(at)yy(dot)zz> wrote:
> The default editor when i invoke "\e" in "psql" it is "vi". How can I
> replace the
> editor with something else?
> Thanks,
> Rafael.

You can set the EDITOR environment variable to the editor you want to
use (i.e. EDITOR=gnuclient).

Dont forget to export this variable!

HIH
&
MfT
Guido
--
"Please remain calm...I may be mad, but I am a professional."
-- Mad Scientist

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-03-31 18:11:18 Re: Problem with Large Object Interface of pgsql_perl5
Previous Message Ken Causey 2000-03-31 16:18:55 Problem with Large Object Interface of pgsql_perl5