Hi Branden,

On 5/2/23 17:10, G. Branden Robinson wrote:
[...]

> Where you're headed with this already sounds tricky, since GNU troff
> (like AT&T device-independent troff) reads information about the device
> for which it is preparing output at the time it starts.  In fact, you
> _cannot_ launch the formatter without a valid device description.
> 
>> For that, one could enable -ww in the main target, and then only
>> enable device-dependent warnings for the other targets.
> 
> There isn't really any such thing as a device-dependent warning, unless
> you count those thrown by the output driver itself, like grops(1) or
> grotty(1).

No, I run the output driver separately.  I'm talking about troff(1)
specifically.  I'm seeing three kinds of warnings when running
troff -man -Tutf8:


troff:man3/unlocked_stdio.3:123: warning [p 2, 1.8i, div '3tbd1,0', 0.3i]: 
cannot break line

an.tmac:man4/cciss.4:164: style: blank line in input

man4/console_codes.4:324: warning: table wider than line length minus 
indentation


I noticed some are prefixed by 'an.tman:', and I understand those are
the CHECKSTYLE ones (or in general produced by the man(7) macro package).
Some others are prefixed by 'troff:' and others don't have a prefix at all.

I inferred that there was a difference between the latter pair of groups
of warnings, but maybe I'm wrong.  Why is there a difference?


Cheers,
Alex

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to