URL: <https://savannah.gnu.org/bugs/?60666>
Summary: [grotty] add OSC 8 support for hyperlinks Project: GNU troff Submitted by: gbranden Submitted on: Tue 25 May 2021 03:04:47 AM UTC Category: Device - others Severity: 1 - Wish Item Group: New feature Status: None Privacy: Public Assigned to: gbranden Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Details: OSC 8 (Operating System Command 8) is a *nix community-initiated standard for supporting hyperlinks in terminal emulators within the established syntax of ISO 6429/ECMA-48. https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda This isn't strictly a prerequisite for the new .MR (man page cross reference) feature addition to man(7) I've been rattling my saber about for months, but it sure would make it easier to test, since at heart I'm a terminal junkie. That said I'll have to launch of the terminal emulators listed at the URL above, because my old standby xterm doesn't support this feature yet. Here's what I think this would look like. * Add a device control in the 'tty:' space called 'osc8' in parallel with the current 'sgr' to enable or disable the production of OSC 8 terminal escape sequences. * GROFF_NO_SGR would also disable OSC 8 sequences, since its semantics are to use the legacy output format. This precludes the emission of OSC 8 terminal escape sequences. [...time passes...] This report sat in a browser tab so long that Steffen Nurpsemo, whose message[1] to the groff mailing list alerted me to the existence of the OSC 8 initiative in the first place has now posted a patch.[2] So I'll probably base any further design and development on that foundation. [1] https://lists.gnu.org/archive/html/groff/2021-05/msg00062.html [2] https://lists.gnu.org/archive/html/groff/2021-05/msg00073.html _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60666> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/