Re: info browser handles OSC 8 escape sequences poorly

Gavin Smith <[email protected]>
Newsgroups gmane.comp.tex.texinfo.bugs
Message-ID <aWPqa0TxI0VYb-5l@orangestar>
On Sun, Jan 11, 2026 at 09:26:46AM -0800, Per Bothner wrote:
> On 1/11/26 08:15, Gavin Smith wrote:
> > It is probably easy enough to discard them.  We could discard all OSC
> > sequences.

I've made a commit to strip them out (commit 38c44fd7d7915e, today's date).

> Ideal would be to just pass these through to the terminal.
> They are useful for creating clickable links. As an example, try 'ls --hyperlink'.

I don't think I have any terminal program installed which would read these links.

> Most modern terminals support them, and older ones that don't will mostly harmlessly
> ignore them. At least anything vaguely xterm/ecma-compatible. Emacs term mode
> is a notable exception.

That could be useful for other displays of URLs in the Info browser, as well.
However, we'd have to make sure it works ok with the display code.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.