Shift-Return

2001-10-26 Thread Walter Hofmann
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?

TIA,

Walter



Re: Shift-Return

2001-10-26 Thread Simon Law
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



Re: Shift-Return

2001-10-26 Thread Kurt Lieber
On Friday 26 October 2001 12:02, Walter Hofmann wrote:
 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. 

or you could just hit n



Re: Shift-Return (non-solution)

2001-10-26 Thread dman
On Fri, Oct 26, 2001 at 09:02:32PM +0200, 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

Actually, pressing n will repeat the search in the same direction.
N repeats the search in the opposite direction.

| 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?

No idea, sorry.

-D