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

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



On Tue, Sep 09, 2008 at 01:09:40AM +0100, Julien Cristau wrote:
> 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

I see - I'd forgotten that I made the default for the previous option "yes".
So uncommenting the resource "should" work.

> 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.

Actually I'm only using the POSIX interface from pcre - so there should
be little difference.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgpAbjL90dEIV.pgp
Description: PGP signature


Reply to: