[Top][All Lists]

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

Re: Question about makevarescape.sed in groff-1.22.4 tarball

From: G. Branden Robinson
Subject: Re: Question about makevarescape.sed in groff-1.22.4 tarball
Date: Fri, 13 Jan 2023 23:16:26 -0600

Hi Mike,

At 2023-01-14T04:49:08+0000, Mike Fulton wrote:
> The last line of the makevarescape.sed is:
> ```
> s|[^ ]/\+|&\\\\:|g
> ```
> I do not understand why it is making the change it is,

It is adding hyphenless break points to file specifications and URLs.
This is mentioned in the groff_man(7) page.

              When rendered by groff to a TTY or PostScript output de‐

                     .MT fred.foonly@\
                     Fred Foonly
                     for more information.

              displays   as:   “Contact   Fred   Foonly  ⟨fred.foonly@
    ⟩ for more information.”.

              The use  of  ‘\:’  to  insert  hyphenless  discretionary
              breaks is a groff extension and can be omitted.

The overall function of makevarescape.sed is explained around line 825
of the "" file.

> but if I do
> ```
> ./configure 
> --prefix=/Users/<mailto:--prefix=/Users/>
> ```

This looks like it might have been that right?

> On my Mac, or a similar type of line under z/OS, then the man pages
> seem to have strange escape sequences added to them.  For example, on
> my Mac, this results in the line:
> ```
> .I 
> /Users/\:tty\-char.tmac<mailto:/Users/\:tty\-char.tmac>
> ```
> Being generated in the ./src/roff/nroff/nroff.1 file

Maybe it wasn't double-pasted.  If not, then I feel like a ./configure
prefix setting of this complexity was not anticipated by groff, and
possibly not by other software using GNU Autotools, either.

Please confirm:

You can


on these systems?


Attachment: signature.asc
Description: PGP signature

reply via email to

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