xterm questions

Mikko Työläjärvi mbsd at pacbell.net
Sat Jun 14 18:55:06 PDT 2003


On Sun, 15 Jun 2003, Alex de Kruijff wrote:

> I have a configuration question about how to change the default
> selecting proces. I would like it when i select a URL (with a
> double click), that it select the whole URL instead of just one
> word (sperating at [:/@]). It this posible?

Try running:

 xterm -cc 46-47:48,58:48,64:48

or put something like:

 XTerm*charClass: 46-47:48,58:48,64:48

in your Xdefaults.  See xterm(1), especially the section on character
classes.  Since URLs can contain all sorts of junk, you may want to
expand on the above example.

   $.02,
   /Mikko


More information about the freebsd-questions mailing list