Date: Wed, 9 Apr 2008 07:20:02 GMT From: Thomas Hurst <tom@hur.st> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/122489: [NEW PORT] x11/terminator: Multiple GNOME terminals in one window Message-ID: <200804090720.m397K2R9010077@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/122489; it has been noted by GNATS. From: Thomas Hurst <tom@hur.st> To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/122489: [NEW PORT] x11/terminator: Multiple GNOME terminals in one window Date: Wed, 9 Apr 2008 07:56:39 +0100 Update patch-terminator so the URL matching regexps work. I have commit access upstream now, so these patches should all disappear next release (which should also make a lot of the gnome deps optional). --- files/patch-terminator.orig 2008-04-09 07:52:45.000000000 +0100 +++ files/patch-terminator 2008-04-09 07:45:52.000000000 +0100 @@ -1,5 +1,5 @@ --- terminator.orig 2008-02-20 00:05:58.000000000 +0000 -+++ terminator 2008-04-06 14:19:29.000000000 +0100 ++++ terminator 2008-04-09 07:44:43.000000000 +0100 @@ -21,8 +21,12 @@ import os, sys, string, time, math from optparse import OptionParser @@ -15,3 +15,20 @@ # import unix-lib import pwd +@@ -165,12 +169,12 @@ + self._vte.add_events (gtk.gdk.ENTER_NOTIFY_MASK) + self._vte.connect ("enter_notify_event", self.on_vte_notify_enter) + +- self.matches['full_uri'] = self._vte.match_add ('''\<(news:|telnet:|nntp:|file:/|https?:|ftps?:|webcal:)//([-A-Za-z0-9]+(:[-A-Za-z0-9,?;.:/!%$^*&~"#']+)?@)?[-A-Za-z0-9.]+(:[0-9]+)?(/[-A-Za-z0-9_$.+!*(),;:@&=?/~#%]*[^]'.}>) \t\r\n,\"])?\>/?''') +- self.matches['addr_only'] = self._vte.match_add ('''\<(www|ftp)[-A-Za-z0-9]*\.[-A-Za-z0-9.]+(:[0-9]+)?(/[-A-Za-z0-9_$.+!*(),;:@&=?/~#%]*[^]'.}>) \t\r\n,\"])?\>/?''') ++ self.matches['full_uri'] = self._vte.match_add ('''[[:<:]](news:|telnet:|nntp:|file:/|https?:|ftps?:|webcal:)//([-A-Za-z0-9]+(:[-A-Za-z0-9,?;.:/!%$^*&~"#']+)?@)?[-A-Za-z0-9.]+(:[0-9]+)?(/[-A-Za-z0-9_$.+!*(),;:@&=?/~#%]*[^]'.}>) \t\r\n,\"])?[[:>:]]/?''') ++ self.matches['addr_only'] = self._vte.match_add ('''[[:<:]](www|ftp)[-A-Za-z0-9]*\.[-A-Za-z0-9.]+(:[0-9]+)?(/[-A-Za-z0-9_$.+!*(),;:@&=?/~#%]*[^]'.}>) \t\r\n,\"])?[[:>:]]/?''') + +- self.matches['email'] = self._vte.match_add ('''\<(mailto:)?[a-z0-9][a-z0-9.-]*@[a-z0-9][a-z0-9-]*(\.[a-z0-9][a-z0-9-]*)+\>''') ++ self.matches['email'] = self._vte.match_add ('''[[:<:]](mailto:)?[a-z0-9][a-z0-9.-]*@[a-z0-9][a-z0-9-]*(\.[a-z0-9][a-z0-9-]*)+[[:>:]]''') + +- self.matches['nntp'] = self._vte.match_add ('''\<news:[-A-Z\^_a-z{|}~!"#$%&'()*+,./0-9;:=?`]+@[-A-Za-z0-9.]+(:[0-9]+)?\>''') ++ self.matches['nntp'] = self._vte.match_add ('''[[:<:]]news:[-A-Z\^_a-z{|}~!"#$%&'()*+,./0-9;:=?`]+@[-A-Za-z0-9.]+(:[0-9]+)?[[:>:]]''') + + self.spawn_child () + -- Thomas 'Freaky' Hurst http://hur.st/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804090720.m397K2R9010077>