From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: . is undefined (when pressing C-.): is ssh behaving odd? Date: Tue, 7 Dec 2021 01:02:19 +0700 Message-ID: References: <87ee6tiwq3.fsf@gmail.com> <87mtldhchk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36772"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Luca Ferrari , help-gnu-emacs To: Robert Pluim Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 06 19:03:20 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1muIKd-0009MP-Gl for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 06 Dec 2021 19:03:19 +0100 Original-Received: from localhost ([::1]:45526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muIKc-0006p2-7h for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 06 Dec 2021 13:03:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muIJw-0006lP-A1 for help-gnu-emacs@gnu.org; Mon, 06 Dec 2021 13:02:36 -0500 Original-Received: from [2607:f8b0:4864:20::92d] (port=34539 helo=mail-ua1-x92d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muIJt-0000n0-J0 for help-gnu-emacs@gnu.org; Mon, 06 Dec 2021 13:02:35 -0500 Original-Received: by mail-ua1-x92d.google.com with SMTP id n6so21416346uak.1 for ; Mon, 06 Dec 2021 10:02:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=UuV1BP6NCHjbJYm4Ocxa4P4pxpsxcmHlxrtPv71BdgA=; b=i7j4NdLhM7jkNSVajaFGBNMVrZcym6qF8ElJftMovQYOtUrDr7tzLsaX0K+uL2ZUgj 27OdwLMBtRO+OdQb4YKltEX/kROQMsMG3FiTC8ym/9bRwtJlZdAiG2Ppq4c056caTNDc jzYZLrptD+vd+iSd/7/4NnjvogSou0ebLJZ+7vvuxShyj8mWrN/SLiCFKxApudgP83hB CDTD6B1U4j+08Vr9G551ldWwZ9Rq3P7j3Gogq9s3rcLBTCx371MhtF6wcoq1IkA6P5Xr 2j/8aEwcFf+pEQq4YLul39zZQGo+hqQt4uGb8VajdHvruAKJpCKR+YgmWJHZuaXdXvr6 cklg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=UuV1BP6NCHjbJYm4Ocxa4P4pxpsxcmHlxrtPv71BdgA=; b=ik/eSXoZCUuWdtH+ERFCJuJWTfLPOjmzsbr91zizUo+Mdzj5KrXlDO2aXeHPabss2w quBNUWcA8uS1IJDFrc19IkgQDYLw7dA6O16dtOmyaYUb+clin8ZOtv1HJF1x4MFvEZmC qgmSBlq/zxa5cYS6N+HfQgnVXBWmN/sMyPkIH+rAtIkMU+Mn0vPjKcdleUzCAzZMnPpi upXLDXVnPmFkPkdKiSFLYXvmTTkoCTRscn5sqzAuOxwivBd9pixMh+/rKu2X4xlKqsNO RrSa+km119GCuYbtkWDf3RJU7v2UfH4ci7uTThjSJhQKgKv2Ga6m9kh8hY603b7ic5Fa h/sg== X-Gm-Message-State: AOAM5329MM9SyS2E6Z9J0fubkzfp5kVuW3J2yOpJk8E1Za4tJnpEPA+0 EvG/1royZPQ0KDTJafKTpDA+sAjmor91Vj8jjl8= X-Google-Smtp-Source: ABdhPJye8RQDWEqinapfS5EqdwclXFCG6iWzvL3ADOEmA1AZDAxqWTEDpbitEFG0KaTYwIHRWACjJnA7b14OpNToOcs= X-Received: by 2002:a05:6102:109b:: with SMTP id s27mr39182796vsr.84.1638813751427; Mon, 06 Dec 2021 10:02:31 -0800 (PST) In-Reply-To: <87mtldhchk.fsf@gmail.com> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::92d (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::92d; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x92d.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:134863 Archived-At: On Tue, 7 Dec 2021 at 00:25, Robert Pluim wrote: >>> tty's can=CA=BCt produce 'C-.' This is technically correct if one limits oneself to a hardware terminal made half a century ago, or even to a Linux TTY. > There are limitations to the keys that can be produced when using a > tty (such as when you=CA=BCre logged in over ssh, or running 'emacs > -nw'). One of those is that certain Ctrl combinations simply won't > work: C-. is one of them. There is no fix: it=CA=BCs an inherent > limitation of the tty technology. The fix is to use a terminal emulator that implements extended key codes, to opt in to such a protocol extension, and to teach Emacs to decode that. Here=E2=80=99s one such extension. https://sw.kovidgoyal.net/kitty/keyboard-protocol/ (No, I don=E2=80=99t have a functional term/xterm-kitty.el right now. Maybe one day, when/if I get fed up with X11 forwarding over a less-than-lightspeed ssh connection.)