Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7060 - baselayout 1.8.2 /etc/termcap problem
Summary: baselayout 1.8.2 /etc/termcap problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-26 11:23 UTC by Jon Nelson (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Nelson (RETIRED) 2002-08-26 11:23:59 UTC
Since emerging baselayout 1.8.2, using screen (not sure if it happens
otherwise), I get this every time I open a new vt:

"/etc/termcap", line 2331, terminal 'hpansi': exit_am_mode but no enter_am_mode
"/etc/termcap", line 2385, terminal 'iris-ansi': save_cursor but no restore_cursor
"/etc/termcap", line 2403, terminal 'iris-ansi-ap': save_cursor but no
restore_cursor
"/etc/termcap", line 4359, terminal 'vi603': enter_insert_mode but no
exit_insert_mode
"/etc/termcap", line 8138, terminal 'dg+ccc': set_color_pair but no initialize_pair
"/etc/termcap", line 8508, terminal 'd430c-dg-ccc': set_color_pair but no
initialize_pair
"/etc/termcap", line 9587, terminal 'hp+color': set_color_pair but no
initialize_pair
"/etc/termcap", line 9595, terminal 'hp2397a': set_color_pair but no initialize_pair
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-26 12:39:14 UTC
Jon, any chance Debian got a nice working /etc/termcap ?  Please mail me
it if so, thanks.

I would like to leave it out, but app-editors/vi (in console) and rhide
needs it (among things).

Comment 2 Jon Nelson (RETIRED) 2002-08-26 13:20:11 UTC
Don't ask me why, but it's gone now.

Grr!
Comment 3 Jon Nelson (RETIRED) 2002-09-03 09:20:51 UTC
I lied -- it's still there.
I had forgotten I'd made the prior statement, it's been there the whole time.
It takes quite a bit of time sometimes to start up.
I'll look into the Debian termcap.
Comment 4 Jon Nelson (RETIRED) 2002-09-03 09:27:57 UTC
http://packages.debian.org/unstable/oldlibs/termcap-compat.html
has a link where you can download the termcap tarball.
termtypes.tc contains the Debian-modified termcap (I would recommend this one,
the modifications are 'good'), and termtypes.tc~ contains the original.
Although an older termcap, it's much faster, and shorter by about 10%

Please note that I feel that there should be a termcap-compat package as well.
No reason to have a 700KB file in /etc if there isn't need for one.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-03 14:01:13 UTC
So this one works fine for you ?
Comment 6 Jon Nelson (RETIRED) 2002-09-03 14:12:22 UTC
It seems much better, but there is still a delay.
The $60,000 question is why screen cares about termcap anyway.
It's probably being compiled incorrectly -- I'll look into this.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-03 16:08:49 UTC
*ncurses-5.2.20020511-r2 (3 Sep 2002)
*ncurses-5.2-r6 (3 Sep 2002)

Have --disable-termcap added to ./configure.  Updating to one of these versions,
and then remerging screen should fix this.