[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#464588: xterm: enable highlighting of URLs and addresses



On Fri, Feb  8, 2008 at 18:38:27 -0500, Thomas Dickey wrote:

> On Fri, Feb 08, 2008 at 04:10:13PM +0100, Julien Cristau wrote:
> > On Thu, Feb  7, 2008 at 22:58:19 +0100, Tormod Volden wrote:
> > 
> > > The highlighting of text (when clicking on it) groups words but doesn't 
> > > select completely URLs, e-mail addresses etc. There is a ready-made 
> > > configuration for it in XTerm.ad, it just needs to be commented out. I 
> > > think this should be enabled by default.
> > > 
> > IMO this is a matter of personal preference, and it's easy enough to
> > uncomment that line or add it to ~/.Xresources for anyone who wants this
> > behaviour.
> 
> I don't see that the Debina package turns on the regular expression feature:
> 
> +	../configure --enable-logging --enable-wide-chars --enable-luit \
> +		--with-tty-group=tty --enable-256-color \
> +		--prefix=/usr --exec-prefix=/usr --mandir=/usr/share/man \
> +		--with-app-defaults=/etc/X11/app-defaults \
> +		--disable-imake --enable-narrowproto --enable-exec-xterm \
> +		$(confflags) DESKTOP_FLAGS="$(DESKTOP_FLAGS)" CFLAGS="$(CFLAGS)"
> +	touch $@
> 
> That would be done using "--with-pcre"
> 
Hi Thomas (sorry for not getting back to this earlier),

It looks like posix regex.h is used if --with-pcre isn't used, so some
regular expression support is enabled in any case.  Are there any
significant differences between both options?  I'm happy to start
building against pcre if you think that's best.

Cheers,
Julien



Reply to: