Re: pasting into X11 applications from Aqua apps
Re: pasting into X11 applications from Aqua apps
- Subject: Re: pasting into X11 applications from Aqua apps
- From: Vincent Lefevre <email@hidden>
- Date: Sat, 11 Aug 2007 04:19:52 +0200
- Mail-followup-to: email@hidden
On 2007-08-10 12:09:42 -0700, Bill Campbell wrote:
> I noticed today that pasting in an xterm using the middle mouse
> button didn't get the text highlighted with the left mouse button,
> but retrieved a URL that I had previously selected in Firefox with
> Cmd-C to paste into an e-mail message (mutt in an xterm).
Here it depends on what is selected last.
> On a slightly related topic, can anyone explain what xterm options
> control the left-button double click selections?
Character classes. For instance, under Debian,
/etc/X11/app-defaults/XTerm contains:
! Here is a pattern that is useful for double-clicking on a URL:
!*charClass: 33:48,35:48,37-38:48,43-47:48,58:48,61:48,63-64:48,95:48,126:48
I personnally use the following:
*VT100.charClass: 43:48,45-58:48,126:48
New xterm versions have new options: on2Clicks, on3Clicks, etc.
But this is not yet in the xterm provided in Mac OS X.
> Double clicking in the xterm in Apple's X11 on a file path name will
> highlight only the piece between slashes, but the same action in an
> xterm on any reasonably recent SuSE Linux xterm highlights the
> entire path. I see the same behaviour in xterms running on CentOS
> 4.5 and CentOS 5. I really prefer it highlighting the entire path.
> Is this something that can be defined in a $HOME/.Xresources or
> $HOME/XTerm file or is it a compile time option?
I prefer the app-defaults way:
XAPPLRESDIR=$HOME/.app-defaults
export XAPPLRESDIR
See the X(7) man page.
--
Vincent Lefèvre <email@hidden> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden