Re: Subject: Disable %-decoding of URLs? (possible bug?)
Steffen Nurpmeso <[email protected]> Sun, 22 Mar 2026 01:27:35 +0100
| Newsgroups | gmane.comp.web.lynx.devel |
|---|---|
| Message-ID | <20260322002735.aFrh_VHH@steffen%sdaoden.eu> |
Hello Thorsten. Thorsten Glaser wrote in <[email protected]>: ... |Steffen Nurpmeso dixit: | |>Yes, Thomas Dickey, OSC-8 "link" support in -dump mode would be |>overly cool! | |I don’t think xterm supports OSC 8, and I’m not sure requiring Well as long as it ignores the sequence it should at least not hurt. |mouse use or making things clickable in terminals meshes well |with GNU screen or tmux, or is wise in general (e.g. I always tmux at least supports OSC-8, too. |get angry if a terminal program “uses the mouse” because that |breaks copy/paste, and I run mc(1) with -d always…). I do not use the mouse with less(1). I said to Mr. Nudelman of less(1) that "it is cool" however, yet i need the mouse for copy and paste (at times), and by then at least it was "either or", actually i have no idea nor would not know how to "unget unconsumed mouse events back to the terminal", in case of selection, you know. So without mouse. Exactly like you, yes. Btw one must differentiate in between "OSC-8 pass through", which is what tmux and the terminals have, where terminals then display a clickable URL or what, and less v566 supported (pass-through to terminal), and "OSC-8 interpret", what less supports since eh v650. (Actually pass-through *plus* interpret via hotkeys.) Btw that Brandon one messed the groff TTY sequence up, yes, that i can repeat very well; thankfully Mr. Nudelman supported 1. If the URI begins with "#", the remainder of the URI is taken to be the value of the id parameter in another OSC 8 link in the same file, and ^O^O will simply jump to that link. for local, "in-document" anchors/links, which i am very thankful for. I actually have forgotten details. So you do not need the mouse, you can use ^O^N and ^O^P to jump forward and backward, and ^O^O to follow (and more such). Mr. Nudelman did not implement the "search for anchor by name" functionality, unfortunately, which is a little bit of a pity, you know, that mdocmx creates the same numbered links like lynx does, and you could enter the number and it went there. (So, *without* mouse, you have to jump around a bit, or search plus ^O stuff, with the mouse you simply go to the link, and follow.) Anyhow. |I do agree that the References part should not be decoded, and |that’ll fix Conrad’s problem already. Actually it seems to me that i can follow things in References that are URL-encoded on HTML level. I then do "lynx 'URL'" and it goes there, and i can copy+paste it into firefox address lines, and it does, too? I can give examples? --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)