bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: G. Branden Robinson
Subject: [bug #57510] not all TTY output controls simultaneously available (nroff needs -P)
Date: Sun, 19 Jan 2020 08:38:40 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 PureBrowser/60.9.0

Follow-up Comment #10, bug #57510 (project groff):

Aha! Thanks, Ingo.  I was thinking only of command-line options.  An
environment variable did not occur to me.

And sure enough, because of the way man-db's man calls nroff, we _need_ to add
support for -P to it for things to work.


$ MANROFFOPT=-P-i man ls


[behold unhelpful blank screen with "less" telling me I'm on document ? of ?]


man: command exited with status 1: (cd /usr/share/man &&
/usr/lib/man-db/zsoelim) | (cd /usr/share/man && /usr/lib/man-db/manconv -f
UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd /usr/share/man && preconv -e UTF-8) |
(cd /usr/share/man && tbl) | (cd /usr/share/man && nroff -mandoc -rLL=143n
-rLT=143n -P-i -Tutf8)


And thank you for read-teaming my clearly undercooked proposal.

I think I will leave -c and -h alone and implement a dry-run/debug flag for
nroff (name TBD), wherein it just prints the groff command it has constructed.
 That will be easier to regression-test and more to the point.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]