bug-ncurses
[Top][All Lists]
Advanced

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

Re: [PATCH 2/9] Protect literals from hyphenation.


From: Branden Robinson
Subject: Re: [PATCH 2/9] Protect literals from hyphenation.
Date: Sat, 23 Sep 2023 17:28:44 -0500

Hi Thomas,

Sorry for the unauthenticated mail; I'm travelling, but wanted to acknowledge the issue. Actually there are 9 occurrences of this problem in v2 of the patch.

Long story short, sequences like this:

(\fB\%

need to be rewritten as

\%(\fB

because of how *roff defines word boundaries, and the semantics of `\%`.

I can prepare a v3 probably tomorrow if you'd like.

Regards,
Branden

On Sat, Sep 23, 2023, 16:07 Thomas Dickey <dickey@his.com> wrote:
On Fri, Sep 22, 2023 at 12:58:16PM -0500, G. Branden Robinson wrote:
> Everything that is boldfaced is literal, so protect it from hyphenation.
> A few very short words that *roff won't hyphenate (like "tic") are left
> as-is.
>
> GNU troff (by default) won't hyphenate "color", but will "colors".
>
...
> * man/curs_trace.3x: Do it.

In this diff, there's one error:

   Command-line Utilities
       The  command-line  utilities  such  as  tic(1) provide a verbose option
       which extends the set of messages written using the curses_trace  func‐
       tion.   Both  of  these  (-v and curses_trace) use the same variable (‐
       _nc_tracing), which determines the messages which are written.

--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

reply via email to

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