FS#6784 - ncurses needs rxvt-unicode terminfo

Attached to Project: Arch Linux
Opened by John Piel (uberGeek) - Sunday, 01 April 2007, 21:48 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 02 April 2007, 13:58 GMT
Task Type Feature Request
Category Packages: Current
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture All
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When accessing a server, running Arch Linux, via ssh from a rxvt-unicode terminal on a workstation, applications that use ncurses fail with "Error opening terminal: rxvt-unicode." Yes, 'export TERM=xterm-color' is a fix, but it seems to me, I've been wrong before :), that the ideal fix is to add rxvt-unicode to ncurses. Thank you.
This task depends upon

Closed by  Aaron Griffin (phrakture)
Monday, 02 April 2007, 16:07 GMT
Reason for closing:  Won't implement
Comment by Aaron Griffin (phrakture) - Monday, 02 April 2007, 14:55 GMT
Adding rxvt-unicode to the ncurses package is a bad idea. The correct solution is to install rxvt-unicode on the server, or, more correctly install the terminfo file to your home dir on the target machine. There is no way to guarantee the terminfo will be there on, say, an Ubuntu machine.

The easiest fix (that I use with random machines I ssh to) is to copy localhost:/usr/share/terminfo/r/rxvt-unicode to remote-machine:~/.terminfo/r/rxvt-unicode

This is, sadly enough, one of the big problems with using rxvt-unicode - it is not widely supported as far as terminfo goes.
Comment by John Piel (uberGeek) - Monday, 02 April 2007, 15:45 GMT
Very good, I'll go with the ~/.terminfo/r/rxvt-unicode on remote machines, it does make more sense. Thank you.

Loading...