7 Testing on ubuntu-23.10 running groff 1.23.0
12 tells on *Hypertext link macros*
15 Insert a hypertext link to the URI (URL) url, with all text up to the
16 following .UE macro as the link text.
18 .UE [trailer] Terminate the link text of the preceding .UR macro, with the
19 optional trailer (if present, usually a closing parenthesis and/or
20 end‐of‐sentence punctuation) immediately following. For non‐HTML output
21 devices (e.g., man -Tutf8), the link text is followed by the URL in angle
22 brackets; if there is no link text, the URL is printed as its own link
23 text, surrounded by angle brackets. (Angle brackets may not be available
24 on all output devices.) For the HTML output device, the link text is
25 hyperlinked to the URL; if there is no link text, the URL is printed as
31 Use groff -mandoc to format the manual page to stdout. This option is
32 not required in conjunction with -H, -T, or -Z.
34 -T[device], --troff-device[=device]
35 This option is used to change groff (or possibly troff’s) output to be
36 suitable for a device other than the default. It implies -t. Examples
37 (provided with Groff‐1.17) include dvi, latin1, ps, utf8, X75 and X100.
47 .UR http://www.python.org
53 .UR http://www.python.org
59 ``man ./URUE.man`` renders::
61 go to the python home page to read
65 Specifying the device with ``man -Thtml ./URUE.man``
66 html, utf8 and ps also do not contain an url.
71 txt and html work, ps looses the second url if it is the last thing in the file.
73 ``mandoc ./URUE.man`` renders::
77 go to the python home page <http://www.python.org> to read
79 or read <http://www.python.org>
82 ``mandoc -Tps ./URUE.man | ps2txt`` produces::
85 go to the python home page <http://www.python.org> to read
91 ``nroff -man ./URUE.man`` to the console produces::
93 go to the python home page to read
95 or read http://www.python.org
97 ``nroff -man ./URUE.man > URUE.nroff`` gives::
100 go to the
\e]8;;http://www.python.org
\e\python home page
\e]8;;
\e\ to read
102 or read
\e]8;;http://www.python.org
\e\http://www.python.org
\e]8;;
\e\
105 in fact it is OSC8 (Operating System Command 8 ) terminal hyperlinks via
106 escape sequences. Should work like html ``<a href="url">text</a>``, but does not.
107 It is more like the string following the first escape sequence is overwritten
108 by the second ... like making text *bold* on a typewriter.