pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Changing the editor for the \e option
4+ messages / 3 participants
[nested] [flat]

* Changing the editor for the \e option
@ 1999-04-22 21:46 G. Anthony Reina <reina@nsi.edu>
  1999-04-22 22:01 ` Re: [SQL] Changing the editor for the \e option John M. Flinchbaugh <glynis@butterfly.hjsoft.com>
  1999-04-23 01:03 ` Re: [SQL] Changing the editor for the \e option Brett W. McCoy <bmccoy@lan2wan.com>
  0 siblings, 2 replies; 4+ messages in thread

From: G. Anthony Reina @ 1999-04-22 21:46 UTC (permalink / raw)
  To: pgsql-sql

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?

Thanks.
-Tony Reina





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [SQL] Changing the editor for the \e option
  1999-04-22 21:46 Changing the editor for the \e option G. Anthony Reina <reina@nsi.edu>
@ 1999-04-22 22:01 ` John M. Flinchbaugh <glynis@butterfly.hjsoft.com>
  1 sibling, 0 replies; 4+ messages in thread

From: John M. Flinchbaugh @ 1999-04-22 22:01 UTC (permalink / raw)
  To: G. Anthony Reina <reina@nsi.edu>; +Cc: 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@hjsoft.com <-             john@cs.millersv.edu |
|    glynis@netrax.net      http://www.hjsoft.com/~glynis/ |
~~Powered by Linux: Reboots are for hardware upgrades only~~




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [SQL] Changing the editor for the \e option
  1999-04-22 21:46 Changing the editor for the \e option G. Anthony Reina <reina@nsi.edu>
@ 1999-04-23 01:03 ` Brett W. McCoy <bmccoy@lan2wan.com>
  1999-04-22 22:13   ` Re: [SQL] Changing the editor for the \e option G. Anthony Reina <reina@nsi.edu>
  1 sibling, 1 reply; 4+ messages in thread

From: Brett W. McCoy @ 1999-04-23 01:03 UTC (permalink / raw)
  To: G. Anthony Reina <reina@nsi.edu>; +Cc: 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.




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [SQL] Changing the editor for the \e option
  1999-04-22 21:46 Changing the editor for the \e option G. Anthony Reina <reina@nsi.edu>
  1999-04-23 01:03 ` Re: [SQL] Changing the editor for the \e option Brett W. McCoy <bmccoy@lan2wan.com>
@ 1999-04-22 22:13   ` G. Anthony Reina <reina@nsi.edu>
  0 siblings, 0 replies; 4+ messages in thread

From: G. Anthony Reina @ 1999-04-22 22:13 UTC (permalink / raw)
  To: Brett W. McCoy <bmccoy@lan2wan.com>; John M. Flinchbaugh <glynis@butterfly.hjsoft.com>; pgsql-sql

> Yes.  You use your shell's EDITOR variable.  I have mine set to pico.
>
> Brett W. McCoy
>

Thanks. That worked well.

-Tony







^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~1999-04-23 01:03 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-04-22 21:46 Changing the editor for the \e option G. Anthony Reina <reina@nsi.edu>
1999-04-22 22:01 ` John M. Flinchbaugh <glynis@butterfly.hjsoft.com>
1999-04-23 01:03 ` Brett W. McCoy <bmccoy@lan2wan.com>
1999-04-22 22:13   ` G. Anthony Reina <reina@nsi.edu>

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