On Thu, Dec 17, 2009 at 6:16 PM, Sadrul Habib Chowdhury
<address@hidden> wrote:
* Jacob Alexandersson had this to say on [15 Dec 2009, 10:02:18 +0100]:
> Hello all,
>
> I'm using screen from the ubuntu repositories which has the vertical-screen
> patch. I just noticed that when I've got the screen in vertical-split mode,
> the search function (/ and ?) doesn't work properly. The searches find
> nothing even though matches are there [snip]
Does screen tell you that 'Pattern not found' even when there are
matches? Or does it not do anything at all?
It does _not_ tell me "Pattern not found"; it says nothing. When I hit "n", it will find the next match.... but it doesnt work like that when I'm not in "split mode"; then it matches right away after doing / <search> .....
The cursor never moves (even if there is a match) after doing / <search> ... even when there is a match.
> Anyone seen this? Any workaround?
I see that screen does not update the cursor properly for the first match
in vertical mode (although the cursor is moved there, as can be seen by
using the cursor-movement keys). I am investigating why this happens.
For the subsequent searches (pressing 'n'/'N'), the cursor is updated
properly and everything works as it should.
Note that I am using the development version of screen (from
https://savannah.gnu.org/git/?group=screen).
Cheers,
Sadrul