pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: External psql editor
Date: Mon, 2 May 2022 12:18:14 -0700 (PDT)
Message-ID: <fa6c5e3-177d-d03e-86a4-4c95b9ad8932@appl-ecosys.com> (raw)
In-Reply-To: <06c83dc5167c9a1b3a724cab7e257591b5798ff9.camel@nc.rr.com>
References: <edf1cfa4-35bf-66bf-4de2-7a3bbcb6c5e4@appl-ecosys.com>
	<7fef2d5f-6698-0bb5-11fe-ffd042a24ab1@wi3ck.info>
	<89e71248-2fa8-c6ee-9546-93286947ed3b@appl-ecosys.com>
	<ce8ee8c0-cb6b-c114-47be-275730af91de@wi3ck.info>
	<a1d4d0ca-11bb-ee2c-a348-fb3098e21dd@appl-ecosys.com>
	<972d9c5f4293b858a5b505e6af8debd1ca16cf3c.camel@nc.rr.com>
	<478d98fa-93a6-3c27-a9d4-8d735fdba18a@appl-ecosys.com>
	<06c83dc5167c9a1b3a724cab7e257591b5798ff9.camel@nc.rr.com>

On Mon, 2 May 2022, Reid Thompson wrote:

>> Apparently, psql is different.

> I believe that psql also uses readline, so my thought was that maybe these
> instructions could enable you to map the 'move' keystrokes that you're
> familiar with to be used while on the psql command line. A very quick test
> seems to indicate that you can.

Reid,

Nope. No difference. Learning to put the '\e' at the end of the command line
rather than at the head did the job.

All's well.

Thanks,

Rich






view thread (26+ messages)  latest in thread

Message-ID: <fa6c5e3-177d-d03e-86a4-4c95b9ad8932@appl-ecosys.com>
Permalink:  ../fa6c5e3-177d-d03e-86a4-4c95b9ad8932@appl-ecosys.com/
Also on:    postgresql.org/message-id/fa6c5e3-177d-d03e-86a4-4c95b9ad8932@appl-ecosys.com

 · 

reply

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-general@postgresql.org
  Cc: rshepard@appl-ecosys.com
  Subject: Re: External psql editor
  In-Reply-To: <fa6c5e3-177d-d03e-86a4-4c95b9ad8932@appl-ecosys.com>
  References: <edf1cfa4-35bf-66bf-4de2-7a3bbcb6c5e4@appl-ecosys.com> <7fef2d5f-6698-0bb5-11fe-ffd042a24ab1@wi3ck.info> <89e71248-2fa8-c6ee-9546-93286947ed3b@appl-ecosys.com> <ce8ee8c0-cb6b-c114-47be-275730af91de@wi3ck.info> <a1d4d0ca-11bb-ee2c-a348-fb3098e21dd@appl-ecosys.com> <972d9c5f4293b858a5b505e6af8debd1ca16cf3c.camel@nc.rr.com> <478d98fa-93a6-3c27-a9d4-8d735fdba18a@appl-ecosys.com> <06c83dc5167c9a1b3a724cab7e257591b5798ff9.camel@nc.rr.com> <fa6c5e3-177d-d03e-86a4-4c95b9ad8932@appl-ecosys.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