Expected:
The : should be ignored and the HOME key should jump to the start of the file.
Actual:
The help file is opened.
Explanation:
On an xterm, HOME maps to "\eOH". When less sees the sequence ":\e" it treats it as a bad command and discards both characters. Then it processes the "O" and the "H" as separate commands.
Steps to reproduce:
G
.:
.HOME
.Expected: The
:
should be ignored and the HOME key should jump to the start of the file.Actual: The help file is opened.
Explanation: On an xterm, HOME maps to "\eOH". When less sees the sequence ":\e" it treats it as a bad command and discards both characters. Then it processes the "O" and the "H" as separate commands.
Discovered while investigating #523.