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

From: Andrey Chernov <ache_at_FreeBSD.ORG>
Date: Sat, 4 Jun 2011 05:54:49 +0400
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).

-- 
http://ache.vniz.net/
Received on Fri Jun 03 2011 - 23:54:53 UTC

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