From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: xterm/mintty control sequences support when formatOtherKeys = 1 Date: Wed, 27 Feb 2013 08:54:42 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361973302 26265 80.91.229.3 (27 Feb 2013 13:55:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Feb 2013 13:55:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ren Victor Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 27 14:55:25 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UAhTc-0000bl-UT for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2013 14:55:21 +0100 Original-Received: from localhost ([::1]:60369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAhTI-0008BH-0O for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2013 08:55:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAhTE-0008Ap-Fa for emacs-devel@gnu.org; Wed, 27 Feb 2013 08:54:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAhTD-0000eW-Gk for emacs-devel@gnu.org; Wed, 27 Feb 2013 08:54:56 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:23036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAhTD-0000dS-C0 for emacs-devel@gnu.org; Wed, 27 Feb 2013 08:54:55 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxKJt/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2CSo5AA4hhnBmBXoMV X-IPAS-Result: Av4EABK/CFFFxKJt/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2CSo5AA4hhnBmBXoMV X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="2593563" Original-Received: from 69-196-162-109.dsl.teksavvy.com (HELO pastel.home) ([69.196.162.109]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 27 Feb 2013 08:54:53 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 04D056C0A9; Wed, 27 Feb 2013 08:54:42 -0500 (EST) In-Reply-To: (Ren Victor's message of "Wed, 27 Feb 2013 15:56:59 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157426 Archived-At: > When setting "formatOtherKeys" resource to 1 in xterm, 'CSI u' format is > used for non-standard keycodes. This is also how mintty support > "modifyOtherKeys" by default. > But in term/xterm.el, only 'CSI 27" format is supported. > I think it is worth supporting "CSI u" format control sequences. > What do you think of adding them to teerm/xterm.el? or anyone can do it? I'm not familiar with those "CSI 27" and "CSI u" formats (the name vaguely reminds me of distant memories, but that's about it). Could give us an idea of what kind of changes to term/xterm.el that would entail? Stefan