Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192083 - sys-libs/ncurses should include rxvt-unicode terminfo with USE="unicode"
Summary: sys-libs/ncurses should include rxvt-unicode terminfo with USE="unicode"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-11 09:04 UTC by Raphael Marichez (Falco) (RETIRED)
Modified: 2009-10-28 12:24 UTC (History)
14 users (show)

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


Attachments
patch for ncurses that generates rxvt-unicode terminfo (ncurses-5.7-rxvt-unicode.patch,3.26 KB, patch)
2009-10-27 19:22 UTC, Alex Alexander (RETIRED)
Details | Diff
ncurses 5.7-r2 -> 5.7-r3 patch (ncurses-5.7-r2-to-r3.patch,1.00 KB, patch)
2009-10-27 19:25 UTC, Alex Alexander (RETIRED)
Details | Diff
rxvt-unicode-9.06-r2 -> 9.06-r3 patch (rxvt-unicode-9.06-r2-to-r3.patch,617 bytes, patch)
2009-10-27 19:29 UTC, Alex Alexander (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Marichez (Falco) (RETIRED) gentoo-dev 2007-09-11 09:04:03 UTC
Hi,

emerge rxvt-unicode
run urxvt
ssh a-gentoo-ssh-server

->  can't find terminal definition for rxvt-unicode

with TERM="xterm-color" it works, but the mappings are a little different.


I guess ncurses, when emerged with USE="unicode", should include unicode term definitions. See for example how debian handles this.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-11 09:10:02 UTC
That will nicely collide with x11-terms/rxvt-unicode. :P
Comment 2 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2007-09-11 14:41:17 UTC
(In reply to comment #1)
> That will nicely collide with x11-terms/rxvt-unicode. :P
> 


/usr/share/terminfo/rxvt-unicode should be provided by ncurses, not by rxvt-unicode. Just as the big majority of the other files under /usr/share/terminfo
Comment 3 SpanKY gentoo-dev 2007-09-11 17:05:48 UTC
rxvt-unicode needs to be updated first i think
Comment 4 Ewan Marshall 2008-01-01 16:14:22 UTC
(In reply to comment #3)
> rxvt-unicode needs to be updated first i think
> 

Leaving urxvt users without a termcap at all. I think really you should just sync the release of the two new ebuilds.
Comment 5 ferret 2008-03-31 23:54:10 UTC
I'm not sure if you can do it this way, but I think it needs something like:

in the new ncurses ebuild: PDEPEND="!<x11-terms/rxvt-unicode-NEWVERSION"
in the new rxvt-unicode ebuild: DEPEND=">=sys-libs/ncurses-NEWVERSION"

I would really like to see this bug fixed. ;p
Comment 6 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2008-04-01 13:44:42 UTC
(In reply to comment #5)
> I'm not sure if you can do it this way, but I think it needs something like:
> 
> in the new ncurses ebuild: PDEPEND="!<x11-terms/rxvt-unicode-NEWVERSION"
> in the new rxvt-unicode ebuild: DEPEND=">=sys-libs/ncurses-NEWVERSION"
> 
> I would really like to see this bug fixed. ;p
> 

This is probably the best way to handle that.


Otherwise, the upgrade will end up with a file collision if you upgrade ncurses just before rxvt-unicode.

Comment 7 Jim Ramsay (lack) (RETIRED) gentoo-dev 2008-11-03 15:38:01 UTC
The future is now.  sys-libs/ncurses-5.7 collides with rxvt-unicode-9.05-r3

Comment 8 René Nussbaumer (RETIRED) gentoo-dev 2008-12-21 20:34:22 UTC
what?! On my system this is not provided. Will revert to old behaviour.
Comment 9 Alex Alexander (RETIRED) gentoo-dev 2009-10-27 19:22:44 UTC
Created attachment 208453 [details, diff]
patch for ncurses that generates rxvt-unicode terminfo

got it from latest rxvt-unicode
Comment 10 Alex Alexander (RETIRED) gentoo-dev 2009-10-27 19:25:34 UTC
Created attachment 208455 [details, diff]
ncurses 5.7-r2 -> 5.7-r3 patch

ncurses-5.7-r3 that uses previous patch and blocks rxvt-unicode ebuilds that would conflict with it
Comment 11 Alex Alexander (RETIRED) gentoo-dev 2009-10-27 19:29:23 UTC
Created attachment 208456 [details, diff]
rxvt-unicode-9.06-r2 -> 9.06-r3 patch

-r3 depends on patched ncurses and doesn't install the terminfo itself
Comment 12 Alex Alexander (RETIRED) gentoo-dev 2009-10-27 19:31:14 UTC
Everyone please review all of the above. If we intend to change things this is probably the way to go.

We'll just have to commit both updates at the same time :)
Comment 13 SpanKY gentoo-dev 2009-10-28 02:11:14 UTC
ncurses patches look fine to me.  feel free to bump & commit when the rxvt-unicode ebuild gets updated.
Comment 14 Alex Alexander (RETIRED) gentoo-dev 2009-10-28 12:24:30 UTC
This is now fixed in tree :)