Subject: Re: xterm is compiled without --enable-256-color; why?
To: None <tech-pkg@NetBSD.org>
From: Leonard Schmidt <lems@gmx.net>
List: tech-pkg
Date: 03/24/2005 12:27:19
--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 24, 2005 at 11:40:40AM +0100, Hubert Feyrer wrote:
> I'm not sure what you're asking for here - if it's about NetBSD's xterm=
=20
> not being compiled with 256 colors, asking that on tech-x11@ may be the=
=20
> right place, possibly with a patch to enable those 256 colors in xterm.

Thank you for your reply, Hubert. I especially mean x11/xterm since that
is what I use, but I mentioned xterm from the xbase sets because I was
curious if it was compiled with 256 colours or not.

Well, a patch for pkgsrc would look like this:

Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /pub/NetBSD-CVS/pkgsrc/x11/xterm/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile	16 Feb 2005 22:13:47 -0000	1.17
+++ Makefile	24 Mar 2005 10:59:31 -0000
@@ -15,6 +15,8 @@
 USE_X11=3D	yes
 WRKSRC=3D		${WRKDIR}/${PKGNAME_NOREV}
=20
+CONFIGURE_ARGS+=3D	--enable-256-color
+
 .include "../../mk/bsd.prefs.mk"
=20
 .if ${OPSYS} =3D=3D "SunOS"

If this is alright, I would like to see this applied.

Regards,
Leonard

--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFCQrIneffumNo0U88RAo7aAJ4tuDpnrznZKu1e8yIC/AUJoNZK3wCgght9
1N3d94xdLjbf3sG17hL1Csk=
=3/n6
-----END PGP SIGNATURE-----

--17pEHd4RhPHOinZp--