Re: Shift-Return
On Fri, 26 Oct 2001, Walter Hofmann wrote:
> Whenever I press Shift-Return in "less" it displays "ESCOM". This is
> annoying because to search for a string in a file, I need to press
> "/" + "RETURN"
> repeatedly to cycle through the places where the string was found. I
> have a german keyboard and to type "/" I need to press Shift. But if I
> hold down Shift too long "less" will not accept the return key but just
> display "/ESCOM" in the last line.
>
> How can I make less accept Shift-Return?
I think the solution to your problem may be to push "n" which
will give you the next instance of the search. (Look in less --help for
details.)
The reason less is printing ESCOM is because Shift-Return is
actually \eOM which written out, will spell ESC O M. ESCOM.
Simon
Reply to: