[HEADS UP] color and page width support in man(1)

Andrey Chernov ache at FreeBSD.ORG
Sun Jun 5 03:26:04 UTC 2011


On Sat, Jun 04, 2011 at 07:52:31AM -0400, Thomas Dickey wrote:
> On Sat, Jun 04, 2011 at 05:54:49AM +0400, Andrey Chernov wrote:
> > On Fri, Jun 03, 2011 at 02:48:59PM +0000, Ruslan Ermilov wrote:
> > > On a freshly installed -CURRENT, to view a colorized manpage in color
> > > and in full terminal width, try this:
> > > 
> > > 	env MANCOLOR=yes MANWIDTH=tty man grotty
> > > 
> > 
> > SGR presence can be easily autodetected analyzing termcap capibilities 
> > (for isatty() case).
> 
> true -
> but grotty doesn't pay any attention to the termcap or terminfo database.

Our man is already a complex script, so can pass results of autodetection 
as an option to grotty.

-- 
http://ache.vniz.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110605/e67d0e99/attachment.pgp


More information about the freebsd-current mailing list