Hi Alex, At 2024-06-11T16:34:54+0200, Alejandro Colomar wrote: > I see: > > NOTES > For details of the STHYI instruction, see the documentation page. > > In xfce4-terminal(1), that's an underdotted hyperlink. In xterm(1), I > see the same, but it's not underdotted, and seems not clickable. Ahhh, I reckon you have OSC 8 hyperlinks turned on. This defaulted off in stock groff 1.23.0, but some distributors may have turned it on. (Which is fine--that's what man.local is there for.) groff_man(7) (from my working copy): -rU0 Disable generation of URI hyperlinks in output drivers capable of them, making the arguments to MT and UR calls visible as formatted text. grohtml(1), gropdf(1), and grotty(1) enable hyperlinks by default (the last only if not in legacy output mode). So, for you, GNU troff is not complaining about being unable to adjust MC 900 Foot URL for formatting...because it's _not trying to format it_. > Why am I unable to see the explicit URI? That seems the reason why > I can't reproduce the warning. With register `U` set to a true value, GNU troff assumes your output device is capable of making a hyperlink clickable. It can't otherwise know. (Well, it knows that some devices have no such capability.[1]) > I don't like breaking URIs. I'll accept the warning and add it as an > XFAIL. However, I'd like to be able to reproduce it. :| Try running groff with `-rU0` (or `-r U=0`). That should turn it up. Regards, Branden [1] Two things I'd like to see: A. ...an extended ("user") capability enabling terminfo applications to query a terminal (emulator) whether it supports OSC 8 sequences so that it can then do the right thing. See user_caps(5). B. ...xterm(1) support for OSC 8 hyperlinks only as far as marking them and giving you a menu option to copy the link to the clipboard (or the primary selection buffer).[2] Thomas Dickey has been pretty skeptical of OSC 8, and I don't blame him for not wanting to get into the URL management business--it presses people's security buttons. I am hoping my suggestion is a Solomonic one. [2] So you'd probably have to middle-click while hovering over the link text. Even if implemented, I'm sure that this would be yet another feature gated behind an X resource and command-line option. ;-)
Attachment:
signature.asc
Description: PGP signature