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: Make Super key work in console Date: Sun, 21 Feb 2021 14:18:57 +0700 Message-ID: References: <875z2twank.fsf@zoho.eu> <83h7m6zpr5.fsf@gnu.org> 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="30632"; mail-complaints-to="usenet@ciao.gmane.io" To: Yuri Khan , Eli Zaretskii , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 21 08:19:34 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 1lDj1h-0007rK-P5 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 21 Feb 2021 08:19:33 +0100 Original-Received: from localhost ([::1]:36470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDj1g-0003Pf-RA for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 21 Feb 2021 02:19:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDj1L-0003OD-Rh for help-gnu-emacs@gnu.org; Sun, 21 Feb 2021 02:19:11 -0500 Original-Received: from mail-ua1-x932.google.com ([2607:f8b0:4864:20::932]:37971) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDj1K-0006rS-88; Sun, 21 Feb 2021 02:19:11 -0500 Original-Received: by mail-ua1-x932.google.com with SMTP id y35so3321012uad.5; Sat, 20 Feb 2021 23:19:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=c/dkUdz/lZNd74S36Ck4HaNxIOiezLoSOfsoQ7GonhI=; b=IkHp4Ui1fCQr+umJz4cd6bHv46F7GyC6Ar0eoCt791znXN1mg8M5aW9qJS0iWG2UNq pv3gUqL5S8148MxNWfHFcW64LxK8ncE1dzQKsXpZphxWZIR08ykdkmhWeps81USzMf/G ZrVU97l4ZBy7BOeKCG+FrwdEz2LBqp+JmdHlk4hjqF5OWrSoTdswdRPMPu9sXnK7alUY PSxdxbu0GKCr13fE29GjJ1EUK3POcXyhgoq2TPtgbSL0nrgpBiBRw3kOGq9J2GUWbkgu xgFW/WkaV6QDDHGV7XhRWRXr/TJTDDY+4Wb1nlApGVsYOKvkYhPvmAw1/dpKt60JGo// hidg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=c/dkUdz/lZNd74S36Ck4HaNxIOiezLoSOfsoQ7GonhI=; b=XsDXRSC1JCBSG2PcQVGUB64rS89Qje1XD61GAOlb0yYAJR5G36IqTzPoJGOhLCNtPZ CObBiozeRKh2YbXxIO+9u3wczBo9xxHeofMViyFs0lZ7wuJZXCAASiRGU6/jsIojTiTS HHOjDVaIvau3V2gjGPDM4OVhX5SSJ8bM9+JgNupmf/NpfvLxAi89Mm9qyE3+X6WrJfCR 4lXYUhvEub58CVWr/v4yzDvToKsJG9d0CRBUrulPKLhXo542zaKZyf4LDAA/n9EMwf1B nmfjsC6WrQZ2iYN+ulD9i6yk7aU2L04vTr0IkGDz9Q12YpHG1fx9/1TH3S44ZqLTthkz rh5Q== X-Gm-Message-State: AOAM531TCdWJRAkW+8AgUroKzpJTOIMCmF90lEAhhyDAevRIUouwxO5P psW6brLYDs8POaLQ+2Vqk5DC/BAwXMxDis+gCQA= X-Google-Smtp-Source: ABdhPJxkclleiiGJZUbAEnXcsLjznitBm3XfqixK/gnsCXtbSF7xX35qonlBFhlvmSyRfJQMLIGI12ciPL+2f+lTpMs= X-Received: by 2002:ab0:2056:: with SMTP id g22mr5813317ual.24.1613891948961; Sat, 20 Feb 2021 23:19:08 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::932; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x932.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:128174 Archived-At: On Sun, 21 Feb 2021 at 12:32, Jean Louis wrote: > Now in /usr/share/terminfo I can find entries like `ibmpc' or `unixpc' > do you think any of them could have the Super key entry there? I have > tried using such with Emacs in console but do not see that Super key > is working. > > As maybe just changing $TERM variable could make it work, what do you > think? Terminfo database entries do not *define* how terminals work. They *describe* it so that applications can decode the character stream they receive. By changing your TERM variable, you tell your applications =E2=80=9CDisrega= rd what my terminal emulator says about itself (if anything); treat it as if it were what I say=E2=80=9D. It=E2=80=99s an escape hatch, not a configu= ration facility. > Maybe it is possible to define new terminfo file that supports all the > keys commonly found on today's keyboard. It would be possible, but you would still need a terminal emulator that actually emits the sequences you put in that terminfo entry.