all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to install a terminfo entry (eterm-color from Emacs)?
@ 2012-01-04 19:51 Kevin Tran
  2012-04-25 21:18 ` Peter Dyballa
  0 siblings, 1 reply; 4+ messages in thread
From: Kevin Tran @ 2012-01-04 19:51 UTC (permalink / raw)
  To: help-gnu-emacs

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=~/.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=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
        el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
        il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, kbs=\177,
        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
        kdch1=\E[3~, kend=\E[4~, khome=\E[1~, knp=\E[6~, kpp=\E[5~,
        nel=^M^J, op=\E[39;49m, rc=\E8, rev=\E[7m, rmir=\E[4l,
        rmso=\E[27m, rmul=\E24m, rs1=\Ec, sc=\E7, setab=\E[4%p1%dm,
        setaf=\E[3%p1%dm, sgr0=\E[m, smir=\E[4h, smso=\E[7m,
        smul=\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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* How to install a terminfo entry (eterm-color from Emacs)?
@ 2012-04-24 20:02 Kevin Tran
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Tran @ 2012-04-24 20:02 UTC (permalink / raw)
  To: help-gnu-emacs

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=~/.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=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
        el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
        il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, kbs=\177,
        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
        kdch1=\E[3~, kend=\E[4~, khome=\E[1~, knp=\E[6~, kpp=\E[5~,
        nel=^M^J, op=\E[39;49m, rc=\E8, rev=\E[7m, rmir=\E[4l,
        rmso=\E[27m, rmul=\E24m, rs1=\Ec, sc=\E7, setab=\E[4%p1%dm,
        setaf=\E[3%p1%dm, sgr0=\E[m, smir=\E[4h, smso=\E[7m,
        smul=\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.7.3 and Emacs 23.4.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to install a terminfo entry (eterm-color from Emacs)?
       [not found] <mailman.595.1335297733.751.help-gnu-emacs@gnu.org>
@ 2012-04-24 21:07 ` Dan Espen
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Espen @ 2012-04-24 21:07 UTC (permalink / raw)
  To: help-gnu-emacs

Kevin Tran <hekevintran@gmail.com> writes:

> 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'.
...
> I am running OS X 10.7.3 and Emacs 23.4.

On my Fedora Linux system, eterm-color comes from
the package "ncurses-base".

-- 
Dan Espen


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to install a terminfo entry (eterm-color from Emacs)?
  2012-01-04 19:51 Kevin Tran
@ 2012-04-25 21:18 ` Peter Dyballa
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2012-04-25 21:18 UTC (permalink / raw)
  To: Kevin Tran; +Cc: help-gnu-emacs


Am 04.01.2012 um 20:51 schrieb Kevin Tran:

> How do I get the eterm-color terminfo entry installed?

Try to put the eterm entry into the file ~/.termcap! Programmes using ncurses should just know about eterm, but programmes using termcap need that extra file.

--
Greetings

  Pete

Genius may have its limitations, but stupidity is not thus handicapped.
				– Elbert Hubbard




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-25 21:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-24 20:02 How to install a terminfo entry (eterm-color from Emacs)? Kevin Tran
     [not found] <mailman.595.1335297733.751.help-gnu-emacs@gnu.org>
2012-04-24 21:07 ` Dan Espen
  -- strict thread matches above, loose matches on Subject: below --
2012-01-04 19:51 Kevin Tran
2012-04-25 21:18 ` Peter Dyballa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.