From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Shiyao Ma Newsgroups: gmane.emacs.help Subject: any working example of differentiate and C-i under teminal ? Date: Sat, 12 Mar 2016 10:10:13 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1457748654 27664 80.91.229.3 (12 Mar 2016 02:10:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Mar 2016 02:10:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 12 03:10:37 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aeZ0k-0001Ur-IZ for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Mar 2016 03:10:34 +0100 Original-Received: from localhost ([::1]:58609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeZ0j-0004j3-B8 for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Mar 2016 21:10:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeZ0V-0004iu-08 for help-gnu-emacs@gnu.org; Fri, 11 Mar 2016 21:10:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aeZ0Q-00028o-2r for help-gnu-emacs@gnu.org; Fri, 11 Mar 2016 21:10:18 -0500 Original-Received: from mail-io0-x22b.google.com ([2607:f8b0:4001:c06::22b]:33711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeZ0P-00028k-T6 for help-gnu-emacs@gnu.org; Fri, 11 Mar 2016 21:10:14 -0500 Original-Received: by mail-io0-x22b.google.com with SMTP id n190so167044751iof.0 for ; Fri, 11 Mar 2016 18:10:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=introo-me.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to; bh=emc2Qtk3XNL6RenGukIVvvvwOhB2ifqt8D6pdGFM4pw=; b=zaqUtdqD6q/9IfJUJSf2bGSDx3w2yMjgjW3WA8ztFA72Ddern85V5jJOotqOOTnWCZ 5AIVdGrc7OV9QiI1cCxSDnDzcK7Ma1npCyiL6SFjKc4IobLVUaAK3v/u/6xr/yO++wi9 dPNH1jcfNaFscqczi2QofamtgQ3xlIoYmMUBvXy9uklgnuERQcJeDGAeDpb8JRN4uXXc 1tkr5dfPAZeOput29giqI+9kCrAm5ZK/WIxrK4My00L6SsHPJndUAEBzuCl0FWaAjhE9 yBcILqIB1QITRO6MJK4prSPu1CXkz4aCpwtIUMa3/TayANRWnDqGDo2Qg2UHkJA8Md9f sy8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=emc2Qtk3XNL6RenGukIVvvvwOhB2ifqt8D6pdGFM4pw=; b=Gy6cWN8CvjWOD4SCHsPXKfAihAAZrj4BZAf7qT2GY7GtpLnxj2CIYQW+ke3nX7/cVu z2v+SSnsD/BdTjpjHwETYAtgISx63UxpkXibx81IvwvvN8v5ynbqHqNvaPLC/AbrOhz3 5A7w07gwWpQ2Mtqib1NRUUwVoVBDl4404vP9qOZ/Ah/Q7vktkeyfgP3RIPU3PxFXH41G uMuBAYqKDS1l1t4C5rzbOybqeI1RUprdY8dEszX1nCjxzLFj338I/xb/oZq/hL+l3gCW YlfborLpjphgTtAPs4JuJUC/jCixVzT7LvBId3ENM0z7ti99fKxRssmNFBSV03EcSK7p pdoQ== X-Gm-Message-State: AD7BkJIwXMZU6hlWJQKrn5831So9DHyqJWkreiwFsKbcP1V+F1s5pyhtMvZX/wLxLL382EU0IRCFRK9cTWNT7g== X-Received: by 10.107.41.148 with SMTP id p142mr15376295iop.182.1457748613444; Fri, 11 Mar 2016 18:10:13 -0800 (PST) Original-Received: by 10.107.53.218 with HTTP; Fri, 11 Mar 2016 18:10:13 -0800 (PST) X-Originating-IP: [143.89.244.107] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4001:c06::22b X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109547 Archived-At: Hi, I am under iterm2, so I rebind C-i to send \e[27;5;105~ while the key still gives ascii "\t". So I think it would be possible for emacs to differentiate the and C-i. I did some google and turned out it's all about the key code translation. Sadly, all didn't work. So any working sample here? Thanks. --=20 =E5=90=BE=E8=BC=A9=E3=81=AF=E7=8C=AB=E3=81=A7=E3=81=82=E3=82=8B=E3=80=82=E3= =83=9B=E3=83=BC=E3=83=A0=E3=83=BC=E3=83=9A=E3=83=BC=E3=82=B8=E3=81=AFhttps:= //introo.me =E3=80=82