On Sat, Nov 15, 2008 at 10:30:08AM +0100, martin f krafft <[EMAIL PROTECTED]>
wrote:
> Arguably, this is mutt (in this case) doing the break.
Yeah, or more specifically ncurses.
> It gets worse when screen or an ncurses interface is running in the
> terminal, as then the width of each line is padded with spaces.
>
> I wonder if it's somehow possibly to identify URLs continued on the
> next line and include them in the matcher? I think a reasonable
> heuristic would be:
You could hack it into, but then you'd have to deal with the failures. I
think staying with the fairly safe "heuristic" of "the app knows what it does
when it line-wraps" is better.
> Given that in most cases, if a URL is too long, there will also be
> a linebreak just before it (or else the URL wouldn't wrap to the
> next line), e.g.
Actually, no - rxvt automatically wraps long lines, and will remember that
fact (i..e it "knows" about lines). This doesn't work too well in ncurses
apps because ncurses breaks the logical lines down into screen lines itself
and often even uses a rathe rdifferent display order than the logical one.
--
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