groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -man fails to use ANSI commands


From: Anton Shepelev
Subject: Re: -man fails to use ANSI commands
Date: Mon, 20 Nov 2023 18:38:19 +0300

G. Branden Robinson to Anton Shepelev:

> > `export | grep -i sgr'  finds  nothing, unfortu-
> > nately.  Where else can I look for the reason of
> > -man  treating my virtual terminal as a printer?
> > Once I find it, I will bring it up with the  ad-
> > ministrator  of  that  system,  and then perhaps
> > with the distro maintainers.
>
> If you're still using groff 1.22.4, some distribu-
> tions  used  a  device  control  command  to  tell
> grotty(1) to shut off SGR support.

Indeed. /etc/groff/man.local contains:

             .  if '\V[GROFF_SGR]'' \
             .    output x X tty: sgr 0

so the solution is to define a GROFF_SGR  evironment
variable.   I  wonder  what Debian user or developer
disliked those SGR sequences emitted by groff...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]