From owner-freebsd-questions@FreeBSD.ORG Wed Oct 26 20:27:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4944F1065743 for ; Wed, 26 Oct 2011 20:27:39 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id 0B59D8FC0A for ; Wed, 26 Oct 2011 20:27:38 +0000 (UTC) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id p9QKRbj5015823 for ; Wed, 26 Oct 2011 16:27:38 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id p9QKRb3O015822 for freebsd-questions@freebsd.org; Wed, 26 Oct 2011 16:27:37 -0400 (EDT) Date: Wed, 26 Oct 2011 16:27:37 -0400 From: Thomas Dickey To: freebsd-questions@freebsd.org Message-ID: <20111026202737.GA15079@saltmine.radix.net> References: <20111026032037.23014255@davenulle.org> <87obx44d5w.fsf@oak.localnet> <20111026081045.GA8798@saltmine.radix.net> <87ehxz4qfm.fsf@oak.localnet> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <87ehxz4qfm.fsf@oak.localnet> User-Agent: Mutt/1.3.27i Subject: Re: nice man pages? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2011 20:27:39 -0000 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 26, 2011 at 10:23:57AM -0700, Carl Johnson wrote: > Thomas Dickey writes: >=20 > > fwiw, without also setting the NC capability (something like NC#35), > > it'll confuse curses/ncurses since that conflicts with the normal > > color controls. >=20 > Thanks, I had missed that description in the terminfo(5) manpage. It > worked fine without it, but that might have been just because I hadn't > been using enough colors. I put it in but there is no change for my > applications. To explain - since you're using colors to replace some of the video attributes, a curses application (less isn't one) will occasionally reset either a color or a "video attribute", supposing them to be distinct. (I don't have a demo in mind, but know that's how the code works...). Using NC, then curses applications will prefer using colors over the video attributes. (Again, less wouldn't be affected, since it's not trying to do more than one thing at a time on the screen). --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFOqG03tIqByHxlDocRAh+sAJ4or1oKTZR8D5SHZzlYeTMwf6au4wCfYI8+ VB7OdzloTPlD/oPk+2QhOLk= =IoXF -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--