[Top][All Lists]

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

Re: [Lynx-dev] Color in an Emacs terminal emulator (eterm)

From: Thomas Dickey
Subject: Re: [Lynx-dev] Color in an Emacs terminal emulator (eterm)
Date: Mon, 10 Oct 2005 15:24:17 -0400
User-agent: Mutt/1.3.27i

On Sat, Oct 08, 2005 at 10:44:15PM +0000, Bryan Henderson wrote:
> Is it possible for Lynx running in a Emacs terminal emulator to use color?

Is this the buffer in the GUI (X) window, or emacs running with the -nw option?

> With a recent update to emacs such that the terminal emulator itself can
> do color, I found that Lynx was unusable because it displays many elements
> as black on black.  Even for the elements it displays visibly, it appears
> to ignore my lss file.  I get white and yellow.
> Other programs in the Emacs terminal emulator use color just fine.
> TERM is 'eterm' and I can display any color using 'tput setaf'.

I don't see a color-capable "eterm" in ncurses.  infocmp shows me

eterm|gnu emacs term.el terminal emulation,
        am, mir, xenl,
        cols#80, lines#24,
        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, rev=\E[7m,
        rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
        sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,

So either you're using a termcap that I haven't seen, or something like
"ls" which doesn't use $TERM, termcap, etc.

> The same Lynx works fine in a Linux console terminal with TERM=linux.
> I can still run 'lynx -nocolor' in the Emacs terminal emulator with normal
> behavior.
> This is Lynx 2.8.5dev.8
> -- 
> Bryan Henderson                                    Phone 408-621-2000
> San Jose, California
> _______________________________________________
> Lynx-dev mailing list
> address@hidden

Thomas E. Dickey

reply via email to

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