Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tiJNc-00EK58-Pu for pgsql-general@arkaria.postgresql.org; Wed, 12 Feb 2025 20:30:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tiJMb-00Dsxy-NR for pgsql-general@arkaria.postgresql.org; Wed, 12 Feb 2025 20:29:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tiJMa-00Dsxm-R3 for pgsql-general@lists.postgresql.org; Wed, 12 Feb 2025 20:29:42 +0000 Received: from fhigh-b2-smtp.messagingengine.com ([202.12.124.153]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tiJMY-000Uar-1x for pgsql-general@postgresql.org; Wed, 12 Feb 2025 20:29:41 +0000 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id 94FDA25401E8; Wed, 12 Feb 2025 15:29:36 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Wed, 12 Feb 2025 15:29:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1739392176; x=1739478576; bh=dS5dK2rnhDF/Yh/6O+NIrG4AZEeKFbAyfpmHgB/bBPc=; b= BI2Ad8PJufrgVnltD13Hbve9PujXPzdNmrsdy8cWjrw/ZXLHJ7bga2nGgpZ/fJ4X OPFmoOTQAV92c3YdrXOopKbMIzoGtqxxd05UWXto5HA1RPr50wcTN+3RJcjtyPB9 togt/QtIKYs/YRYXd4seiRGnKuJKR0WLqs1GbHvWQNIxxO4encI7pc3ZR1Cs3sHq QN+QNkhYcHkHofe4blvL6EL3CyXwsMuqjh6U6gewYyjfUbzkLEaWIrmzrv6l4jkZ YyHN1NcOG4yG+0xU2/cOLXrlG1IdhxaeOcpGsCc6PUQIN0oLZHN6HSGGJ1PWBQkz xizgdzLW67hIuS4+gPj7rg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1739392176; x=1739478576; bh=d S5dK2rnhDF/Yh/6O+NIrG4AZEeKFbAyfpmHgB/bBPc=; b=glPrCuRT8AhLnDVBO 6pPMAhbizFhsWvX/D+Om9kBwa4VA49SsECqRC2tj8KFf8mt58TAGHQHi2B1k6oiG m8mh6eCA55H6VrrtXCH8qHaMKenwmN0sEpEs838roJRQA/d8giJd1iq6NQhjE5ax mUtCq267f/qOPWOmG96gnvOoxLSgUyaxVF0bTIHLvf8KYVzBvA2Bp6aWPZ5wevKc tA+se0W3edl+Dl2z7MxbXzhjlW8Y6B0W5D4Ll1x9d1RupbEog8GLy63bhX8hcMGO xjO698IxpXPh9+XnbL9i93JXx7if3L6F0r5YfMBhfvDWcR8mzidyuex0dhqtTTba CeRhw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeggeekgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgg gfuffvfhfhjggtgfesthekredttddvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgv rhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrg htthgvrhhnpeffleegieefgfevudehtdfhkeeutdffjeevgeffgeejvedthefgudeiteef heejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggprhgtphhtthho pedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehrohhnlhhjohhhnhhsohhnjh hrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqghgvnhgvrhgrlhesphho shhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 12 Feb 2025 15:29:35 -0500 (EST) Message-ID: <4e1966c1-1f24-47e5-9c87-8cf466216b6b@aklaver.com> Date: Wed, 12 Feb 2025 12:29:35 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: psql command line editing To: Ron Johnson , pgsql-general References: <61255ab-6249-1226-7db6-4ecc3e4c127b@appl-ecosys.com> <3370941.1739388555@sss.pgh.pa.us> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2/12/25 12:03, Ron Johnson wrote: > On Wed, Feb 12, 2025 at 2:29 PM Tom Lane > wrote: > There's got to be something in your shell config which says "use emacs > keys" instead of "use vi keys". From man readline: "By default, the line editing commands are similar to those of emacs. A vi-style line editing interface is also available." To change from the default would involve setting editing-mode in /etc/inputrc or ~/.inputrc. > > -- > Death to , and butter sauce. > Don't boil me, I'm still alive. > lobster! -- Adrian Klaver adrian.klaver@aklaver.com