URL:
  <https://savannah.gnu.org/bugs/?68839>

                 Summary: [troff] could be more helpful when `ft` request
given bogus argument
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Mon 26 Oct 2026 04:06:20 AM UTC
                Category: Formatter
                Severity: 1 - Wish
              Item Group: Warning/Suspicious behaviour
                  Status: Confirmed
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 26 Oct 2026 04:06:20 AM UTC By: G. Branden Robinson <gbranden>

$ printf '.ft \002\n' | ./build/test-groff -z -ww
troff:<standard input>:1: error: ignoring identifier containing invalid
character code 2
$ for v in 1.22.3 1.22.4 1.23.0 1.24.0 1.24.1 1.24.2; do echo "---- groff $v
---"; printf '.ft \002\n' | ~/groff-$v/bin/groff -z -ww; done
---- groff 1.22.3 ---
<standard input>:1: warning: can't find font `'
---- groff 1.22.4 ---
troff: <standard input>:1: warning: can't find font ''
---- groff 1.23.0 ---
troff:<standard input>:1: warning: cannot select font ''
---- groff 1.24.0 ---
troff:<standard input>:1: error: character code 2 is not allowed in an
identifier
---- groff 1.24.1 ---
troff:<standard input>:1: error: character code 2 is not allowed in an
identifier
---- groff 1.24.2 ---
troff:<standard input>:1: error: character code 2 is not allowed in an
identifier









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68839>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to