ports/81285: misc/screen -- Add support for 256 colour xterm

Jeremy Chadwick freebsd at jdc.parodius.com
Fri May 20 00:10:03 UTC 2005

>Number:         81285
>Category:       ports
>Synopsis:       misc/screen -- Add support for 256 colour xterm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 20 00:10:02 GMT 2005
>Originator:     Jeremy Chadwick
>Release:        FreeBSD 4.11-STABLE i386
Parodius Networking
System: FreeBSD pentarou.parodius.com 4.11-STABLE FreeBSD 4.11-STABLE #0: Thu May 12 04:37:52 PDT 2005 root at pentarou.parodius.com:/usr/obj/usr/src/sys/PENTAROU i386
	Add 256 colour xterm support to screen.  Simple CFLAGS addition.
	Verified to work on 4.11-STABLE and 5.4-STABLE.

	NOTE: Maintainer or port committer should read PR 76170 as well,
	as it also contains a no-Nethackism Makefile change which will
	conflict with this PR.  It'd be nice to have both of them added
	at the same time though.  :-)
	Apply below patch.

diff -ruN screen.orig/Makefile screen/Makefile
--- screen.orig/Makefile	Wed May 18 14:34:31 2005
+++ screen/Makefile	Thu May 19 17:01:53 2005
@@ -7,7 +7,7 @@
 PORTNAME=	screen
 MASTER_SITES=	ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
@@ -26,6 +26,14 @@
 .if ${ARCH} == "alpha"
+# Enables support for 256 colour xterm.  Note that you may need to
+# set up a custom termcap entry or .screenrc which modifies termcap
+# to contain the following: Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm
+.if defined(WITH_XTERM_256)


More information about the freebsd-ports-bugs mailing list