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@
This commit is contained in:
dcoppa 2013-01-18 11:55:27 +00:00
parent cb9733f369
commit ee4a9dcb70
3 changed files with 28 additions and 5 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.23 2013/01/07 08:08:39 dcoppa Exp $
# $OpenBSD: Makefile,v 1.24 2013/01/18 11:55:27 dcoppa Exp $
COMMENT = clone of rxvt with Unicode and Xft support
DISTNAME = rxvt-unicode-9.16
REVISION = 1
REVISION = 2
CATEGORIES = x11
EXTRACT_SUFX = .tar.bz2
@ -35,8 +35,7 @@ CONFIGURE_ARGS = --enable-256-color \
--enable-pixbuf \
--enable-startup-notification \
--enable-utmp \
--enable-wtmp \
--with-term=rxvt-256color
--enable-wtmp
CONFIGURE_ENV += pt_cv_tty_group=yes
# missing locale support

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.6 2013/01/07 08:08:39 dcoppa Exp $
@comment $OpenBSD: PLIST,v 1.7 2013/01/18 11:55:27 dcoppa Exp $
@mode g+s
@group utmp
@bin bin/urxvt
@ -70,3 +70,4 @@ share/terminfo/
share/terminfo/r/
share/terminfo/r/rxvt-unicode
share/terminfo/r/rxvt-unicode-256color
share/doc/pkg-readmes/${FULLPKGNAME}

View File

@ -0,0 +1,23 @@
$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