Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.groff.bug > #1596 > unrolled thread

[bug #57510] not all TTY output controls simultaneously available

Started byDave <INVALID.NOREPLY@gnu.org>
First post2019-12-31 10:32 -0500
Last post2019-12-31 10:32 -0500
Articles 1 — 1 participant

Back to article view | Back to gnu.groff.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [bug #57510] not all TTY output controls simultaneously available Dave <INVALID.NOREPLY@gnu.org> - 2019-12-31 10:32 -0500

#1596 — [bug #57510] not all TTY output controls simultaneously available

FromDave <INVALID.NOREPLY@gnu.org>
Date2019-12-31 10:32 -0500
Subject[bug #57510] not all TTY output controls simultaneously available
Message-ID<mailman.1746.1577806362.1979.bug-groff@gnu.org>
URL:
  <https://savannah.gnu.org/bugs/?57510>

                 Summary: not all TTY output controls simultaneously available
                 Project: GNU troff
            Submitted by: barx
            Submitted on: Tue 31 Dec 2019 09:32:35 AM CST
                Category: Device - others
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

For TTY output, there is no way to fully take advantage of local conditions.

In particular, the two following things cannot both be done:
1) Use information about the user's current locale
2) Use italic rendering, if available

To do (1), a user can invoke the nroff script, which contains logic to detect
the user's environment (examining, for instance, the output of "locale
charmap" and some $LC_* environment variables) and customize output
appropriately.  To do (2), a user can invoke groff with an appropriate -T
value and the -P-i option, which passes -i to the grotty postprocessor.

nroff lacks an equivalent to -P, rendering it unable to pass arbitrary options
to grotty.  grotty flags such as -f, -i and -r give the user control over
aspects of TTY output; these are unavailable to nroff, the tool specifically
designed to generate TTY output.

This is perhaps technically a feature request rather than a bug report, but
TTY output is so fundamental to the purpose of nroff that having TTY options
unavailable to it seems like a basic enough design flaw to count as a bug, so
I've filed it as such.




    _______________________________________________________

Reply to this item at:

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

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

[toc] | [standalone]


Back to top | Article view | gnu.groff.bug


csiph-web