Re: how to change mouse select behavior?

2006-03-09 Thread Thomas Dickey

On Thu, 9 Mar 2006, Jeff Chua wrote:


On Wed, 8 Mar 2006, Thomas Dickey wrote:


You're reading it correctly.  I was pointing out that there is a better
solution than doing that.


So for now, how can I bring back that behaviour? What's the syntax for adding 
charClass to .Xdefaults?


*charClass: 33:48,35:48,37-38:48,43-47:48,58:48,61:48,63-64:48,126:48

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: how to change mouse select behavior?

2006-03-09 Thread Jeff Chua

On Thu, 9 Mar 2006, Thomas Dickey wrote:

So for now, how can I bring back that behaviour? What's the syntax for 
adding charClass to .Xdefaults?


*charClass: 33:48,35:48,37-38:48,43-47:48,58:48,61:48,63-64:48,126:48


Thank you so much. Now that I know it's in xterm, I looked up man 
xterm and got the syntax from there. Was wondering how to do just that 
for weeks and didn't have a clue what caused the change.


Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: how to change mouse select behavior?

2006-03-08 Thread Jeff Chua
It's xterm. I'm referring to double-clicking on 1233:03030-30303 and 
it'll select the whole 1233:03030-30303 instead of 1233



Thanks,
Jeff

On Tue, 7 Mar 2006, Thomas Dickey wrote:


On Wed, 8 Mar 2006, Jeff Chua wrote:

I noticed a few weeks ago with the CVS source, double-click on hte left 
mouse can select a whole word, then the feature disappeared.


which application?

I changed a resource value in xterm which affected triple click, but that
was in #208, while #209 is current.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: how to change mouse select behavior?

2006-03-08 Thread Thomas Dickey

On Wed, 8 Mar 2006, Jeff Chua wrote:

It's xterm. I'm referring to double-clicking on 1233:03030-30303 and it'll 
select the whole 1233:03030-30303 instead of 1233


In #208 that was done by changing the charClass resource in the XTerm 
app-defaults file.  I commented out that line (near the end of the file) 
and added in xterm's code (but did not configure in the app-defaults file) 
support for regular expressions.  There is a comparable example using

regular expressions to select URLs at the bottom of the app-defaults file,
also commented-out.

The motivation for the change in #208 was to support clicking on URLs - 
several people did not want that in the default configuration.  Using 
charClass for this was also not satisfactory since it would also select 
strings such as you indicate, and did not take into account the number of 
clicks.


When testing, I assigned the URL pattern to triple-clicking, and for
the moment had forgotten that charClass applies to double-, triple-clicks
equally...




Thanks,
Jeff

On Tue, 7 Mar 2006, Thomas Dickey wrote:


On Wed, 8 Mar 2006, Jeff Chua wrote:

I noticed a few weeks ago with the CVS source, double-click on hte left 
mouse can select a whole word, then the feature disappeared.


which application?

I changed a resource value in xterm which affected triple click, but that
was in #208, while #209 is current.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel



--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: how to change mouse select behavior?

2006-03-08 Thread Tim Roberts
Thomas Dickey wrote:

 On Wed, 8 Mar 2006, Jeff Chua wrote:

 It's xterm. I'm referring to double-clicking on 1233:03030-30303
 and it'll select the whole 1233:03030-30303 instead of 1233


 In #208 that was done by changing the charClass resource in the XTerm
 app-defaults file.  I commented out that line (near the end of the
 file) and added in xterm's code (but did not configure in the
 app-defaults file) support for regular expressions.  There is a
 comparable example using regular expressions to select URLs at the
 bottom of the app-defaults file, also commented-out.


This paragraph suggests to me that the OP can restore this behavior for
himself by adding the appropriate charClass definition into his private
Xresources.  Do I misunderstand?

-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza  Boekelheide, Inc.

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: how to change mouse select behavior?

2006-03-08 Thread Thomas Dickey

On Wed, 8 Mar 2006, Tim Roberts wrote:


Thomas Dickey wrote:


On Wed, 8 Mar 2006, Jeff Chua wrote:


It's xterm. I'm referring to double-clicking on 1233:03030-30303
and it'll select the whole 1233:03030-30303 instead of 1233



In #208 that was done by changing the charClass resource in the XTerm
app-defaults file.  I commented out that line (near the end of the
file) and added in xterm's code (but did not configure in the
app-defaults file) support for regular expressions.  There is a
comparable example using regular expressions to select URLs at the
bottom of the app-defaults file, also commented-out.



This paragraph suggests to me that the OP can restore this behavior for
himself by adding the appropriate charClass definition into his private
Xresources.  Do I misunderstand?


You're reading it correctly.  I was pointing out that there is a better
solution than doing that.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: how to change mouse select behavior?

2006-03-08 Thread Jeff Chua

On Wed, 8 Mar 2006, Thomas Dickey wrote:


You're reading it correctly.  I was pointing out that there is a better
solution than doing that.


So for now, how can I bring back that behaviour? What's the syntax for 
adding charClass to .Xdefaults?


Thanks you.

Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: how to change mouse select behavior?

2006-03-07 Thread Thomas Dickey

On Wed, 8 Mar 2006, Jeff Chua wrote:

I noticed a few weeks ago with the CVS source, double-click on hte left mouse 
can select a whole word, then the feature disappeared.


which application?

I changed a resource value in xterm which affected triple click, but that
was in #208, while #209 is current.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel