Re: psql command line editing

Rob Sargent <robjsargent@gmail.com>

From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-general@lists.postgresql.org
Date: 2025-02-13T19:14:10Z
Lists: pgsql-general


On 2/13/25 12:11, Ron Johnson wrote:
> It appears that the RHEL default /etc/initrc file defines a bunch of 
> escape sequences "for linux console and RH/Debian xterm" cursor keys 
> when in emacs mode.
>
> Our servers are RHEL, my ssh client emulates xterm, and is in the 
> default emacs mode.  Thus, the cursor keys automagically work for me, 
> and I just learned that I've been in emacs mode this whole time!
>
> -- 
> Death to <Redacted>, and butter sauce.
> Don't boil me, I'm still alive.
> <Redacted> lobster!
We're an ancient -not to say insidious- cult.