Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2002 18:58:12 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Tony Finch <dot@dotat.at>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/gnu/usr.bin/man Makefile.inc src/share/mk bsd.man.mk src/usr.bin/catman catman.c
Message-ID:  <20021012155812.GA36832@sunbay.com>
In-Reply-To: <20021012040759.A23338@chiark.greenend.org.uk>
References:  <200210110916.g9B9GP8f064951@freefall.freebsd.org> <20021012040759.A23338@chiark.greenend.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--rwEMma7ioTxnRzrJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Oct 12, 2002 at 04:07:59AM +0100, Tony Finch wrote:
> On Fri, Oct 11, 2002 at 02:16:24AM -0700, Ruslan Ermilov wrote:
> >  =20
> >   So turn off the color support for now (when generating catpages),
> >   until we figure out what do we do with this new feature.  I have
> >   a patch for grotty(1) that tells it to use the "reverse video"
> >   attribute to render the italic font.  Once this is accepted, we
> >   can turn color support back on (if there won't be any objections
> >   from the community).
>=20
> I much prefer the current lack of use of reverse video by man in xterms.
> If it were introduced it would do grievous harm to readability. I much
> prefer the idea of colour -- in fact here's a gratuitous plug for w3mman
> [|-....o
>=20
I think you have not understand the problem.  Under xterm, the underlined
mode just works, so there is no problem running

nroff -man /usr/src/bin/cat/cat.1 |less -R

But try the same under "cons25", and see how "file ..." is rendered in
the SYNOPSIS.

> Other horrid things that FreeBSD might acquire via groff from Linux
> mandb include formatting text to the width of the terminal rather than
> a legible width < 80 characters.
>=20
Since version 1.18 (from the NEWS file),

o Both the man and mdoc macro packages now use the LL and LT registers for
  setting the line and title length, respectively (similar to those
  registers in the ms macro package).  If not set on the command line or
  in a macro file loaded before the macro package itself, they default to
  78n in nroff mode and 6.5i in troff mode.

I have my virtual consoles set to the 90x25 resolution, so I might run

groff -P-c -Tascii -mtty-char -man -t -rLL=3D88n /usr/src/bin/cat/cat.1

to see it wide-screen.


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--rwEMma7ioTxnRzrJ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9qEaUUkv4P6juNwoRAk0CAJ9ChpB9sEfBrq2ey5bkO3EW5EsSMACfXHQX
QsIG8TWuHYSHxHxS37jrZq8=
=GjCg
-----END PGP SIGNATURE-----

--rwEMma7ioTxnRzrJ--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021012155812.GA36832>