On Thu, Oct 25, 2012 at 04:50:15PM +0300, Alex Efros <[email protected]> 
wrote:
> While issue itself is probably mutt's bug, it's 2 years old and unlikely
> will be fixed. Problem is, mutt output wrapped lines in such a way, what
> terminal handle single wrapped line as multiple lines. This is somehow

terminals really are just a grid of character cells - any notion of lines
spanning multiple rows is just a heuristic. or you could call it a de-factor
protocol.

a de-facto protocol that curses doesn't follow. this problem is common to all
curses apps, as curses optimises for 300 baud lines as opposed to modern
terminals.

the best solution would be to teach curses about modern terminals, as that
would help all curses programs in basically all terminals.

> One of urxvt users in that maillist ask to post this patch in urxvt
> maillist too, so it won't be lost. (I'm the one of "these people" who

Definitely a good idea!

> failed to communicate with Marc ;-) many years ago, so I don't really expect
> this patch/feature to be accepted in official urxvt, but at least here it
> will be ease to find by urxvt users.)

Maybe in the far future there will be a modding community with a
repository - the reason many of these things don't go into core urxvt is
because there is no maintainer for them, and we restrict ourselves mostly
to thingsw e can maintain.

> current line. While this is ok for urls, matcher itself is more general
> and may use patterns which allow spaces inside - such patterns won't be
> recognized in wrapped (by mutt and similar ncurses apps) lines.

Maybe a doable idea would be to allow \n or so inside regexes to indicate
that they should match multiple lines, although this cna quickly become
unmanagable because matching length could suddenly become unrestricted,
and thus too slow.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [email protected]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to