openbsd-ports/x11/rxvt-unicode/pkg
dcoppa ee4a9dcb70 Remove the "--with-term" workaround, now that we have the right
terminfo entries for rxvt-unicode in base.

Add a pkg/README with some tips.

tweaks & ok sthen@
2013-01-18 11:55:27 +00:00
..
DESCR
PLIST Remove the "--with-term" workaround, now that we have the right 2013-01-18 11:55:27 +00:00
README Remove the "--with-term" workaround, now that we have the right 2013-01-18 11:55:27 +00:00

$OpenBSD: README,v 1.1 2013/01/18 11:55:27 dcoppa Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} 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 and/or desirable, another workaround is
overriding the default terminal type name via the user's "~/.Xdefaults"
file. e.g.:

URxvt*termName: rxvt-256color