From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Akib Azmain Turja Newsgroups: gmane.emacs.help Subject: Re: vterm and Meta? Date: Wed, 02 Aug 2023 01:01:35 +0600 Message-ID: <87mszah9io.fsf@disroot.org> References: <83089d3fe2e4d5cf3369d7831a88877002a21557.camel@adminart.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24932"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: hw Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 01 21:41:42 2023 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 1qQvFV-0006IY-Se for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 01 Aug 2023 21:41:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQvEz-0003nW-JU; Tue, 01 Aug 2023 15:41:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qQvEx-0003jf-Mv for help-gnu-emacs@gnu.org; Tue, 01 Aug 2023 15:41:07 -0400 Original-Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qQvEs-00007G-R9 for help-gnu-emacs@gnu.org; Tue, 01 Aug 2023 15:41:07 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 26D4540237; Tue, 1 Aug 2023 21:40:57 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Original-Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k1D23X4RkCrs; Tue, 1 Aug 2023 21:40:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1690918855; bh=TV0k28He6B2zyZgxPiTp7UHald9et2vhlIzSCvO7gwg=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=XLvzrIHVwrWSeZwgdf5PoXSks46CMttENkCnxrfCgyheKwbX5olRKxVkD4Ofk5e/6 07PEE6cHLjHYVcvbRMzGEbyBhAX+DFK8g8d9VxPoquNkTKV3Bab6FAbqmlMDDP26+H ooRIl+p2fN4Mp60liuXa9CA0l8IWtYGY0pcrlMuB2YAVQrqFQ1Gxai7aqlI4q6ZKnl prk0zZHG1GqB/irOHTSjTfXn6eIAhspTXIW30MDmcbkM7uqJQuZwdt6sQoWhWK0zD7 m+mi232g31ztc2wuwCTW8lWpt08ukcYMF6XEGomtlUjtoEGX4iTWUDbfSeOaVvc1xw zobQFPdYHQKzw== In-Reply-To: <83089d3fe2e4d5cf3369d7831a88877002a21557.camel@adminart.net> (hw@adminart.net's message of "Tue, 01 Aug 2023 13:55:03 +0200") Received-SPF: pass client-ip=178.21.23.139; envelope-from=akib@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144543 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable hw writes: > Hi, > > I'm trying out vterm and it turns out that I can't use the ESC key > when within a vterm buffer: i. e. I don't have the meta key anymore > because that gets sent to the terminal rather than emacs. > > According to [1], I could maybe remove the ESC key from vterm-mode-map > --- but it seems desirable to be able to use the ESC key for programs > that might run in vterm. > > How do you deal with this? Do you use another key for the meta key > other programs are less likely to make use of than the ESC key? > > > [1]: https://github.com/akermu/emacs-libvterm#shell-side-configuration > > I use Eat BTW. Eat doesn't bind 'ESC', instead it binds 'ESC ESC' to send ESC. This allows me to send meta-keys. When I need to send ESC, I just press ESC twice. I believe this can be done in Vterm too. =2D-=20 Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5 Fediverse: akib@hostux.social Codeberg: akib emailselfdefense.fsf.org | "Nothing can be secure without encryption." --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmTJVpAACgkQVTX89U2I YWuAOw//dS2vt92ApmG5WDCvGAPDGUGiY863DH8fFNDPu+QaJJUOmXoFF50neqTR 5ncMpbX9beWhirdiYa/Ywp7TxVctGgh6Rm6dCwRqWBnoS12/5z86pJYQyY9WEdHA VJQiNJJnfUe4EIfYZQahnf9A1lO7n9KaizeKEelwM8h+3EUfbUBsbYV6u6tmSkal gbxj5LMehBRSZ+zwysEsVzt1Vo/8fauE0wZgkT0PE3bbuksigVBBwR4OvaOlMAem 3ofZQIcAi2tnW7z/K7kctN3Z8J4zIfJcHsvwftpapzvBJT45dQuJU2aAZb4EXcHI 97merQEaweuJNP5Qs+5ZDX0PkE331yZ4Mu4gpFJgn8e1cRQkCW6F25xkhf0P6XCd k21xVbduFa6X2/EIOHU8cgR6yqtqvsr6G4C2B4tX6sbjSBSwTEm8nNJU9YaIf/pE 8wdka0Iw6f5i1dl6XxnHIpMU5/IfwZBKxRuoWV+XdRCqLk0seogTCymyiQXBDnEf sLcK6+sMqbetpHXnBEGWbXCA+Y3Lmew2ytDrbaMKT5fLQYCrHjWM8rBEQajvxnOE +KDsrgmWDC9170z8gpDrlOWoEb+67U/Pl+O8RT51u+4AWVGtdFJCORO+sC1FdmDS Q0Sm0c+0noB1z+dtQRLj3NqhmIoi9FyKFY+0txEp6TsBTqEYJZE= =Bqby -----END PGP SIGNATURE----- --=-=-=--