Sample Header Ad - 728x90

Why isn't screen on macOS picking up my ~/.terminfo?

7 votes
3 answers
6961 views
I'd like to get [Terminfo](https://en.wikipedia.org/wiki/Terminfo) for my terminal (rxvt-unicode) working, so that when I ssh from Linux to macOS, the Home/End and other keys work properly. Usually, to accomplish this with a Linux remote host, I use a script like the following: ssh "$1" 'mkdir -p ~/.terminfo/r' for f in /usr/share/terminfo/r/rxvt-unicode{,-256color} do scp "$f" "$1":.terminfo/r/ done However, this isn't working with macOS. When I run screen, first I was getting "TERM too long - sorry.". After updating it to the brew version (4.06.02), I'm now getting "Cannot find terminfo entry for 'rxvt-unicode-256color'." TERM is correctly set to rxvt-unicode-256color, and ~/.terminfo/r/rxvt-unicode-256color exists. Running screen with TERMINFO=$HOME/.terminfo/ also has no effect.
Asked by Vladimir Panteleev (1871 rep)
Dec 12, 2017, 03:36 AM
Last activity: Mar 1, 2022, 06:20 PM