Re: [vox-tech] modifying mouse selection behavior under X

2002-04-09 Thread Rick O'Shaughnessy


I think Shawn is correct. I'm using Eterm and in the theme.cfg file I can
change the behavior you mention with this line:

# The characters to use as word delimiters for double-click selection
cut_chars "\t\\\`\\\"\'&() *,;<=>?@[]{|}"

Double-clicking on "2.96688494e+05" thus copies the whole string. (Eterm is
cool. It also allows semi-transparent windows, and I can log sessions to a
file with shift-PrtScrn.)

Rick



Peter Jay Salzman wrote:
> 
> is there a way to modify the selection behavior of the mouse under X?
> 
> for instance, in this line:
> 
> Z = 2.96688494e+05
> 
> by double clicking, i can select "96688494e".  by triple clicking i get
> the entire line of the xterm.  it's more useful for me for the selection
> to be based on spaces rather than punctuation.
> 
> is there a way to modify X's mouse behavior so that a double click will
> select the whole number  "2.96688494e+05"?
> 
> also, IP numbers have the same problem:
> 
> nameserver 192.168.0.1
> 
> it would be nice to be able to select a whole IP number rather than just
> a quad (or a period depending on where you click).
> 
> pete
> ___
> vox-tech mailing list
> [EMAIL PROTECTED]
> http://lists.lugod.org/mailman/listinfo/vox-tech
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] modifying mouse selection behavior under X

2002-04-09 Thread Ryan

I think if you mess with xterm's -cc (cut chars) option you can make it not 
break words at a period. Poke around in the man page.

On Tuesday 09 April 2002 12:28 pm, Peter Jay Salzman wrote:
> is there a way to modify the selection behavior of the mouse under X?
>
> for instance, in this line:
>
> Z = 2.96688494e+05
>
> by double clicking, i can select "96688494e".  by triple clicking i get
> the entire line of the xterm.  it's more useful for me for the selection
> to be based on spaces rather than punctuation.
>
> is there a way to modify X's mouse behavior so that a double click will
> select the whole number  "2.96688494e+05"?
>
> also, IP numbers have the same problem:
>
> nameserver 192.168.0.1
>
> it would be nice to be able to select a whole IP number rather than just
> a quad (or a period depending on where you click).
>
> pete
> ___
> vox-tech mailing list
> [EMAIL PROTECTED]
> http://lists.lugod.org/mailman/listinfo/vox-tech
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] modifying mouse selection behavior under X

2002-04-09 Thread Henry House

On Tue, Apr 09, 2002 at 01:51:10PM -0700, nbs wrote:
[...]
> I can't find anything under xterm like this.
> There may be an X resource for it.
> (I don't seem to have a man page for xterm!  Bizarre!  This is Debian!)

You can do this in xterm. The following snippet from the man page may help:

   -cc characterclassrange:value[,...]
   This  sets  classes  indicated by the given ranges for using
   in selecting by words.  See the section specifying character classes.


-- 
Henry House
The attached file is a digital signature. See 
for information.  My OpenPGP key: .



msg02118/pgp0.pgp
Description: PGP signature


Re: [vox-tech] modifying mouse selection behavior under X

2002-04-09 Thread Peter Jay Salzman

begin nbs <[EMAIL PROTECTED]> 
> On Tue, Apr 09, 2002 at 01:59:15PM -0700, Peter Jay Salzman wrote:
> > 
> > egads!  the first thing that makes me want to use a desktop manager.
> > prolly still won't make me take the cpu hog plunge tho.   ;)  i'm going
> > to look into mark's suggestion and if it doesn't pan out i'll experiment
> > with booting up gnome when not playing games.
> 
> You don't need to run Gnome to run Gnome Terminal.
> You already have Gnome libs installed (you use Abiword, no?),
> so it should just be a matter of:
> 
>   apt-get install gnome-terminal
 
beeyootiful.  you helped alot, bill -- thank you!
 
 
> > really?  i have an xterm man page.  i think it might be symlinked to
> > x-terminal-emulator(1).   try manning that.
> 
> That worked.  It's a symlink to Eterm's man page though.  Odd!

it's that diversion thing.  :)

are you saying that `locate xterm | grep man1` doesn't yield
"/usr/X11R6/man/man1/xterm.1x.gz"?  are you sure you have xterm
installed?   ;-)

pete
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] modifying mouse selection behavior under X

2002-04-09 Thread nbs

On Tue, Apr 09, 2002 at 01:59:15PM -0700, Peter Jay Salzman wrote:
> 
> egads!  the first thing that makes me want to use a desktop manager.
> prolly still won't make me take the cpu hog plunge tho.   ;)  i'm going
> to look into mark's suggestion and if it doesn't pan out i'll experiment
> with booting up gnome when not playing games.

You don't need to run Gnome to run Gnome Terminal.
You already have Gnome libs installed (you use Abiword, no?),
so it should just be a matter of:

  apt-get install gnome-terminal



> really?  i have an xterm man page.  i think it might be symlinked to
> x-terminal-emulator(1).   try manning that.

That worked.  It's a symlink to Eterm's man page though.  Odd!


-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] modifying mouse selection behavior under X

2002-04-09 Thread Peter Jay Salzman

begin nbs <[EMAIL PROTECTED]> 
> On Tue, Apr 09, 2002 at 12:28:33PM -0700, Peter Jay Salzman wrote:
> > is there a way to modify the selection behavior of the mouse under X?
> 
> It depends on the terminal.  It'd be nice if it were some shared,
> system-wide preference (it probably is under KDE, knowing them :) )
> 
> I'm not in front of KDE right now, but under Gnome-Terminal, in the
> 'Preferences' window, you can adjust the
> "Select-by-word characters" setting.

egads!  the first thing that makes me want to use a desktop manager.
prolly still won't make me take the cpu hog plunge tho.   ;)  i'm going
to look into mark's suggestion and if it doesn't pan out i'll experiment
with booting up gnome when not playing games.

> (Note, I had to type this by hand, because the fscking Gnome Help Browser
> doesn't let me highlight text to paste.  Argh!)
 
yuck.  that deserves a bug report.

> I can't find anything under xterm like this.
> There may be an X resource for it.
> (I don't seem to have a man page for xterm!  Bizarre!  This is Debian!)
 
really?  i have an xterm man page.  i think it might be symlinked to
x-terminal-emulator(1).   try manning that.
 
> And under rxvt, maybe I'm stupid, but I can't seem to pop any
> preference menus up like I can in xterm and gnome-terminal.

i don't think rxvt has one.

thanks for the info, bill!

pete
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] modifying mouse selection behavior under X

2002-04-09 Thread nbs

On Tue, Apr 09, 2002 at 12:28:33PM -0700, Peter Jay Salzman wrote:
> is there a way to modify the selection behavior of the mouse under X?

It depends on the terminal.  It'd be nice if it were some shared,
system-wide preference (it probably is under KDE, knowing them :) )

I'm not in front of KDE right now, but under Gnome-Terminal, in the
'Preferences' window, you can adjust the
"Select-by-word characters" setting.  From the help:

(Note, I had to type this by hand, because the fscking Gnome Help Browser
doesn't let me highlight text to paste.  Argh!)

  Select-by-word characters

Defines a list of characters (or /character classes/) that should be
considered 'word characters'.  These are used when _selecting_text_ by
word.


With "_selecting_text_" a link to a section of the 'Pointer Usage' help
page within Gnome's Help system.



I can't find anything under xterm like this.
There may be an X resource for it.
(I don't seem to have a man page for xterm!  Bizarre!  This is Debian!)


And under rxvt, maybe I'm stupid, but I can't seem to pop any
preference menus up like I can in xterm and gnome-terminal.





-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] modifying mouse selection behavior under X

2002-04-09 Thread Mark K. Kim

On Tue, 9 Apr 2002, Peter Jay Salzman wrote:

> i'm in the
> position of cut and pasting hundreds of numbers into a spread sheet and
> double clicking would be easier than click, move mouse, release.

Copy the whole thing to vi, regex filter, then import to the spreadsheet?

-Mark

--
Mark K. Kim
http://www.cbreak.org/
PGP key available upon request.

___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] modifying mouse selection behavior under X

2002-04-09 Thread Shawn P. Neugebauer

On Tuesday 09 April 2002 01:07 pm, you wrote:
> ...
>
> btw, what exactly is a KDE compose window?  is that like an xterm?  an
> html editor?

i was just referring to a kmail compose window.

shawn.
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



RE: [vox-tech] modifying mouse selection behavior under X

2002-04-09 Thread ALLO (Alfredo Lopez)

-Partial Original Message-
From: Peter Jay Salzman [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 09, 2002 1:07 PM

>btw, what exactly is a KDE compose window?
>is that like an xterm?  an html editor?

>pete

I may be wrong but I think he meant "Konsole" window.  Just a KDE wat to
call a terminal window.

Alfredo



> On Tuesday 09 April 2002 12:28 pm, you wrote:
> > is there a way to modify the selection behavior of the mouse under 
> > X?
> >
> > for instance, in this line:
> >
> > Z = 2.96688494e+05
> >
> > by double clicking, i can select "96688494e".  by triple clicking i 
> > get the entire line of the xterm.  it's more useful for me for the 
> > selection to be based on spaces rather than punctuation.
> >
> > is there a way to modify X's mouse behavior so that a double click 
> > will select the whole number  "2.96688494e+05"?
> >
> > also, IP numbers have the same problem:
> >
> > nameserver 192.168.0.1
> >
> > it would be nice to be able to select a whole IP number rather than 
> > just a quad (or a period depending on where you click).
> >
> > pete
> > ___
> > vox-tech mailing list
> > [EMAIL PROTECTED] 
> > http://lists.lugod.org/mailman/listinfo/vox-tech
> ___
> vox-tech mailing list
> [EMAIL PROTECTED] 
> http://lists.lugod.org/mailman/listinfo/vox-tech
___
vox-tech mailing list
[EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] modifying mouse selection behavior under X

2002-04-09 Thread Peter Jay Salzman

begin Shawn P. Neugebauer <[EMAIL PROTECTED]> 
> generally, selection behavior is application-specific.

hi shawn,

ahh.  this makes sense.

> for example, given
> "Z = 2.96688494e+05" in a Konsole, a double-click selects "2.96688494e";
> in a KDE compose window, a double-click selects "2.96688494e+05".  
> it's unlikely you would be able to significantly modify this behavior in your
> applications-of-interest without substantial coding work.
> 
> shawn.
 
that's a shame.  so much effort has gone into something like widget
attributes when the fact is, i don't really care what "skin" by browser
has or whether the title bar is burnt-siena or brushed-glowing-steel.
this would've been something of substantial value to me.   i'm in the
position of cut and pasting hundreds of numbers into a spread sheet and
double clicking would be easier than click, move mouse, release.

but i see what you mean -- it's the application that should determine
what a mouse click does, not the X server.

btw, what exactly is a KDE compose window?  is that like an xterm?  an
html editor?

pete

> On Tuesday 09 April 2002 12:28 pm, you wrote:
> > is there a way to modify the selection behavior of the mouse under X?
> >
> > for instance, in this line:
> >
> > Z = 2.96688494e+05
> >
> > by double clicking, i can select "96688494e".  by triple clicking i get
> > the entire line of the xterm.  it's more useful for me for the selection
> > to be based on spaces rather than punctuation.
> >
> > is there a way to modify X's mouse behavior so that a double click will
> > select the whole number  "2.96688494e+05"?
> >
> > also, IP numbers have the same problem:
> >
> > nameserver 192.168.0.1
> >
> > it would be nice to be able to select a whole IP number rather than just
> > a quad (or a period depending on where you click).
> >
> > pete
> > ___
> > vox-tech mailing list
> > [EMAIL PROTECTED]
> > http://lists.lugod.org/mailman/listinfo/vox-tech
> ___
> vox-tech mailing list
> [EMAIL PROTECTED]
> http://lists.lugod.org/mailman/listinfo/vox-tech
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] modifying mouse selection behavior under X

2002-04-09 Thread Shawn P. Neugebauer

generally, selection behavior is application-specific.  for example, given
"Z = 2.96688494e+05" in a Konsole, a double-click selects "2.96688494e";
in a KDE compose window, a double-click selects "2.96688494e+05".  
it's unlikely you would be able to significantly modify this behavior in your
applications-of-interest without substantial coding work.

shawn.

On Tuesday 09 April 2002 12:28 pm, you wrote:
> is there a way to modify the selection behavior of the mouse under X?
>
> for instance, in this line:
>
> Z = 2.96688494e+05
>
> by double clicking, i can select "96688494e".  by triple clicking i get
> the entire line of the xterm.  it's more useful for me for the selection
> to be based on spaces rather than punctuation.
>
> is there a way to modify X's mouse behavior so that a double click will
> select the whole number  "2.96688494e+05"?
>
> also, IP numbers have the same problem:
>
> nameserver 192.168.0.1
>
> it would be nice to be able to select a whole IP number rather than just
> a quad (or a period depending on where you click).
>
> pete
> ___
> vox-tech mailing list
> [EMAIL PROTECTED]
> http://lists.lugod.org/mailman/listinfo/vox-tech
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



[vox-tech] modifying mouse selection behavior under X

2002-04-09 Thread Peter Jay Salzman

is there a way to modify the selection behavior of the mouse under X?

for instance, in this line:

Z = 2.96688494e+05

by double clicking, i can select "96688494e".  by triple clicking i get
the entire line of the xterm.  it's more useful for me for the selection
to be based on spaces rather than punctuation.

is there a way to modify X's mouse behavior so that a double click will
select the whole number  "2.96688494e+05"?

also, IP numbers have the same problem:

nameserver 192.168.0.1

it would be nice to be able to select a whole IP number rather than just
a quad (or a period depending on where you click).

pete
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech