bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: With ncurses 5.7, eterm-color (used by Emacs) cannot be found under


From: Vincent Lefevre
Subject: Re: With ncurses 5.7, eterm-color (used by Emacs) cannot be found under Mac OS X
Date: Fri, 28 Nov 2008 09:46:31 +0100
User-agent: Mutt/1.5.18-vl-r25739 (2008-11-24)

On 2008-11-27 21:14:51 -0500, Thomas Dickey wrote:
> But ncurses did not provide the description for _Emacs_ "eterm-color"  
> before.  It's only provided the "eterm".
>
> "Eterm-color" is for the "Eterm" terminal emulator (one of the rxvt  
> variations).

OK, thanks for the information. So, I think that Eterm-color was used
as a side effect of case-insensitivity, and this was a bug.

> Adding the Emacs file has been a low-priority to-do item (since no one's
> even mentioned it for quite a while, and the last I recall of that was
> a suggestion that the feature should be rolled into "eterm").

Emacs installs eterm-color definition in its own directories, but I don't
know why it isn't used on Mac OS X.

> Here's the terminfo source you should probably use for "eterm-color":
>
> #       Reconstructed via infocmp from file: /subsys/emacs-21.4/etc/e/eterm
> eterm-color,
>         am, mir, xenl,
>         colors#8, cols#80, lines#24, 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, kcub1=\EOD,
>         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\E[4~,
>         khome=\E[1~, knp=\E[6~, kpp=\E[5~, rev=\E[7m,
>         rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
>         setab=\E[%p1%{40}%+%dm, setaf=\E[%p1%{30}%+%dm,
>         sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,
>         smul=\E[4m,
>
> (infocmp on Mac is supposed to handle the case-sensitivity by mapping
> names)

Case-sensitivity is handled as of ncurses 5.7 (but not before).

-- 
Vincent Lefèvre <address@hidden> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]