Control: severity -1 wishlist Control: forcemerge -1 330241 On 2010-11-03 02:49:47 -0500, Jonathan Nieder wrote: > Thomas Dickey wrote: > > > strace shows that gnome-terminal is sending cursor-key escape sequences > > to less. This is not documented in gnome-terminal (of course - vte is > > notable for its absence of documentation), and whatever it may refer to > > in vte's changelog is unclear. > > > > so it just happens to work. > > Yep, this is the conclusion I came to, too. That mechanism is not > perfect --- it requires the semi-infamous terminal initialization > sequence in order to work (i.e., no less -X).
With "less -X", the behavior is already correct: this is the usual scrolling. If this is implemented, enable/disable escape sequences must be sent by "less" when need be (cursor-key escape sequences must not be sent when input is expected like in search). > > (e)links(2) is using a different mechanism: it's turned on xterm's > > any-event mouse reporting mode (which gnome-terminal happens to > > implement). > > Right. I hope less learns to do the same. :) Perhaps better. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)