gnome-terminal dingus bug & patch
- From: John B Tunison <jtunison andrew cmu edu>
- To: gnome-devel-list gnome org
- Subject: gnome-terminal dingus bug & patch
- Date: Wed, 25 Oct 2000 14:26:23 -0400 (EDT)
In gnome-core at gnome-terminal/gnome-terminal.c:2174, the match regex for
urls is not quite correct -- it doesn't understand escape sequences. So
urls like:
http://www.runhigh.com/Misc%20Pages/RHEntry.html
don't get highlighted correctly. The fix is to change the line to read:
zvt_term_match_add( ZVT_TERM(term),
"(((news|telnet|nttp|file|http|ftp|https)://)|(www|ftp))[-A-Za-z0-9\\.]+(:[0-9]*)?/[-A-Za-z0-9_\\$\\.\\+\\!\\*\\(\\),;:@&=\\?/~\\#\\%]*[^]'\\.}>\\)
,\\\"]", VTATTR_UNDERLINE, "full url");
(Note the added '\\%'.)
First I sent the patch to jacob helixcode com, and then when he didn't
respond to jirka 5z com It's been a few weeks now -- am I sending the
patch to the wrong people? Should I keep working my way through
MAINTAINERS?
Heh, maybe Evolution is eating everyone's mail. :)
John Tunison
-------------------------------------
nosinut cmu edu || john tunison net
http://john.tunison.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]