Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 43494

Summary: latest ncurses breaks terminfo file for gnome-terminal
Product: Gentoo Linux Reporter: David Bauman <phaseburn>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Bauman 2004-03-02 10:42:25 UTC
After emerging the latest ncurses (sys-libs/ncurses-5.4), ssh access to my system via gnome-terminal on another gentoo box (running gnome 2.4.x) stopped displaying programs using ncurses properly.

The problem that I've found is in the /etc/terminfo/x/xterm file - if it is not updated via etc-update, this problem does not occur.

Reproducible: Always
Steps to Reproduce:
1. emerge sys-libs/ncurses-5.4
2. etc-update (replace /etc/terminfo/x/xterm with the newer version)
3. ssh in from another system using xterm. (I'm using another gentoo system running gnome and gnome-terminal)
4. open nano on a file with 100 lines or so. It looks fine, till you scroll down a screen or two. Then the text starts to overlay itself upon the other text. Scrolling up makes it worse.
Actual Results:  
upon scrolling in nano, the text overwrites itself in the display, and makes it
impossible to read. Scrolling up adds more garbage on top, and makes nano unusable.

Expected Results:  
Displayed text properly upon scrolling.
Comment 1 Steve Romanow 2004-03-02 11:09:57 UTC
I can confirm this with konsole also.  The symptom I am seeing is upon login, when I try to run top, the terminal returns 'xterm':is not a terminal type.  As a workaround I changed my TERM to 'linux' in my ~/.bashrc
Comment 2 SpanKY gentoo-dev 2004-03-02 11:32:28 UTC

*** This bug has been marked as a duplicate of 43432 ***