On Sat, 23 Jul 2011, Petter Reinholdtsen wrote:
[Thomas Dickey]
There are two places to look:
You can also download the source for ncurses on fedora and look at the
patches used. :)
a) is "reset" on RHEL part of the ncurses package (Red Hat uses some
mixture with termcap)?
Yes, as I said, it is comming from the ncurses-5.5-24.20060715 package.
b) what is the terminal description (output of infocmp on each system)?
This is the output on the RHEL system:
% infocmp
# Reconstructed via infocmp from file: /local/share/terminfo/x/xterm
xterm|xterm terminal emulator (X Window System),
...
This is the output on my Debian/Lenny box:
% infocmp
# Reconstructed via infocmp from file: /home/pere/.terminfo/x/xterm
xterm|vs100|xterm terminal emulator (X11R6 Window System),
This is perhaps the problem: your Lenny box has a copy of the "xterm-r6"
entry stored as "xterm". If you do not really need that, removing the
file will let ncurses' reset find the system's copy of "xterm", which
has more features.
infocmp shows where it got the information (in the comment).
Debian and Redhat may have some other differences - as an alternative,
you could reconstruct this file to match the Red Hat one by using
infocmp on the RHEL machine to get the description (in your email...)
and then using tic on the Lenny machine to replace it.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]