openbsd-ports/x11/rxvt-unicode/pkg
..
DESCR
PFRAG.no-small
PLIST
README

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

With ssh it is possible to receive errors like "Terminal unknown"
upon logging in. For example, starting ncurses applications like
tmux(1) fails with the message "open terminal failed: missing or
unsuitable terminal: rxvt-unicode-256color".

A convenient workaround for this problem is transferring the right
terminfo files to the remote host:

$ ssh remotemachine mkdir -p .terminfo/r
$ scp ${TRUEPREFIX}/share/terminfo/r/rxvt-unicode* remotemachine:.terminfo/r/

If this isn't possible or desirable, another workaround is overriding
the default terminal type name via the user's "~/.Xdefaults" file.
e.g.:

URxvt*termName: rxvt-256color