From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Tran Newsgroups: gmane.emacs.help Subject: How to install a terminfo entry (eterm-color from Emacs)? Date: Tue, 24 Apr 2012 13:02:01 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1335297739 3406 80.91.229.3 (24 Apr 2012 20:02:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2012 20:02:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 24 22:02:18 2012 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 1SMlwH-00079c-M8 for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Apr 2012 22:02:17 +0200 Original-Received: from localhost ([::1]:53471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMlwH-0000lr-2U for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Apr 2012 16:02:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMlw8-0000lg-3A for help-gnu-emacs@gnu.org; Tue, 24 Apr 2012 16:02:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMlw5-0006LR-BR for help-gnu-emacs@gnu.org; Tue, 24 Apr 2012 16:02:07 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:41409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMlw5-0006LA-2d for help-gnu-emacs@gnu.org; Tue, 24 Apr 2012 16:02:05 -0400 Original-Received: by pbcup15 with SMTP id up15so535272pbc.0 for ; Tue, 24 Apr 2012 13:02:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=zQXVpcHkvSUkuM+noR8h2XDVsYLkZRoiaBcIbtAwFP4=; b=cVGauNMO1piP4jrnAqDXBEiBt5c78S+8AzLCi+4E0eJHV9sGK3NyMiBizlX+6QEa6t /TlVSXdGjt0W6XQp1euJCfwRXzMzLUU80f7iT+VnmlBOEZ5nIvU4NKmJ3ooMQzazNzY9 tGoX2gfLxEN3xS4hxYROYc79nWW+tquuEo2C0sxVYUnNQmHHFX6LjMOUSOpZmksxZVxh KOsrm9EkcWgiU3fyCtjIJLWBrUhLbVnUypV72Kd+YM+vXQbp3Hdzh55Zt5smW8NEGrxF ONE+FMTHNPtbmZ10Te/cOXuhqqkZT0qYERiMM/2Cc1ymqA5NNgpip6mBk2bYxIoojvOu 6loQ== Original-Received: by 10.68.229.33 with SMTP id sn1mr712020pbc.59.1335297722101; Tue, 24 Apr 2012 13:02:02 -0700 (PDT) Original-Received: from [192.168.1.87] (108-85-24-133.lightspeed.sntcca.sbcglobal.net. [108.85.24.133]) by mx.google.com with ESMTPS id g4sm18244249pbt.58.2012.04.24.13.02.00 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Apr 2012 13:02:01 -0700 (PDT) X-Mailer: Apple Mail (2.1257) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 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:84616 Archived-At: I want to run GNU Screen from within an Emacs term-mode buffer. When I = try to=20 do this I get an error: $ screen Cannot find terminfo entry for 'eterm-color'. This error suggests that I should install the eterm-color terminfo = entry. I=20 attempted to do this in 2 ways which both failed. The first attempt was to use the TERMINFO environment variable. My .bashrc: export TERMINFO=3D~/.terminfo Then I did: $ mkdir -p ~/.terminfo/e/ $ cp /usr/local/Cellar/emacs/23.3a/share/emacs/23.3/etc/e/* = ~/.terminfo/e/ In the term-mode buffer the eterm-color entry is not found. It says that = it=20 gets eterm-color from TERMCAP instead of from the actual file. $ infocmp # Reconstructed via infocmp from file: TERMCAP eterm-color, am, mir, xenl, colors#8, cols#138, it#8, lines#41, pairs#64, bel=3D^G, bold=3D\E[1m, clear=3D\E[H\E[J, cr=3D^M, csr=3D\E[%i%p1%d;%p2%dr, cub=3D\E[%p1%dD, cub1=3D^H, cud=3D\E[%p1%dB, cud1=3D^J, cuf=3D\E[%p1%dC, cuf1=3D\E[C, cup=3D\E[%i%p1%d;%p2%dH, cuu=3D\E[%p1%dA, cuu1=3D\E[A, dch=3D\E[%p1%dP, dch1=3D\E[P, dl=3D\E[%p1%dM, dl1=3D\E[M, = ed=3D\E[J, el=3D\E[K, el1=3D\E[1K, home=3D\E[H, ht=3D^I, ich=3D\E[%p1%d@, il=3D\E[%p1%dL, il1=3D\E[L, ind=3D^J, invis=3D\E[8m, kbs=3D\177, kcub1=3D\EOD, kcud1=3D\EOB, kcuf1=3D\EOC, kcuu1=3D\EOA, kdch1=3D\E[3~, kend=3D\E[4~, khome=3D\E[1~, knp=3D\E[6~, = kpp=3D\E[5~, nel=3D^M^J, op=3D\E[39;49m, rc=3D\E8, rev=3D\E[7m, rmir=3D\E[4l, rmso=3D\E[27m, rmul=3D\E24m, rs1=3D\Ec, sc=3D\E7, = setab=3D\E[4%p1%dm, setaf=3D\E[3%p1%dm, sgr0=3D\E[m, smir=3D\E[4h, smso=3D\E[7m, smul=3D\E[4m, The second attempt was to use symlinks. $ sudo mkdir /usr/share/terminfo/e/ $ sudo cp /usr/local/Cellar/emacs/23.3a/share/emacs/23.3/etc/e/*=20 /usr/share/terminfo/e/ This failed in the same way as the first attempt. Why did neither attempt work? How do I get the eterm-color terminfo = entry=20 installed? I am running OS X 10.7.3 and Emacs 23.4.=