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


Groups > gnu.groff.bug > #1596

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

Path csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Dave <INVALID.NOREPLY@gnu.org>
Newsgroups gnu.groff.bug
Subject [bug #57510] not all TTY output controls simultaneously available
Date Tue, 31 Dec 2019 10:32:37 -0500 (EST)
Lines 57
Approved bug-groff@gnu.org
Message-ID <mailman.1746.1577806362.1979.bug-groff@gnu.org> (permalink)
References <20191231-093235.sv93119.85541@savannah.gnu.org>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain;charset=UTF-8
X-Trace usenet.stanford.edu 1577806362 29723 209.51.188.17 (31 Dec 2019 15:32:42 GMT)
X-Complaints-To action@cs.stanford.edu
To Dave <saint.snit@gmail.com>, bug-groff@gnu.org
Envelope-to bug-groff@gnu.org
X-PHP-Originating-Script 1001:sendmail.php
X-Savane-Server savannah.gnu.org:443 [2001:470:142:5::79]
X-Savane-Project groff
X-Savane-Tracker bugs
X-Savane-Item-ID 57510
User-Agent Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0
X-Apparently-From 2605:a601:aac3:e300:55b7:e0e9:96ca:b482 (Savane authenticated user barx)
In-Reply-To
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From 209.51.188.79
X-BeenThere bug-groff@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id "Bug reports for the GNU version of nroff, troff et al" <bug-groff.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-groff>, <mailto:bug-groff-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-groff>
List-Post <mailto:bug-groff@gnu.org>
List-Help <mailto:bug-groff-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-groff>, <mailto:bug-groff-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <20191231-093235.sv93119.85541@savannah.gnu.org>
Xref csiph.com gnu.groff.bug:1596

Show key headers only | View raw


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/

Back to gnu.groff.bug | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web