Hi!
This is a followup to my commit to src/share/termtypes.
Remove the "--with-term" workaround.
Add a pkg/README.
Comments? OKs?
Cheers,
David
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/rxvt-unicode/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile 7 Jan 2013 08:08:39 -0000 1.23
+++ Makefile 17 Jan 2013 12:51:47 -0000
@@ -3,7 +3,7 @@
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
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/x11/rxvt-unicode/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- pkg/PLIST 7 Jan 2013 08:08:39 -0000 1.6
+++ pkg/PLIST 17 Jan 2013 12:51:47 -0000
@@ -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}
Index: pkg/README
===================================================================
RCS file: pkg/README
diff -N pkg/README
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ pkg/README 17 Jan 2013 12:51:47 -0000
@@ -0,0 +1,17 @@
+$OpenBSD$
+
++-----------------------------------------------------------------------
+| 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/
+