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: Wed, 4 Jan 2012 11:51:26 -0800 Message-ID: <52BB7501-1506-4FE7-8E67-119C192518A5@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1325707116 15877 80.91.229.12 (4 Jan 2012 19:58:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 Jan 2012 19:58:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 04 20:58:32 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RiWym-0006Q3-4C for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Jan 2012 20:58:32 +0100 Original-Received: from localhost ([::1]:60123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiWyl-0008RN-J3 for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Jan 2012 14:58:31 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:33258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiWs6-0005lg-FK for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:51:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiWs5-0006jX-CJ for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:51:38 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:50778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiWs5-0006jH-98 for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:51:37 -0500 Original-Received: by iacb35 with SMTP id b35so36471373iac.0 for ; Wed, 04 Jan 2012 11:51:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=hLjhXf7eybZDBuqWeguu0Zadpq768ZYJt6mSj94lmbA=; b=XgfbTN1TbQoqHLomCdKAx6+YKy2IkY2Stfke2FWX7hdUyBDdkJL5AfpjMmBgf4C17+ f0xtJ0fFesG82Pyw6xc3YPLTqWykA1Zl8A0tEkGdVd7U2eTJnY7kp3fln26CoOSv/4OZ /5lqkHMo7xBMz4wOqjsgYhzO6d/BZ5iNmPMfA= Original-Received: by 10.42.174.198 with SMTP id w6mr31302685icz.37.1325706691759; Wed, 04 Jan 2012 11:51:31 -0800 (PST) Original-Received: from [192.168.1.70] (108-85-24-133.lightspeed.sntcca.sbcglobal.net. [108.85.24.133]) by mx.google.com with ESMTPS id l28sm192657873ibc.3.2012.01.04.11.51.27 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Jan 2012 11:51:28 -0800 (PST) X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-Mailman-Approved-At: Wed, 04 Jan 2012 14:58:26 -0500 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:83325 Archived-At: I want to run GNU Screen from within an Emacs term-mode buffer. When I = try to 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 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 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/* = /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 installed? I am running OS X 10.6.8 and Emacs 23.3.1.=