[Top][All Lists]

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

Re: [Lynx-dev] pretty-src coloring breaks

From: Rado S
Subject: Re: [Lynx-dev] pretty-src coloring breaks
Date: Fri, 9 Mar 2007 14:10:25 +0100
User-agent: Mutt/1.5.14cvs (2007-02-25)

=- Thomas Dickey wrote on Thu  8.Mar'07 at 12:53:55 -0500 -=

> > I guess it's easier if I copied the ncurses data file(s) over to
> > the solaris machine. Are there problems when I use new(er) data
> > files with old(er) ncurses or even solaris's native curses?
> Of course there's the entry for "xterm", which is aliased to
> "xterm-new". Specific terminal emulators may not match that, e.g.,
> Sun's xterm won't (which will leave odd splotches on your screen ;-).

I've copied over the compiled (binary) file for x/xterm to
n/nxterm, so I can still use native "xterm" when native and the
correct color-xterm when coming from remote with color, setting

(uh, btw, I just noticed in ncurses 5.5 "xterm" != "xterm-new":
        key_backspace: '\177', '^H'
Why is this different? Why isn't "xterm" ^H, too?)

Solaris' native apps are of course linked with native curses, like
vi. A problem here: somehow solaris vi produces \Eg rather than
pure ^G for error notifications. In "screen" this is mapped to
"flash_screen" so I can't have audio-bell in "screen".
In your "xterm-new" (color) this vi still flashes, too, even though
the code for flash_screen is not the same as in "screen".
In the original "nxterm" flash_screen is NULL, so there vi happily
beeps away.
Is it vi's fault to produce \Eg rather than ^G, or should xterm +
screen not have flash_screen set that way?

In color-xterm with TERM=nxterm using your xterm-new data
file for it, lynx (ncurses 5.2) displays the ACS back-/forward
arrows fine.
When I use the same lynx in the same color-xterm inside screen
(compiled with sun's curses but using ncurses5.5 "xterm-new" data
file and ncurses 5.2 datafile for "screen-w"), then lynx' ACS
arrows appear as ,,, for <<< and +++ for >>>.
Any idea what's wrong (besides the mess of all different curses)?
Or can't that work at all principally?

© Rado S. -- You must provide YOUR effort for your goal!
EVERY effort counts: at least to show your attitude.
You're responsible for ALL of it: you get what you give.

reply via email to

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