From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: eterm-color not in ncurses/terminfo (and name clash with eterm.org) Date: Tue, 5 May 2009 08:09:20 +0200 Message-ID: <18943.55312.838916.124924@a1ihome1.kph.uni-mainz.de> References: <18942.51042.70991.953283@a1ihome1.kph.uni-mainz.de> <200905041612.n44GCuFM023842@godzilla.ics.uci.edu> <18943.24974.205788.878501@a1ihome1.kph.uni-mainz.de> <200905042341.n44Nfksn028058@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1241503792 10877 80.91.229.12 (5 May 2009 06:09:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 May 2009 06:09:52 +0000 (UTC) Cc: Samuel Bronson , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 05 08:09:42 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M1DqX-00064g-8L for ged-emacs-devel@m.gmane.org; Tue, 05 May 2009 08:09:41 +0200 Original-Received: from localhost ([127.0.0.1]:34778 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1DqW-0002mX-AN for ged-emacs-devel@m.gmane.org; Tue, 05 May 2009 02:09:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1DqL-0002lh-TT for emacs-devel@gnu.org; Tue, 05 May 2009 02:09:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1DqG-0002iE-Hx for emacs-devel@gnu.org; Tue, 05 May 2009 02:09:29 -0400 Original-Received: from [199.232.76.173] (port=46971 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1DqG-0002i5-CD for emacs-devel@gnu.org; Tue, 05 May 2009 02:09:24 -0400 Original-Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:40471) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M1DqF-0002dd-RP for emacs-devel@gnu.org; Tue, 05 May 2009 02:09:24 -0400 Original-Received: from a1ihome1.kph.uni-mainz.de (a1ihome1.kph.uni-mainz.de [134.93.134.75]) by a1iwww1.kph.uni-mainz.de (8.14.0/8.13.4) with ESMTP id n4569LYp012177; Tue, 5 May 2009 08:09:21 +0200 Original-Received: from a1ihome1.kph.uni-mainz.de (localhost [127.0.0.1]) by a1ihome1.kph.uni-mainz.de (8.14.0/8.14.1) with ESMTP id n4569LiN015820; Tue, 5 May 2009 08:09:21 +0200 Original-Received: (from ulm@localhost) by a1ihome1.kph.uni-mainz.de (8.14.0/8.14.0/Submit) id n4569L2K015815; Tue, 5 May 2009 08:09:21 +0200 In-Reply-To: <200905042341.n44Nfksn028058@godzilla.ics.uci.edu> X-Mailer: VM 8.0.2-487 under Emacs 22.2.1 (i686-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:110673 Archived-At: >>>>> On Mon, 4 May 2009, Dan Nicolaescu wrote: >> u6=\E[%i%d;%dR, >> u7=\E[6n, > The man page does not say much what these are supposed to do. There's an explanation about "user capabilities" in terminfo.src: # INTERPRETATION OF USER CAPABILITIES # # The System V Release 4 and XPG4 terminfo format defines ten string # capabilities for use by applications, .... In this file, we use # certain of these capabilities to describe functions which are not covered # by terminfo. The mapping is as follows: # # u9 terminal enquire string (equiv. to ANSI/ECMA-48 DA) # u8 terminal answerback description # u7 cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6) # u6 cursor position report (equiv. to ANSI/ECMA-48 CPR) # # The terminal enquire string should elicit an answerback response # from the terminal. Common values for will be ^E (on older ASCII # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals). # # The cursor position request () string should elicit a cursor position # report. A typical value (for VT100 terminals) is \E[6n. # # The terminal answerback description (u8) must consist of an expected # answerback string. The string may contain the following scanf(3)-like # escapes: # # %c Accept any character # %[...] Accept any number of characters in the given set # # The cursor position report () string must contain two scanf(3)-style # %d format elements. The first of these must correspond to the Y coordinate # and the second to the %d. If the string contains the sequence %i, it is # taken as an instruction to decrement each value after reading it (this is # the inverse sense from the cup string). The typical CPR value is # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals). # # These capabilities are used by tack(1m), the terminfo action checker # (distributed with ncurses 5.0).