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

From: Andrey Chernov <ache_at_FreeBSD.ORG>
Date: Sun, 5 Jun 2011 07:26:00 +0400
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/

Received on Sun Jun 05 2011 - 01:26:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:14 UTC