Re: -man fails to use ANSI commands

2024-06-17 Thread Anton Shepelev
G. Branden Robinson to Anton Shepelev: > > This means that one must /set/ rather than unset > > GROFF_SGR to restore the normal nroff behavior. > > This advice, while still applicable to groff 1.22.4, is > becoming stale. Distributors that introduced the > GROFF_SGR Debianism have now started to

Re: -man fails to use ANSI commands

2024-06-13 Thread G. Branden Robinson
Hi Anton, At 2024-06-13T00:43:01+0300, Anton Shepelev wrote: > > > Check your environment for variables named "GROFF_SGR" > > > (a Debianism) and "GROFF_NO_SGR". Unset them both and > > > try "groff -man -Tutf8" again. > > > > `export | grep -i sgr' finds nothing, unfortunately. > > Where else ca

Re: -man fails to use ANSI commands

2024-06-12 Thread Anton Shepelev
Anton Shepelev wrote to G. Branden Robinson: > > Check your environment for variables named "GROFF_SGR" > > (a Debianism) and "GROFF_NO_SGR". Unset them both and > > try "groff -man -Tutf8" again. > > `export | grep -i sgr' finds nothing, unfortunately. > Where else can I look for the reason of -

Re: -man fails to use ANSI commands

2023-11-21 Thread G. Branden Robinson
Hi Anton, At 2023-11-21T11:36:09+0300, Anton Shepelev wrote: > G. Branden Robinson to Anton Shepelev: > >https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=312935 [...] > > The more I learned, the more I realized just how > > wrong that guy was. > > I have read it and agree with you. `grott

Re: -man fails to use ANSI commands

2023-11-21 Thread Anton Shepelev
G. Branden Robinson to Anton Shepelev: > > I wonder what Debian user or developer dis- > > liked those SGR sequences emitted by groff... > > Well, here's one of them. > >https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=312935 > > ...with my lengthy rebuttal and defense of groff's > behav

Re: -man fails to use ANSI commands

2023-11-20 Thread G. Branden Robinson
Hi Anton, At 2023-11-20T18:38:19+0300, Anton Shepelev wrote: > G. Branden Robinson to Anton Shepelev: > > 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: >

Re: -man fails to use ANSI commands

2023-11-20 Thread Anton Shepelev
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 pe

Re: -man fails to use ANSI commands

2023-11-19 Thread G. Branden Robinson
Hi Anton, At 2023-11-20T00:20:46+0300, Anton Shepelev wrote: > `export | grep -i sgr' finds nothing, unfortunately. 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 administrator of that system, and then per

Re: -man fails to use ANSI commands

2023-11-19 Thread Anton Shepelev
I accidentally replied to Brandon my mail, because of my client (Sylpheed), which insists on replying to this message my mail instead of by NNTP (via Gmane). This does not happen with any other messages I have tried. I am sending this to the mailing list, but the threading may be broken... G. Bran

Re: -man fails to use ANSI commands

2023-11-19 Thread G. Branden Robinson
Hi Anton, At 2023-11-19T14:53:24+0300, Anton Shepelev wrote: > `groff -man -Tutf8' does not seem to handle font > styles on my terminal. I have made sure that plain > `groff' works as expected: > > This is > .ft B > strange >

-man fails to use ANSI commands

2023-11-19 Thread Anton Shepelev
Hello, all `groff -man -Tutf8' does not seem to handle font styles on my terminal. I have made sure that plain `groff' works as expected: This is .ft B strange .ft R indeed.