groff
[Top][All Lists]
Advanced

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

Terminal problem? man formatting problem?


From: Oliver Corff
Subject: Terminal problem? man formatting problem?
Date: Sun, 23 Apr 2023 12:23:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0

Dear all,

I came across a minor case of misbehaviour when trying to open html
links in man pages.

$ man 7 roff

has a section "SEE ALSO" with a number of links to Internet sites.

The first link under "History of Unix Manpages"
⟨http://manpages.bsd.lv/history.html⟩ is ready for opening in the
browser once the mouse hovers over it but cannot be opened (404 file not
found) because the closing parenthesis ")" erroneously makes its way
into the link. See also the automated highlighting (on my terminal via
underlining). The underlined region includes the closing parenthesis
(but not the opening parenthesis).

However, the next link (http://www.troff.org) is activated correctly.

It seems to be that URLs ending in top-level domains are recognized
correctly whereas URS with a page element (.../history.html in the first
example) are not recognized correctly.

Is this an issue of the terminal (I use lxterminal 0.4.0) of of the
formatting process chain?

The manpage source code is structurally identical in both cases:

.\" on-screen URL highlighting includes closing parenthesis, Ctrl+Left
Click produces wrong URL (closing with ")")
.UR http://\:manpages.bsd.lv/\:history.html

.\" on-screen URL highlighting does not include closing parenthesis,
Ctrl+Left Click produces correct URL
.UR http://\:www.troff.org

Best regards,

Oliver.

PS: This machine runs groff 1.22.4, please forgive me if this is already
fixed in the upcoming 1.23.0 release.


--
Dr. Oliver Corff
Mail: oliver.corff@email.de




reply via email to

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